Link to home
Start Free TrialLog in
Avatar of isaj1
isaj1

asked on

Users permissons write to home directory

after using the command: useradd and then passwd.
the created users have no permissions to write to the home directory.
i especially want to change these permissions so that these users can run pine.
i use Suse linux 7.3
Avatar of psimation
psimation
Flag of South Africa image

Do you mean they have no permissions to write to "THE" home directory, or to "THEIR" home directory?

By default, when adding a user, it creates a home folder for the user inside the /home folder. So adding user test will create a folder called /home/test.
The user should have full permissions on that folder, but will not usually have permissions to do anything outside that directory.

If you have no permissions inside the user's home folder, then the umask is set to something different in the /etc/bashrc file. My system has umask=002 meaning that you can set permissions of up to 775.
Avatar of isaj1
isaj1

ASKER

okay thanx i will try that
have you tried out the yast utility ?
either on the command line or in x-windows.
just type yast on the command line.
go to admistrative tools.........
i don't  know about your machine but mine doesn't accept useradd
Avatar of isaj1

ASKER

that is wierd not to accept useradd.
go to yast and after filling in all the required fields, press F4 and then F10.
this ought to work.
Avatar of isaj1

ASKER

some esle about the useradd command. after using it, then you have to set a password for that particular user.
do this using
passwd username
then enter the password tiwce.
finger <username> will tell you if that user has a home directory. If it doesnt
mkdir /home/<username>
chown <username>:<username> /home/<username>
usermod -d /home/<username> <username>
isaj1:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
ASKER CERTIFIED SOLUTION
Avatar of GhostMod
GhostMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial