[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mount for normal user



On Mon, Mar 29, 1999 at 02:25:41PM +0200, Sami Dalouche wrote:
> How can I mount devices (CDrom / HD) as a normal user.
> For example :
> $ mount /dev/hdb /mnt/hdb
> 
> mount: only root can mount /dev/hdb on /mnt/hdb
> 
> I've tried to add my user (sami) to some groups, but... :
> 
> sys:x:3:sami
> adm:x:4:sami
> disk:x:6:sami
> lp:x:7:lp,sami
> mail:x:8:sami
> voice:x:22:sami
> cdrom:x:24:sami
> floppy:x:25:sami
> sudo:x:27:sami
> audio:x:29:mary,sami
> majordom:x:31:majordom
> 
> Where is any help about Debian's groups... ?
> 
> However, How to remove user from groups (without VI) and is there a way to
> have all root permission without being root (UID 0) because some programs
> don't want to run as root ?

You have to add some mount options to the appropriate line in /etc/fstab.
These are described in the manual page to mount. Type 'man mount' and read.

Armin


Reply to: