All of lore.kernel.org
 help / color / mirror / Atom feed
* selinux play machine
@ 2003-03-07  5:58 Joshua Brindle
  2003-03-07  9:25 ` Russell Coker
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Brindle @ 2003-03-07  5:58 UTC (permalink / raw)
  To: SELinux

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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: selinux play machine
  2003-03-07  5:58 selinux play machine Joshua Brindle
@ 2003-03-07  9:25 ` Russell Coker
  0 siblings, 0 replies; 2+ messages in thread
From: Russell Coker @ 2003-03-07  9:25 UTC (permalink / raw)
  To: Joshua Brindle, SELinux

On Fri, 7 Mar 2003 06:58, Joshua Brindle wrote:
> 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

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.

-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-07  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07  5:58 selinux play machine Joshua Brindle
2003-03-07  9:25 ` Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.