Computing.Net > Forums > Solaris > Limit users to a particular DIR tree.

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.

Reply to Message Icon

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?

Thanks,

Steven



Sponsored Link
Ads by Google

Response Number 1
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.

Hope it helps you.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Limit users to a particular DIR tree.

limit user to access files www.computing.net/answers/solaris/limit-user-to-access-files-/3115.html

unable to add user to a group www.computing.net/answers/solaris/unable-to-add-user-to-a-group/3292.html

Limiting user processes www.computing.net/answers/solaris/limiting-user-processes/1038.html