/etc/shadow group ownership chages with "passwd" command 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 |