Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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?
/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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.