Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Users permissons write to home directory

Posted on 2003-02-24
9
Medium Priority
?
239 Views
Last Modified: 2012-05-05
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
0
Comment
Question by:isaj1
8 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 8007227
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.
0
 

Author Comment

by:isaj1
ID: 8009016
okay thanx i will try that
0
 
LVL 6

Expert Comment

by:collins23
ID: 8023970
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
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:isaj1
ID: 8024791
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.
0
 

Author Comment

by:isaj1
ID: 8024812
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.
0
 

Expert Comment

by:shepson990
ID: 8311514
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>
0
 

Expert Comment

by:CleanupPing
ID: 9077791
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.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11020102
PAQed - no points refunded (of 50)

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question