Skip to contentSkip to conversation

selinux play machine

DISCUSSION Joshua Brindle 2 participants 2 messages Mar 7, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

Russell, i don't know if you just messed up or forgot to set the sid on spasswd but...

Someone changed the root password, it's a pity they weren't responsible enough to change it back afterwards. I've changed the SID of the spasswd program to prevent this happening again...

root@cose:/# spasswd
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
root@cose:/# newrole -r user_r
Authenticating root.
Password:  

(with the new password)

anyway, i changed it back
just thought i'd let you know....

Joshua Brindle
UNIX Administrator
Southern Nazarene University

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 8 lines · Joshua Brindle

Russell, i don't know if you just messed up or forgot to set the sid on spasswd but...

Quoted 3 lines

Someone changed the root password, it's a pity they weren't responsible enough to change it back afterwards. I've changed the SID of the spasswd program to prevent this happening again...

Quoted 4 lines
root@cose:/# spasswd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Changing the SID was only a temporary measure, and I didn't get around to installing a proper fix before I upgraded the "selinux" package (which changed the SID back).

I've changed the "users" file so that root now gets domain user_u and therefore is prohibited from changing the password.

Also I've changed the policy such that you can't run "passwd" from the command line (because the passwd program keeps trying to create a lock file indefinately - this is primarily a Debian problem the version of passwd used in Red Hat gives up after a reasonable number of tries). I'll submit the changes as soon as the NAI people have dealt with my last policy changes.

In future please send messages about such issues to me, or at least CC me on them.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.