Re: How to limit new user accessing other files?
___cliff rayman___ <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Organization | general wax, inc. |
| Message-ID | <[email protected]> |
In order to give a good answer, we have to know what you do want to let them do. if you don't want them to have a shell at all, then change their shell to: /sbin/nologin if your system does not have that, then set it to: /bin/false here is the command from useradd: useradd -s /sbin/nologin HG wrote: >If I create a user account by using "useradd" and "passwd" under root in >Linux, how could I limit the user to access other files and avoid disasters >if they access our server through SSH ? > > -- ___cliff [email protected]___http://www.genwax.com/