On Tue, Nov 30, 1999 at 10:13:10PM +0800, Ahkoshy@localhost wrote:
> I'm using RH6.1 & have noticed something strange....
> Supposed I have root login on first vterminal
> -rw-r--r-- 1 root sys 14, 4 Apr 18 1999 /dev/audio
> -rw-r--r-- 1 root sys 14, 1 Apr 18 1999 /dev/sequencer
> crw-r--r-- 1 root sys 14, 3 Apr 18 1999 dsp
> crw-r--r-- 1 root sys 14, 19 Apr 18 1999 dsp1
>
> after my user (id : koshy) logins on 2nd vterminal
> crw------- 1 koshy sys 14, 4 Apr 18 1999 /dev/audio
> crw------- 1 koshy sys 14, 1 Apr 18 1999 /dev/sequencer
> crw------- 1 koshy sys 14, 3 Apr 18 1999 dsp
> crw------- 1 koshy sys 14, 19 Apr 18 1999 dsp1
> <snipped>
> <Theres actually a whole list of files, some like ttyX make sense, but those
> like /dev/mixer, /dev/audio didnt make sense>
>
> <I havent started X yet when I noticed these changes>
> To 2x check, I deleted koshy and rebooted, and added in again...
>
> My "third user" (id: alex) doesnt have any effect on those files ...
> I'm worried...I tried out on RH5.2 and those files' permissions didnt change.
>
> Am I missing something here?
> Thanks for any help on this~~
This is PAM doing this. Look at /etc/security/console.perms for how
this works. The idea is to give a user who is physically at the console
access to certain devices (like sound) that he might not otherwise
have access to. 'man pam_console' too. I don't why 'alex' is
different. I've noticed that if you have 2 simultaneous logins (even
with same user), then it messes this scheme up if one them logs out.
--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.