Root user not recognizing on Solaris-10 (shadow file corruption)

Can you please show output of :

cat /etc/nsswitch.conf

Regards
Peasant.

Yes, you are almost close :slight_smile: It was file instead of files in /etc/nsswitch.conf
Where did you find that it is issue with nsswitch.conf ?

Here :

open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 4
fcntl(4, F_DUPFD, 0x00000100)                   = 256
close(4)                                        = 0
read(256, 0xFF352400, 1024)                     = 961
.....
.\n\n p a s s w d :     f i l e  \n #
....

I suspected this is the issue, since group is fine, only uid is missing and other symptoms.
First file to check in that case is /etc/nsswitch.conf on any unix/linux.

Is it working fine now or ?

Regards
Peasant.

4 Likes

So, this problem is solved?

Yes, this is fixed. Thank you very much.

Do not forget to undo your "skip-authentication" in /etc/pam.conf

1 Like
Moderator comments were removed during original forum migration.