Blank Password (Solaris 10)


 
Thread Tools Search this Thread
Operating Systems Solaris Blank Password (Solaris 10)
# 1  
Old 06-29-2011
Blank Password (Solaris 10)

Hello, I have a doubt about the accounts.

With a "grep" to file "shadow" get the accounts have no password:

Quote:
grep ': NP *:' / etc / shadow
The output is:

Quote:
daemon:NP:6445::::::
bin:NP:6445::::::
sys:NP:6445::::::
adm:NP:6445::::::
lp:NP:6445::::::
uucp:NP:6445::::::
nuucp:NP:6445::::::
smmsp:NP:6445::::::
postgres:NP:::::::
However, if I do a "su <bin, sys, etc>" request password.

What is the true state of accounts?

The file "shadow" are as follows:

Quote:
daemon:NP:6445::::::
bin:NP:6445::::::1
sys:NP:6445::::::
adm:NP:6445::::::1
lp:NP:6445::::::
uucp:NP:6445::::::1
nuucp:NP:6445::::::
smmsp:NP:6445::::::
listen:*LK*:::::::
gdm:*LK*:::::::
webservd:*LK*:::::::
postgres:NP:::::::1

I appreciate any response.

Greetings.

Musul.
# 2  
Old 06-29-2011
Quote:
Originally Posted by musul
However, if I do a "su <bin, sys, etc>" request password.

What is the true state of accounts?
They're not available to be logged into. The only thing that uses them would be system daemons, which switch to it from root with setuid/seteuid type system calls, bypassing the login step entirely.

su's not going to just tell you which accounts are unavailable though!
# 3  
Old 06-29-2011
OK, thank for answer.
I dont have security risk with the state "NP" of the default accounts ?
Is recomended change state of the default accounts from "NP" to LK ?

(if is necesary, I make other thread)

Thanks!!

Musul.
# 4  
Old 06-29-2011
Quote:
Originally Posted by musul
OK, thank for answer.
I dont have security risk with the state "NP" of the default accounts ?
You've seen for yourself. You can't login to them.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 06-30-2011
Quote:
Originally Posted by Corona688
You can't login to them.
To be more precise: You can't login to them using a password.
What you still can is:
  • root can use su to change to that user
  • authorized users can use sudo (if installed) to change to that user
  • if configured, users can login to that user using ssh with a public/private key
  • the user can have cronjobs and run services
NP-users are best suited for running services.

LK-users can't have cronjobs and it is not possible to login to them with a public/private key.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 and blank page with lp

Probably is possible to solving using cups,but I want to try the classical unix printing system. I have setup a fake printer with cups-pdf,clients like Windows server,Linux and Solaris11 works ok. On solaris 10 I get only blank pages,I have used this syntax lpadmin -p Cups_pdf -s... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

2. Shell Programming and Scripting

To check Blank Lines, Blank Records and Junk Characters in a File

Hi All Need Help I have a file with the below format (ABC.TXT) : ®¿¿ABCDHEJJSJJ|XCBJSKK01|M|7348974982790 HDFLJDKJSKJ|KJALKSD02|M|7378439274898 KJHSAJKHHJJ|LJDSAJKK03|F|9898982039999 (cont......) I need to write a script where it will check for : blank lines (between rows,before... (6 Replies)
Discussion started by: chatwithsaurav
6 Replies

3. UNIX for Advanced & Expert Users

Delete blank spaces and blank lines in a file

Hi Gurus, Somebody can say me how to delete blank spaces and blank lines in a file unix, please. Thank you for advanced. (10 Replies)
Discussion started by: systemoper
10 Replies

4. Solaris

Sudo without password Solaris 11.2

Hi guys, I have the strangest issue... might be a huge oversight.. who knows!! :) I am trying to configure a user to use sudo with no password, here is my sudoers configuration file root@isha:~# egrep -v "^$|^#" /etc/sudoers root ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL... (5 Replies)
Discussion started by: akame
5 Replies

5. AIX

Change password to blank password

AIX 6.1 User has a password set. It needs to be a blank password (no password). smit passwd enter user name at change password and confirm password, just press ENTER Afterwards, I could not log on with blank password or with original password. How can I change the password to a... (2 Replies)
Discussion started by: landog
2 Replies

6. Solaris

How to force a same password in Solaris in Solaris 8?

hi all I need to add a user "abcd" and set the password same as the user id. But Solaris 8 is not allowing me to do it, is there any way we can force the password to be same as the user id. Any help would be appreciated. Thanks bash-3.00# cat /etc/release ... (9 Replies)
Discussion started by: imran721
9 Replies

7. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

8. Linux

max password is blank

Hi All, I have this userid: # cat /etc/shadow | grep mysql mysql:$1$O12345678901234/.:123456:0::14::: Max password expiration is blank. What does it mean? If it's like this below mysql:$1$O12345678901234/.:123456:0:99999:14::: then there's no expiration. Thanks in advance for... (1 Reply)
Discussion started by: itik
1 Replies

9. Solaris

Solaris box shows blank screen after power up

Hi All, I have a solaris machine that powers up and displays a blank screen? All the keyboard, monitor and mouse are plugged in. It was booting fine before and when it was disconnected and re-connected (mouse/keyboard/monitor) it just powered on and came up with a blank screen. Please... (5 Replies)
Discussion started by: tlee
5 Replies

10. Solaris

Solaris 9 Password

Hello, I'm new to solaris but am a certified systems administrator. I was recently brought the task of repairing a sunblade150 and was completely willing to take on this task without knowing the history behind this system. Apparently some slick S.O.B. from ebay bought this system, took the... (13 Replies)
Discussion started by: matt81
13 Replies
Login or Register to Ask a Question