Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Limit users to a particular DIR tree.
Name: Steven Chen Date: March 4, 2002 at 12:03:21 Pacific
Comment:
How can I limit users to a particular directory tree? I download wuftp on my Solaris 8 and I am trying to limit a user to login my server via ftp and only allow this user to access one particular directory and it can not change or browse any other directory. Would someone give me some advise?
Name: ripon Date: March 4, 2002 at 22:57:40 Pacific
Reply:
Hi Steven, You can probably use restricted versions of the Korn shell (rksh) and Bourne shell (rsh) to limit the operations allowed for a particular user account. Restricted shells are especially useful for ensuring that time-sharing users, or users’ guests on a system, have restricted permissions during login sessions.
When an account is set up with a restricted shell, users cannot - Change directories, Set the $PATH variable, Specify path or command names beginning with / and Redirect output.
Users will have the full power of standard shell but with a limited menu of commands.
Summary: Hi, How to limit user to access files under certain dir? I want to limit a user who can only access the files under /home/export/. I heard chmod or chroot can do the job. Let's say I want user XYZ can...
Summary: Hi, I believe you can tune the kernel to limit the max processes per user. Modify /etc/system to have the line: set maxuprc = # where # is the number of processes you want to limit users to. Good Luc...