All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with /dev/tty on reboot.
@ 2003-11-26 13:48 Daniel J Walsh
  2003-11-26 14:14 ` Stephen Smalley
  2003-11-26 16:33 ` Tom
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel J Walsh @ 2003-11-26 13:48 UTC (permalink / raw)
  To: SELinux

How should we handle the situation where contexts end up in the wrong 
contexts because of crashes or reboots.

Currently if you login to a box as user_t, and then the system crashes 
or you reboot the /dev/tty has the wrong context on it, so if the next 
user that attempts to login has staff_t he will not be able to gain 
access to the device.  I have put a
setfiles file_context /dev/tty in my rc scripts as a stop gap, but that 
is not a clean solution.  Also this can probably happen to other files 
that have their contexts changed by running processes.  Ideas on how to 
solve this problem??

Dan


--
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] 6+ messages in thread

end of thread, other threads:[~2003-11-26 16:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-26 13:48 Problems with /dev/tty on reboot Daniel J Walsh
2003-11-26 14:14 ` Stephen Smalley
2003-11-26 14:50   ` Daniel J Walsh
2003-11-26 15:33     ` Stephen Smalley
2003-11-26 16:26       ` Daniel J Walsh
2003-11-26 16:33 ` Tom

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.