Re: PUBLIC CHALLENGE: (was RE: devfs again, (was RE: USB device alloc ation) )

Horst von Brand (vonbrand@inf.utfsm.cl)
Fri, 08 Oct 1999 13:57:55 -0400


Riley Williams <rhw@memalpha.cx> said:
> Hi Horst.
> >> The use of a config file to determine permissions/ownership is
> >> not foreign to the kernel or filesystems.

> > Name one use of configuration files for local
> > permissions/ownership on Unix/Linux.

> 1. Start with /etc/passwd which determines ownership of the actual
> user accounts not just on Linux but on every UNIX compatible
> operating system I've seen. Add /etc/group and /etc/shadow (if
> applicable) to that.

That maps names (that you use to log in) to real Unix identity. No
permissions here.

> 2. Have a look at /etc/securetty which determines the ownership of
> terminals that the superuser can log into.

Nope, it lists terminals on which the superuser is allowed to log in. No
permissions given. Taken away, yes. In a way.

> 3. Have a look at /etc/hosts.{allow,deny,equiv} which determine
> which hosts have permission to access your system.

Non-local accesses here.

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/