vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Whenever any normal user changes their password, the /etc/shadow file changes group ownership to user's primary group. Any ideas why this is happening and how to correct? # uname -a HP-UX xxxx B.11.11 U 9000/800 stcdwhpd unlimited-user license xxxx:/etc # ls -la|grep shadow -r-------- 1 root sys 1657 Jan 5 17:06 oshadow -r-------- 1 root sys 1657 Jan 6 08:28 shadow # groups jdoe uss # grep 200 /etc/group uss::200: # groups root adm bin daemon lp mail other root sys users xxxx:/etc # su - jdoe [1] % passwd Changing password for jdoe Old password: New password: Re-enter new password: Passwd successfully changed [2] % exit xxxx:/etc # ls -la|grep shadow -r-------- 1 root sys 1657 Jan 6 08:28 oshadow -r-------- 1 root uss 1657 Jan 6 08:30 shadow |
| |||
| Just to rule out the possibility that someone has removed and replaced the passwd command, you should verify the checksum of the passwd command: cksum `which passwd` Compare this with the original checksum. That's one possibility. |
| ||||
| Since the file remains read only by owner (root), it is not a big deal. Probably a bug in the program as it is creating a new file and running suid but not sgid. John "thesolarisman" <kpacek@gmail.com> wrote in message news:1136568093.831891.85910@g43g2000cwa.googlegro ups.com... > Whenever any normal user changes their password, the /etc/shadow file > changes group ownership to user's primary group. Any ideas why this is > happening and how to correct? > > # uname -a > HP-UX xxxx B.11.11 U 9000/800 stcdwhpd unlimited-user license > > xxxx:/etc # ls -la|grep shadow > -r-------- 1 root sys 1657 Jan 5 17:06 oshadow > -r-------- 1 root sys 1657 Jan 6 08:28 shadow > > # groups jdoe > uss > > # grep 200 /etc/group > uss::200: > > # groups root > adm bin daemon lp mail other root sys users > > xxxx:/etc # su - jdoe > [1] % passwd > Changing password for jdoe > Old password: > New password: > Re-enter new password: > Passwd successfully changed > [2] % exit > > xxxx:/etc # ls -la|grep shadow > -r-------- 1 root sys 1657 Jan 6 08:28 oshadow > -r-------- 1 root uss 1657 Jan 6 08:30 shadow > |
| Thread Tools | |
| Display Modes | |
|
|