1834609 Members
3301 Online
110069 Solutions
New Discussion

SAM Problem

 
M.sureshkumar
Regular Advisor

SAM Problem

Hi All,

When i tried to create new user in HP Unix 11i server , i am getting the following error.

Error:
User-defined pre-add task customizatio0n command faile(returned non-zero) when addind user"test".see the SAM log file for details.The user was not added.


Pls guide me.

Regards,
Suresh.
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: SAM Problem

Read the message please:

User-defined pre-add task customizatio0n command faile(returned non-zero) when addind user"test".see the SAM log file for details.The user was not added.


Check your pre-add task customization and see the log file.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Asif Sharif
Honored Contributor

Re: SAM Problem

Hi Suresh,

please read the error message, it is asking about "see the SAM log file for details."

see the man pages for"useradd â add a new user login to the system"

http://docs.hp.com/en/B2355-90692/useradd.1M.html

Regards,
Asif Sharif
Regards,
Asif Sharif
Srinivas Thokala_1
Frequent Advisor

Re: SAM Problem

Instead of using sam, try with command line
#groupadd -g gid
#useradd -u uid -g gid -m -s /usr/bin/ksh -c "user details"
#passwd

-Srinivas
Srinivas Thokala
Anshumali
Esteemed Contributor

Re: SAM Problem

you might have some conflicting pre-add customization. try to check you sam log file for anamolies. if you see errors, post it here.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!