SUMMARY: Can't change password

From: Clemens Schmuck (
Date: Wed Apr 23 1997 - 23:19:52 CDT

sorry for beeing late with this summary ... here is my original question:
today i tried to change the root passwd on my ultra1/170, solaris 2.5.1
but i was not able to do so. i'm running nis (yp) and my entries in the
nsswitch.conf are passwd: compat passwd_compat nis when i try to change
the systems root passwd (su -> passwd root) nothing happens: 2
root@dwst22:>passwd root
what is wrong??
later on i sent a more detailed description of my problem:
on my ultra 1/170 running solaris 2.5.1, nis (yp) master server i can't
change the root password.
when typing:
passwd root or
passwd -r files root
simply nothing happens, the same it is with all passwords in
/etc/passwd. (i got the nis tables under /var/yp/src).
the configuration in my nsswitch.conf:
passwd: compat
i ran truss on the passwd command and found out that lseek (see below)
exits with a "permission denied error". so of course i checked all(?) the
permissions (at least all that could have effects on the passwd command,
i lookd at the truss output to get the apropriate filenames)
the orginal output of truss:
fork() = 18154
    Received signal #18, SIGCLD, in waitid() [default]
      siginfo: SIGCLD CLD_KILLED pid=18154 status=0x000B
waitid(P_PID, 18154, 0xEFFFE830, WEXITED|WTRAPPED) = 0
lseek(0, 0, SEEK_CUR) = 10502
end of output
the lseek line in the truss output already seems to be wrong caue compared
to another machines output:
fork() = 23992
    Received signal #18, SIGCLD, in waitid() [default]
      siginfo: SIGCLD CLD_EXITED pid=23992 status=0x0000
waitid(P_PID, 23992, 0xEFFFE918, WEXITED|WTRAPPED) = 0
open("/dev/tty", O_RDONLY) = 3
sigaction(SIGINT, 0xEFFFE718, 0xEFFFE818) = 0
end of output


the reason for this strange problem was simply a false entry in the
/etc/passwd and /etc/shadow.
here is i - hope the correct - syntax:
nobody4:x:65534:65534:SunOS 4.x Nobody:/:

 Jim Harmon
 Ken Franco
 Rasana Atreya
 System Administrat ( ? )
 Peter M Allan

 clemens schmuck
 university of salzburg
 hellbrunnerstr. 34
 5020 salzburg, austria

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:51 CDT