Click to See Complete Forum and Search --> : using bash -r


wendo
11-15-2001, 04:20 PM
when i change bash for a user to bash -r its works fine the problem is all the user has to do is type bash and he has a normal shell again.
i want to stop users going above thier home directory is this possible?

Kind Regards
:confused:

scott_R
11-15-2001, 08:35 PM
I didn't find any problem with typing 'bash', like you said, but typing 'exit' has the same effect of exiting the restrictions. Perhaps (I haven't tried it), you can execute it as a startup/login for a specific user, then when an 'exit' is issued to escape it, they are returned to the login.

I'm using 2.05.1 for this, w/mandrake 8.0, updated as of yesterday.