useradd

Hi,

I need to add a new user who will only be able to access one single folder on my Solaris 9 system. Can this be achieved by using just useradd or do i need to fiddle with auth_attr table?

TIA,

Selma

yes u can .
specify the shell of that user as rksh using useradd , this will limit the use of / and other commands .
just when u create the user specify the home of the user as the folder u want him to access and specify the shell as rksh ...

cheers

Thank you for your answer. I tried this, it now prevents the user to enter all directories including it's home directories :slight_smile: Should the owner of the user's home directory be the user itself or root?

the user may have the permission to create files and perform some other commands within his home directory ....
if u dont want him to do any of that ,then u can make the owner as root .
otherwise i think that rksh is sufficient .

cheers

yes, i think this will work fine. Thanks for your help.