Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Restriction

SOLVED
Go to solution
Victor Salvador_1
Occasional Contributor

User Restriction

I created a user named "test", I need that this user cannot back any directory from your default "path" in /home/test/. If it is possible in TELNET and FTP.
2 REPLIES
MiQUET Pascal
Occasional Advisor
Solution

Re: User Restriction

according to telnet you may use the rsh (as restricted shell) to avoid some commands. But I do believe that the cd command is not allowed even if there is some "test" diretories in his home.
You should managed this kind of actions with Unix right access, and put the test user into a specific restricted group.

For the ftp, you may use the /etc/ftpaccess to set restriction.
man ftpaccess or man ftpd should gives you more informations.
Hope that h
Hal Rottenberg
Frequent Advisor

Re: User Restriction

What you want to look into is "chroot". If you chroot a process, then the directory you specify appears as the root for that user.

There is a lot written about this subject, but this seemed a good article to start with.

http://www.linuxsecurity.com/feature_stories/feature_story-99.html

After reading that go to Google and Linuxdoc.org for specifics.

-hal
If at first you don't succeed, then skydiving isn't for you.