  | |  | How to limit new user accessing other files? | How to limit new user accessing other files? 2003-05-14 - By vuhung@(protected)
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/ > >
this is a very interesting topic. A did a search for "sftp chroot" and got a lot of answers but setup up a chrooted scp or/and ssh enrironment seems hard.
Any idea?
Earn $52 per hosting referral at Lunarpages.
|
|
 |