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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring User Profiles

Status
Not open for further replies.

gman789

Technical User
May 12, 2005
8
US
How do I setup a user account so that at login he is given access to one specific directory and can only read the files in that directory. In other words he should not be able to navigate to other directories.
 
In the user's .profile write (or call) a menu script. Don't let the user 'break out' by trapping at least signals 2 & 3. Ensure the .profile has an 'exit' at the end.

I hope that helps to get you started. Please feel free to post further questions.

Mike
 
I've never tried it, but you could set the user up with his shell as rksh.
I believe this restricts the user form using the cd command.

Hope this helps.
Alan
 
Thank you so much. I used the rksh and got it to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top