Operating System - HP-UX
1834935 Members
2290 Online
110071 Solutions
New Discussion

Re: Implementing shadow password file

 
SOLVED
Go to solution
Berd
Trusted Contributor

Implementing shadow password file

I have just implemented shadow passwords by running pwconv. This has created a /etc/shadoow file and replaced password entries in /etc/passwd with a 'x'.

I created a new user, and I was able to su - to the user from the root logon. However, if I try to su from another user account, I get the below error

su: Unknown id: test_user

Any ideas why this would be so ?

Berd
2 REPLIES 2
Berd
Trusted Contributor

Re: Implementing shadow password file

I found that my test user name was too long by running pwck.

Created a account with smaller username and all now ok.

Berd
Solution

Re: Implementing shadow password file

Berd,

Do you get the same problem if you create a user ID with 8 or less characters?

i.e. try with username testuser (8 chars) rather than username test_user (9 chars)

HTH

Duncan

I am an HPE Employee
Accept or Kudo