Re: User Restriction

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.
MiQUET Pascal
Occasional Advisor

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.

After reading that go to Google and for specifics.

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