I'm running OpenBSD 4.4 Stable and have created a little shell script menu
program that I want certain users to have as their only interaction with
the system.  I created users using the script as their shell and also put
it in /etc/shells but when the user logs in they get a standard shell.  I
was testing it through ssh so I thought maybe it had something to do with
the environment but the same thing happens when I log in locally.  If log
in as root and then "su - <username>" the script runs as expected.

Is this the wrong way to do this?  Would it be better putting something in
the .profile?

Can anyone shed any light as to why this is happening?

Thanks,

Aaron Martinez

Reply via email to