[SunHELP] Problems with user/group
Ben Ricker
sunhelp at sunhelp.org
Mon May 29 09:52:35 CDT 2000
I have created a new user and group using useradd and groupadd
respectively. My first problem was that useradd did not create a home
directory. So, I created a directory, as root, in /home for the user and
changed its owner to the user and its permissions to 700. Then I edited
passwd so that the home directory is set. The entry looks like this:
username:x:1004:102::/home/username:/bin/sh
However, when I su into the account and cd into ~, I get permission
denied. /home has r-xr-xr-x permissions and the /home/username has the
permissions rwx------.
Additionally, the group I setup for this username does not work right.
Here is the entry in /etc/group:
groupname::102:
Whenever I try to change any permissions to username:groupname, I get the
following error:
chown: unknown user id username.groupname
Does this make sense? I have managed user/groups for dozens of users on
Linux but Solaris' user management is vexing me.
--------
Ben Ricker
System Adminstrator
Wellinx.com
More information about the SunHELP
mailing list