Does anyone know if there is a way to mount drives without having to su to root? My /etc/fstab file already shows the user option on the floppy and cdrom, but I still cannot mount them. Thanks! Victor -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
This was discussed once before.
You need root privs to use mount successfully; you can do this:
~# groupadd mount
~# chown root.mount /bin/mount
~# chmod 4750 /bin/mount
Add _trusted_ users to group mount using usermod. SuSE does some file
permissions/ownership checks (via a perl script, ``chkstat'') when
SuSEconfig is run which uses a list of files, owner.group, and permissions
listed in /etc/permissions*. If you don't want SuSEconfig to undo the
permissions/ownership changes I suggested above, either set
CHECK_PERMISSIONS to "no" in /etc/rc.config, or change the line for
/bin/mount (if there is such a line) in the relevant /etc/permissions* file.
----- Original Message -----
From: "Victor R. Cardona"
Hi, On Mon, Feb 07, 2000 at 23:40 -0600, Victor R. Cardona wrote:
Does anyone know if there is a way to mount drives without having to su to root? My /etc/fstab file already shows the user option on the floppy and cdrom, but I still cannot mount them.
What does your fstab look like and how exactly did you try to mount your floppy and cdrom? Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I tried to mount from the command line and from the desktop icons in kde. My fstab shows this for the floppy and cdrom drives: /dev/hdc /cdrom ios9660 ro, noauto, user 0,0 /dev/fd0 /floppy auto noauto, user 0,0 I will create a mount group as suggested by previous reply. Thanks, Victor On Tue, 8 Feb 2000, Stefan Troeger wrote:
Hi,
On Mon, Feb 07, 2000 at 23:40 -0600, Victor R. Cardona wrote:
Does anyone know if there is a way to mount drives without having to su to root? My /etc/fstab file already shows the user option on the floppy and cdrom, but I still cannot mount them.
What does your fstab look like and how exactly did you try to mount your floppy and cdrom?
Ciao, Stefan
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Tue, Feb 08, 2000 at 10:22 -0600, Victor R. Cardona wrote:
I tried to mount from the command line and from the desktop icons in kde. My fstab shows this for the floppy and cdrom drives:
/dev/hdc /cdrom ios9660 ro, noauto, user 0,0 /dev/fd0 /floppy auto noauto, user 0,0
Don't know if these are only typos but it should look like /dev/hdc /cdrom iso9660 ro, noauto, user 0 0 /dev/fd0 /floppy auto noauto, user 0 0 Also make sure that mount and umount are suid root: chown root.root /bin/mount /bin/umount chmod 4755 /bin/mount /bin/umount Then try mounting your cdrom with mount /cdrom Do not use mount -t iso9660 /dev/hdc /cdrom because it won't work. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
keith@HaggleWare.com
-
stefan.troeger@wirtschaft.tu-chemnitz.de
-
vcardona@home.com