Operating System - HP-UX
1833696 Members
3114 Online
110062 Solutions
New Discussion

User in /etc/passwd but not in /tcb/files/auth

 
SOLVED
Go to solution

User in /etc/passwd but not in /tcb/files/auth

Good day,

Somehow, someone here have created a user manually in /etc/passwd with the result that this new user as NOT it's /tcb/files/auth entry.

How would you insert/create it's /tcb/files/auth with nos disruption at all to the normal operation of the server ?

Regards,
3 REPLIES 3
Tim Nelson
Honored Contributor
Solution

Re: User in /etc/passwd but not in /tcb/files/auth

run pwconv to update the changes from /etc/passwd to the trusted structure.

Check out the man page.. This is specifically what the command is for.
Richard Hepworth
Esteemed Contributor

Re: User in /etc/passwd but not in /tcb/files/auth

hi, just run pwconv which will make updates based on any changes in /etc/passwd
Jeff_Traigle
Honored Contributor

Re: User in /etc/passwd but not in /tcb/files/auth

You should be able to use pwconv to create the TCB entry. And then find out who was manually editing the passwd file to add users instead of the useradd command so you can beat them with a stick. :)
--
Jeff Traigle