[SunHELP] Problems with user/group
Martijn de Munnik
sunhelp at sunhelp.org
Tue May 29 10:01:36 CDT 2001
/home is in control of the automounter and is used with NIS, you need to
create the user home dirs in /export/home. useradd has a -m switch witch
will create the homedir
greetz
Martijn
On Mon, 29 May 2000, Ben Ricker wrote:
> 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
>
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list