  | |  | How to limit new user accessing other files? | How to limit new user accessing other files? 2003-05-14 - By ___cliff rayman___
Back 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 rayman___cliff@(protected)://www.genwax.com/
Earn $52 per hosting referral at Lunarpages.
|
|
 |