Re: Suggested dual human/binary interface for proc/devfs

From: Ruud de Rooij (ruud@ruud.org)
Date: Fri Apr 14 2000 - 02:44:43 EST


H. Peter Anvin wrote:

> On a similar note, I notice that recent versions of RedHat (via GNOME?)
> seems to magically change owners on a whole bunch of devices. It seems
> to me that it would be a *much* cleaner solution would be to have a
> special group for the console owner, and when logging in the user add
> that group to his auxilliary group list via setgroups().

Actually, PAM already supports that.

However, the approach allows any console user to create a setgid shell or leave
a process running with console group access, which they can [ab]use when
logging in remotely.

> Device nodes really scream for ACLs, though.

Agreed.

        - Ruud de Rooij.

-- 
ruud de rooij | ruud@ruud.org | http://ruud.org

- 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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:23 EST