|
User Creationg : ssh/sftp user jail to $HOME only
I need help on adding user , yes add user as normal with command line
useradd -d /export/home/user2 -m -s /bin/bash -c "User2 Owner" user2
the problem is once user2 ssh/sftp to the box, user2 is able to go and read /export/home/user1 , the question is what is the right way to add user which only can read his own $HOME folder only
for your info i am using solaris 10 sparc
any help is appreciated
thanks
|