Operating System - HP-UX
1836444 Members
2481 Online
110100 Solutions
New Discussion

Re: Problems creating accounts on hp ux 11i

 
Chartier Jerome
Frequent Advisor

Problems creating accounts on hp ux 11i

Hi all,

When I try to create a new user (checked for unique UID), I've got the message:
Note (hocdh01n)

The user's files cannot be updated because user "jchartie" does not
exist.
Failed to create the home directory for the user. Other than this,
the user was successfully added or modified.
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
[[ OK ]]
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â

Then, checking
J@Y
8 REPLIES 8
Massimo Bianchi
Honored Contributor

Re: Problems creating accounts on hp ux 11i

Please,
can you re-post the issue ? Looks like it's truncated.

But from the message looks like you are not creating a new user, but changing an old one. Otherwise, why the message " The user's files cannot be updated" ?

HTH,
Massimo
Shaikh Imran
Honored Contributor

Re: Problems creating accounts on hp ux 11i

Hi,

Are you creating user through command line?
If yes pls try doing this via sam just
to check if you get an error.
Revert back if you are already using sam
for the same.

Regards,

I'll sleep when i am dead.
Chartier Jerome
Frequent Advisor

Re: Problems creating accounts on hp ux 11i

Hello,

I've tried both (command as well as sam) ... :o(

Cheers

Jérô
J@Y
john korterman
Honored Contributor

Re: Problems creating accounts on hp ux 11i

Hi,

just wondering, did you try to create the user "jchartier" or "jchartie". If you did try the former, the reason is probably that the id exceeds eight characters.
Just a thought...

regards,
John K.

it would be nice if you always got a second chance
Darren Prior
Honored Contributor

Re: Problems creating accounts on hp ux 11i

Hi,

Is "jchartie" the full user name, or are you actually entering more than those 8 characters?

Can you try adding a new user called jch as a test?

It would also be useful to know which OS you are running, when you last successfully added
a user, and any changes since that time.

regards,

Darren.
Calm down. It's only ones and zeros...
Chartier Jerome
Frequent Advisor

Re: Problems creating accounts on hp ux 11i

Hi Darren,John,

I was able to create the user jch with no problem ...

The user I was trying to create was jchartie (8 chars)

Cheers

Jerome C
J@Y
Darren Prior
Honored Contributor

Re: Problems creating accounts on hp ux 11i

John - great minds eh? ;-)

Jerome - is this a trusted system? If so, run authck -pv, otherwise just try a normal pwck to check the password file.

Does /home/jchartie already exist with different ownership?

Does jchartie appear in the passwd file?

Can you create a different user with an 8 character name?

regards,

Darren.
Calm down. It's only ones and zeros...
Muthukumar_5
Honored Contributor

Re: Problems creating accounts on hp ux 11i

Can you try as,

ll /home/jchartie

userdel jchartie
useradd -md /home/jchartie jchartie

What are you getting out there.

And more where are you trying to make home directory to the user jchartie?

is it in /home/ or ??

If you try to create on NFS mounted you will get lot errors out/

Give your work arounds and directory where you tried?
Easy to suggest when don't know about the problem!