1823921 Members
3121 Online
109667 Solutions
New Discussion юеВ

Sam "Add users"

 
SOLVED
Go to solution
Neil Trangmar
New Member

Sam "Add users"

HP/UX 10.10, am getting a problem when attempting to add a user to the system via sam:

Failed to add the user "fred". An invalid argument was supplied to an option in the command "/usr/sam/lbin/useradd.sam"

Directly running useradd seems to work OK, although it subsequently requires adjusting the password file entry to tidy things up.

/home permissions are 755 root:root
/etc/.pwd.lock exists

The new user has /usr/bin/csh as its shell, has a unique user id, and shows nothing else out of the ordinary.
3 REPLIES 3
Steve Steel
Honored Contributor
Solution

Re: Sam "Add users"

Hi


Are you using a shared home directory.

I saw something similar once and the user was giving a group while the home dir was owned by a different group.



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Neil Trangmar
New Member

Re: Sam "Add users"

Yes, the users log into a communal directory where they use a shared .login setup.
Neil Trangmar
New Member

Re: Sam "Add users"

Just tried your suggestion out (fixing the group permission on the home directory) and it now creates users correctly.

Thanks for your help. :-)