Operating System - HP-UX
1833018 Members
2138 Online
110048 Solutions
New Discussion

newbie question: logins command

 
cokster
Occasional Contributor

newbie question: logins command

I ran a logins -x -o command on a HP-UX 11i box and found that a lot of users have *NP* in the passwd field. I'm just wondering this means that:
1) these users don't need a passwd to login; or
2) no passwds are valid, users cannot logon to this accounts

I think the latter is the case. Then how do I know whether which users do not need a passwd to login? e.g., by looking at :: in the /etc/shadow?? Or HP-UX 11 by default does not allow a user to login without a password?
4 REPLIES 4
Vitek Pepas
Valued Contributor

Re: newbie question: logins command

NP means "no password".
See man logins for details.
Uday_S_Ankolekar
Honored Contributor

Re: newbie question: logins command

NP stands for No password.. It's not good to have setup like that.
Convert system to trusted so you can have more controls on password and user accounts.

-USA..
Good Luck..
Vitek Pepas
Valued Contributor

Re: newbie question: logins command

The former is the case - the users can login without password.
Umapathy S
Honored Contributor

Re: newbie question: logins command

It all depends on the PAM module. You have to configure /etc/pam.conf and /etc/pam_user.conf to do this.
Arise Awake and Stop NOT till the goal is Reached!