LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-15-2005, 10:16 PM   #1
nikki
LQ Newbie
 
Registered: Feb 2005
Distribution: Mandrake 10.0/FreeBSD 4.10 & 5.3
Posts: 10

Rep: Reputation: 0
cdrom permissions


after the 2nd crash in a month of mandrake 10 (by crash i mean total loss of everything, not my system shutting down), I rrformated and installed once again. This time i choose a higher security and it did not give me cd permissions, not have i ever gotten audio because of permissions even with the lower settings.

So i tryed to give myself permissions by su to root and using the usermod command. This command has failled me repeatedly with may attempts to use it.


Code:
[root@localhost etc]# usermod -g nikki -G audio,cdrom,cdwriter -l nikki
usage: usermod  [-u uid [-o]] [-g group] [-G group,...]
                [-d home [-m]] [-s shell] [-c comment] [-l new_name]
                [-f inactive] [-e expire ] [-p passwd] [-L|-U] name
[root@localhost etc]# usermod -g nikki -G audio,cdrom,cdwriter -L|-U nikki
 bash: -U: command not found
usage: usermod  [-u uid [-o]] [-g group] [-G group,...]
                [-d home [-m]] [-s shell] [-c comment] [-l new_name]
                [-f inactive] [-e expire ] [-p passwd] [-L|-U] name
[root@localhost etc]#
could someone please tell me in plain english what I am failing to do right here please so I can burn the cd's to install a linux that does not crash about every 2 weeks?
 
Old 02-16-2005, 01:35 AM   #2
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Heh, the " [-L|-U]" means "-L" OR "-U" and a 'man usermod' shows that -L and -U has to do with
locking/unlocking of the account so you don't want that anyways.

The way to read the "Usage" is that everything in [ ] are optional, | (pipe) means either one and other things are mandatory.

So you should try 'usermod -G audio,cdrom,cdwriter nikki'

- Peder
 
Old 02-18-2005, 06:44 PM   #3
nikki
LQ Newbie
 
Registered: Feb 2005
Distribution: Mandrake 10.0/FreeBSD 4.10 & 5.3
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks. I finally figured how to change the security back to normal, got access to the cd. I tried the usermod to add the audio froup for sound but still no sound
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrom permissions foodhater Debian 7 11-16-2005 01:14 PM
CDROM permissions-MEPIS kapalka Linux - Hardware 4 04-11-2005 06:29 PM
CDROM mounting and permissions kapalka Linux - Newbie 2 04-11-2005 04:04 PM
cdrom permissions zoings Linux - Software 11 11-05-2004 01:42 AM
cdrom permissions Blackhawkckc Linux - Newbie 7 10-26-2004 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration