Click to See Complete Forum and Search --> : Gnome 2.6 - running stuff as root..how?


MDesigner
06-25-2004, 03:32 PM
I just installed Slackware 10 this morning, and noticed that a lot of the system menu stuff won't run because I'm not root. Well, I don't really want to log into the GDM as root.. so I used swaret to install gksu and edited a lot of menu items to start with "gksu," which seems to work well.

One thing is the Disk Mounter applet though.. it won't mount the CD-ROM, because I'm not root.. but I can't seem to edit its mount command that it runs. How can I mount devices through Gnome/Nautilus, instead of always using a shell and su'ing to do it?

Thanks!

happybunny
06-25-2004, 03:41 PM
can't you modify /etc/fstab to add user control to mount points?

I'm no expert, and I don't know slack, but in RH, etc/fstab has nouser so users cannot mount or unmount the cd.

i think that is modifiable.

j79zlr
06-25-2004, 03:42 PM
you have to edit fstab so normal users can mount the cdrom, floppy, etc. an example of my fstab for removable dev's.

/dev/cdrom /mnt/cdrom iso9660 noauto,users 0 0
/dev/cdrw /mnt/cdrw iso9660 noauto,users 0 0
/dev/floppy /mnt/floppy auto noauto,users 0 0
/dev/zip /mnt/zip auto noauto,users 0 0

MDesigner
06-25-2004, 03:58 PM
Great! That works perfectly...thanks!