devfs
[Top] [All Lists]

Re: devfsd and pam_console

To: Roberto Jung Drebes <drebes@xxxxxxxxxxxx>
Subject: Re: devfsd and pam_console
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Mon, 3 Sep 2001 22:31:44 -0600
Cc: devfs@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.21.0109040057510.13124-100000@jacui>
References: <Pine.GSO.4.21.0109040057510.13124-100000@jacui>
Sender: owner-devfs@xxxxxxxxxxx
Roberto Jung Drebes writes:
> Any plans to include support for pam_console (and
> /var/lock/console*, /etc/security/console*) in devfs, so that when a
> module was loaded (and consequently would register the devices at
> the device fs, it would chown it to the owner of the console as RH
> already does to the static devices?

Let me get this straight: you want to set the ownership of some new
device nodes created by a module, and that ownership is determined by
who owns the console?

You don't need to hack devfs to do this. All you need to do is
configure devfsd appropriately.

> I understand this is not a perfect solution, but I believe it is a
> simple one. It would be even better if devfs supported ACLs and when
> the modules registered the devices, a ACL would be added allowing
> device access to the console owner to the device.

This didn't parse well. You mean you want an ACL on the device which
gives the console owner device rights?

> Any plans of implementing POSIX ACLs in devfs? How would it be done?
> the ACL commands would be passed to devfsd that then would take
> proper action?

Not at this stage. I'm waiting to see if we can get a ACL
implementation accepted into the kernel. I don't want something
devfs-specific.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>