Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Users that log should not "cd .."

Status
Not open for further replies.

ezradibiase

Technical User
Oct 16, 2002
19
0
0
IT
Hi all!

Is it possible to deny users from moving from their home directory or editing files that are not in their home?
I tried with chmod:

chmod o-x /etc

But then the users cannot login.
In my box (dgux 4.0f) there aren't ACL.

Thanks.
Ezra
 
Hi Ezra
You can Edit /etc/passwd file and then in that particular user name you can add then line /bin/Rsh
In this way that user will not be able to execute CD command
Regards
Vikash
 
Thanks a lot. So this is a Restricted shell!
I ignore to many things of unix.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top