18.02.2014 Views

string

string

string

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

See Also<br />

For more information, see the chapter on checking filesystem integrity in the System<br />

Administration Guide, Volume I.<br />

passwd: Changing password for <strong>string</strong><br />

Cause<br />

If you put the following lines into /etc/nsswitch.conf<br />

passwd: compat<br />

passwd_compat: nis<br />

Then when you run passwd, it fails as follows:<br />

server1% passwd<br />

passwd: Changing password for khh<br />

server1%<br />

NOTE: passwd exits before you get the opportunity to enter a password.<br />

Action<br />

If you read the man page for passwd very carefully, you will see the following:<br />

If all requirements are met, by default, the passwd command will consult<br />

/etc/nsswitch.conf to determine in which repositories to perform password<br />

update. It searches the passwd(4) and passwd_compat entries. The sources<br />

(repositories) associated with these entries will be updated. However, the password<br />

update configurations supported are limited to the following 5 cases. Failure to<br />

comply with the configurations will prevent users from logging onto the system.<br />

o passwd: files<br />

o passwd: files nis<br />

o passwd: files nisplus<br />

o passwd: compat (==> files nis)<br />

o passwd: compat (==> files nisplus)<br />

passwd_compat: nisplus<br />

154 Solaris Common Messages and Troubleshooting Guide ♦ October, 1998

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!