[LBo] Only root can mount (Suse 10)
grasshopper
marigold.6352 at gol.com
Sun Jul 29 15:23:56 CEST 2007
On Sun, 2007-07-29 at 07:03 -0400, Anita Lewis wrote:
> On 07/29/2007 03:05 AM grasshopper wrote:
>
> > grasshopper at linux:~> ls -lh /dev/cdrom
> > lrwxrwxrwx 1 root root 3 2007-07-28 18:36 /dev/cdrom -> sr0
Oops, didn't see that:
grasshopper at linux:~> ls -lh /dev/sr0
brw-rw----+ 1 grasshopper disk 11, 0 2007-07-29 20:56 /dev/sr0
>
> <snip>
>
> >> 2. If that is a link then do the same on the thing it is linked to.
>
> <snip>
>
> ls -lh /dev/sr0
>
> The grep command on /etc/group shows that grasshopper is a member of
> dialout and video. If the group on /dev/sr0 is not one of those, then I
> think you will need to make grasshopper a member of whatever group is
> being used for /dev/sr0 (assuming that the group for /dev/sr0 is not root)
>
I'm not sure I understand the above. Should I make 'user' also part of the /etc/group?
grasshopper at linux:~> grep grasshopper /etc/group
dialout:x:16:grasshopper
audio:x:17:grasshopper
cdrom:x:20:grasshopper
video:x:33:grasshopper
>
> You should use Yast to do this. You can edit the /etc/group file to do
> it, but with Suse I used to get things overwritten if I did not do them
> with Yast. Let us know how this goes.
>
> Anita
>
I went into Yast and added cdrom, and I think everything is in order, though I still get the 'only root....'
so should I go into the /etc/group file and change it there?
Many thanks for your help.
grasshopper
More information about the QnA
mailing list