LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-11-2003, 03:09 AM   #1
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Rep: Reputation: 15
problems with user


Hello, I have got two curios problems with using user. When I login as root,everything if working OK, But when I log in as user,I don't have sound(with the same settings as root) and also I am not able to mount anything. What can be the problem?Thanks
 
Old 08-11-2003, 03:50 AM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
sound:
any error messages in the logs ?

mounting:
Users can't and shouldn't mount and unmount any drives they want, to allow mounting/unmounting add a line containing the "user" option to /etc/fstab (man fstab)
e.g.
/dev/cdrom /mnt/cdrom auto ro,noauto,user,exec 0 0
 
Old 08-11-2003, 03:51 AM   #3
BigBadPenguin
Member
 
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256

Rep: Reputation: 30
This is probably a permissions problem. Try: http://www.linuxquestions.org/questi...threadid=79434
if this doesn't work tell us what happened.
 
Old 08-11-2003, 05:32 AM   #4
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
to altF4 - I don't have any log errors, I will try the link and also changing the fstab,but I don't have time now,but after I will try, I will imediately let you know. Thanks by now.
 
Old 08-13-2003, 12:19 PM   #5
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
I get the sound working with help of that thread, but I can't get my cdrom working under user. I tried editing the fstab, with no success,maybe I did something wrong. After I try to mount the cdrom it writes only root can do that. Shouldn't I also change permissions for the mount command? Or what should I do?
 
Old 08-13-2003, 03:01 PM   #6
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
/dev/cdrom /mnt/cdrom auto ro,noauto,user,exec 0 0

/dev/cdrom ---> add your cdrom device here ( /dev/hdc, /dev/scd0, etc)
/mnt/cdrom --> add your mount directory here ( empty directory )
auto --> auto (autdetect filesystem) or iso9660
ro ... readonly
noauto ... do not mount on system startup
user ... allow users to mount this device (need not be root)
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New user, many problems. fannymites Suse/Novell 12 11-21-2005 03:55 PM
New Linux user with problems inferomors Fedora 3 02-19-2005 10:10 PM
problems with user alaios Linux - General 5 07-13-2004 11:55 PM
sue 9.0 user name problems Virtualhate Linux - Newbie 4 06-14-2004 11:24 PM
new user new problems samasas Linux - Newbie 1 11-21-2001 05:39 PM


All times are GMT -5. The time now is 02:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration