Alternatively, use sudo.
[02:39:19 shaul]$ grep cdrom /etc/fstab
/dev/hdc/cdrom iso9660 -oasync,noauto,ro 0 0
[05:31:13 shaul]$ grep cdrom /etc/group
cdrom:x:24:shaul
[05:31:59 shaul]$ su
Password:
[05:32:36 shaul]# grep cdrom /etc/sudoers
/bin/mount /bac
On Mon, Mar 29, 1999 at 02:25:41PM +0200, Sami Dalouche wrote:
[some stuff]
>
> 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 should look into the sudo comman
>
> 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
Normally the mount command checks if you really are root, and
disregards group membership. You can allow users to mount a certain
partition
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
>
Add users to the appropriate line in your /etc/fstab file.
e.g.
/dev/hdc /cdromiso9660noauto,ro,users00
Sean
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
5 matches
Mail list logo