Bug 8161

Summary: users get the ownership of the devices . . .
Product: [Retired] Red Hat Linux Reporter: tkilicli
Component: devAssignee: Michael K. Johnson <johnsonm>
Severity: high Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-13 22:21:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tkilicli 2000-01-04 12:34:34 UTC
When i try to play a sound in RH6.1, the sound device belongs to mine and
other users cannot use the device. This is true for other devices also
(e.g. the floppy). I tried with MAKEDEV to create the devices from the
beginning but it was only to the other user to log on... it was all over.
Sound device is now his OWN device!

Comment 1 Nalin Dahyabhai 2000-01-07 17:57:59 UTC
This is by design.  By default, permissions are set up so that only users logged
in at the console can use audio devices (otherwise, remote users could eavesdrop
on workstations with microphones attached).  To allow users to use the audio
devices, find the line in /etc/security/console.perms that reads:
<console>  0600 <sound>     0644 root.sys
and change it to:
<console>  0666 <sound>     0644 root.sys

Similarly, modify the line that corresponds to the floppy disk devices to allow
remote users to access it.

Please let us know if this solves your problem.

Comment 2 tkilicli 2000-01-14 07:12:59 UTC
I worked on that a bit, but i realised that the first user who logs on to the
computer gets the permissions of all devices lik sound, floppy... but when he
logs off the devices are not taken from him. He still owns the permission to
read and write but no others. I tried the console.perm file but it did not