Research Menu

.
Skip Search Box

SELinux Mailing List

Re: tty files, console login on debian

From: Russell Coker <russell_at_coker.com.au>
Date: Tue, 4 Jan 2005 19:37:18 +1100


On Wednesday 10 November 2004 05:19, Erich Schubert <erich@debian.org> wrote:
> I just updated my system to your lates debian policy package.
> Afterwards I could no longer login on the console, ssh worked.
> I believe i found the problem in types/file.te:
> I solved it by adding the following:

I've just uploaded a new Debian policy package that fixes this among other things.

> Since the type of the staff/user ttys is "ttyfile", but no longer
> "device_type". Maybe you'll prefer a different fix, though.
> It is also possible that the mountpoint or so needs to be relabeled?
> (redhat appears to have tmpfs_t there, not fs_t)

In Fedora now the terminal device nodes are only on tmpfs_t for a udev managed tmpfs on /dev. In Debian the normal use is to have ext2/3 file systems for root which includes /dev.

-- 
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.
Received on Tue 4 Jan 2005 - 03:37:36 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service