[wplug] Audio CD autorun problem, RH 7.3
Ivan Jager
ivanj at terere.res.cmu.edu
Mon Mar 17 22:54:14 EST 2003
You could change the group (and maybe the permissions) on /dev/scd0, to give
a certain group (like users or cdrom) read permission. At least that is the
way I do it.
On 2003.03.17 20:58 TC Linux wrote:
> aha....I see when logged in as the user 'craig' I see this....
>
>
> [craig at linux craig]$ ls -la /dev/cdrom
> lrwxrwxrwx 1 root root 9 Mar 14 21:56 /dev/cdrom ->
> /dev/scd0
>
> so sudoers probably does set this but I'm not instructing sudoers to set
> this right I suppose....
>
> back to the man page for sudoers, boy that is a legalese-sounding text
> though :-)
>
>
> John Harrold wrote:
>
>> Sometime in March TC Linux assaulted the keyboard and produced:
>>
>> | Thanks for the reply Frank.....nice choice of music btw....
>> | | It seems related to groups then and who is allowed to use what, but as
>> | far groups, 'wheel', and 'sudoers' I have no idea what you're talking |
>> about there...LOL.....I'll look for a file called 'sudoers' and the sudo |
>> command in the mean time
>>
>> i think this has something to do with permissions. when i login to my
>> computer, the permission for things in /dev like /dev/hdc (my cdrom device)
>> and /dev/dsp are changed to my user and some other group. so for example:
>>
>> $ ls /dev/hdc
>> brw------- 1 harrold disk 22, 0 Apr 11 2002 hdc
>>
>> now i'm not sure what process does this. i'm using kdm as my graphical
>> login manager and i'm using kde as my desktop environment. does anyone else
>> know what changes the permissions on the devices?
>>
>> sudo is a nifty program that lets you easily execute programs as another
>> user, like root. so if you wanted to edit a file in /etc you wouldn't have
>> to login as root, you would just have to do something like:
>>
>> sudo vim /etc/httpd/conf/httpd.con
>>
>> and then you would be editing the file as root. this assumes you've got
>> sudo setup properly. my naive answer would be something to do with that
>> wheel on the mouse, but i know that's not it. a little googling and you
>> have this:
>>
>> http://groups.google.com/groups?selm=39A6D6E2.724E6D6C%40trailing-edge.com&output=gplain
>>
>>
>>
>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
More information about the wplug
mailing list