> > 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 by adding the `user' option in /etc/fstab. For example, I have a line for a cdrom in my /etc/fstab that looks like this: /dev/hdd /cdrom iso9660 defaults,ro,user,noauto 0 0 The user option allows every user to mount and umount the cdrom, and noauto prevents the system from trying to mount the cdrom at boot time, which can be annoying if there is no cdrom in the drive. > 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... ? I don't know. Most groups are self-explanatory. > 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 ? If programs do not want to run as root there usually is a security reason for that. This means it can be in some way dangerous to your system, and you'd better not try to run it as root anyway. You can remove users from a group using the usermod command and the -G option. With the -G option you list the additional groups (beside the default group) that a user is a member from. If the user was listed with other groups as well, (s)he is removed from those. Check out the manual page. HTH, Eric -- E.L. Meijer ([EMAIL PROTECTED]) Eindhoven Univ. of Technology Lab. for Catalysis and Inorg. Chem. (SKA)