"error: Could not get shadow information for NOUSER"

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
Current revision (14:55, 22 August 2008) (edit) (undo)
 
Line 1: Line 1:
When a user entered his correct password on a Solaris 8 2/04 SPARC system running OpenSSH 4.7, he was unable to login. syslog logged the following error:
When a user entered his correct password on a Solaris 8 2/04 SPARC system running OpenSSH 4.7, he was unable to login. syslog logged the following error:
-
Aug 22 09:45:37 hostname sshd[2319]: [ID 800047 auth.error] error: Could not get shadow information for NOUSER
+
Aug 22 09:45:37 hostname sshd[2319]: [ID 800047 auth.error] error: '''Could not get shadow information for NOUSER'''
Running '''pwck''' showed the problem.
Running '''pwck''' showed the problem.

Current revision

When a user entered his correct password on a Solaris 8 2/04 SPARC system running OpenSSH 4.7, he was unable to login. syslog logged the following error:

Aug 22 09:45:37 hostname sshd[2319]: [ID 800047 auth.error] error: Could not get shadow information for NOUSER

Running pwck showed the problem.

$ pwck
user:x:2203:14:User Name:/home/user:/bin/tcsh+
       Login directory not found
       Optional shell file not found

In this case, the user's default shell (/bin/tcsh+) did not exist on the system. Changing the default shell to a valid shell (or installing the missing shell) fixed the problem.

The "Login directory not found" is not a critical error; users are able to login without a valid home directory (they will be placed in /).

Personal tools