Re: Mount CD/DVD and playback DVD as normal user

2013-11-17 Thread Laurence Rochfort
Hi Fred,

You were right about adding /cdrom to fbtab. I had added /dev/cd0a, so
it didn't work.

I'm in the operators group, so a combination of the two means I can
now mount cd/dvd and watch dvds in Xine.

Thanks everyone for you assistance.

Regards,
Laurence.

On 12 November 2013 23:47, Fred  wrote:
> On 11/12/13 20:48, Laurence Rochfort wrote:
>>
>> Thanks Fred,
>>
>> /cdrom is the mount point, so no I don't think it should be a symlink.
>>
>> The command is:
>>
>> $ mount /dev/cd0a /cdrom
>> mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted
>
>
> Hi Laurence,
>
> You are right it should just be a node so not a symlink.
>
> The issue is with root owning /cdrom - but if you add /cdrom entry to fbtab:
>
> port:fred ~> tail -2 /etc/fbtab
> #/dev/ttyC0 0600/dev/fd0
> /dev/ttyC0  0600/cdrom
>
> Then the user who logs in can then mount /cdrom
>
> port:fred ~> mount -tcd9660 /dev/cd0a /cdrom
> port:fred ~> mount
> /dev/sd0a on / type ffs (local)
> /dev/sd0k on /home type ffs (local, nodev, nosuid)
> /dev/sd0d on /tmp type ffs (local, nodev, nosuid)
> /dev/sd0f on /usr type ffs (local, nodev)
> /dev/sd0g on /usr/X11R6 type ffs (local, nodev)
> /dev/sd0h on /usr/local type ffs (local, nodev)
> /dev/sd0j on /usr/obj type ffs (local, nodev, nosuid)
> /dev/sd0i on /usr/src type ffs (local, nodev, nosuid)
> /dev/sd0e on /var type ffs (local, nodev, nosuid)
> /dev/sd2i on /mnt/usbpen type msdos (local)
> /dev/cd0a on /cdrom type cd9660 (local, nodev, nosuid, read-only)
>
> I had to read mount(8) and fbtab(5) to work it out...
>
> hth
>
> Fred



Re: Mount CD/DVD and playback DVD as normal user

2013-11-13 Thread Stefan Wollny
Am Mon, 11 Nov 2013 22:08:20 +
schrieb Laurence Rochfort :

> Hello,
> 
> I'm trying to configure my laptop so that a normal user may mount a
> CD/DVD or playback a DVD in Xine.
> 
> So far I've just put an entry in /etc/fbtab. /cdrom permissions look
> OK, but the devices themselves less so.
> 
> What are the consequences of putting myself in the operator group?
> Where can I find a description of those groups?
> 
> Advice greatly appreciated.
> 
> Cheers,
> Laurence.
> 
> drwxr-xr-x   2 root  wheel  512 Nov  8 14:29 cdrom
> 
> brw-r-  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
> brw-r-  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
> crw-r-  1 root  operator   15,   0 Nov  8 14:13 /dev/rcd0a
> crw-r-  1 root  operator   15,   2 Nov  8 14:13 /dev/rcd0c
> crw-r-  1 root  operator   15,  16 Nov  8 14:13 /dev/rcd1a
> crw-r-  1 root  operator   15,  18 Nov  8 14:13 /dev/rcd1c
> 
> #   $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
> # login(1) reads this file to determine which devices should be
> chown'd to # the new user. Format is:
> # login-tty permdevice:[device]:...
> /dev/ttyC0  0600
> /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg
> /dev/X0 0600/dev/wsmouse:/dev/wsmouse0
> # samples
> #/dev/ttyC0 0600/dev/fd0
> /dev/ttyC4  0755/dev/cd0a:/dev/rcd0c
> 

Hi Laurence,

as this is your own laptop - is your unprivileged user added to
sudoers? This is how I manage to handle mounting CDs:

~~~
$ cat /etc/fstab  grep cd 
/dev/cd0a /cdrom cd9660 ro,noauto 0 0   # read only
/dev/cd0c /dvd cd9660 rw,noauto 0 0 # for burning CDs/DVDs

$ sudo cat /etc/sudoers | grep NOPASSWD
%wheel  ALL=(ALL) NOPASSWD: SETENV: ALL
~~~

The "inconvenience" is that I always have to mount it with "sudo"
prepended. You might as well restrict the allowed actions to just a few
commands, e.g. 'mount'. See man sudoers

As I do not share the laptop with others I can live with any
theoretical issues that might go along with this setting. If s.o. gets
physical access to the laptop I am in trouble anyway...

Cheers,
STEFAN



Mit freundlichen Grüßen,

STEFAN WOLLNY

Regulatory Reporting Consultancy
Tel.: +49 (0) 177 655 7875
Fax.: +49 (0) 3212 655 7875
Mail: ste...@wollny.de
GnuPG-Key ID: 0x9C26F1D0



Re: Mount CD/DVD and playback DVD as normal user

2013-11-13 Thread Christian Weisgerber
Laurence Rochfort  wrote:

> What are the consequences of putting myself in the operator group?

Members of group operator may
* run shutdown(8),
* read disk devices--intended for backups with dump(8), but of course
  it means that members can bypass any filesystem-permission-based
  read restrictions.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: Mount CD/DVD and playback DVD as normal user

2013-11-13 Thread Jay Patel
This might help too
http://undeadly.org/cgi?action=article&sid=20131113030229&mode=expanded


On Wed, Nov 13, 2013 at 2:04 PM, Tomas Bodzar wrote:

> On Tue, Nov 12, 2013 at 9:48 PM, Laurence Rochfort <
> laurence.rochf...@gmail.com> wrote:
>
> > Thanks Fred,
> >
> > /cdrom is the mount point, so no I don't think it should be a symlink.
> >
> > The command is:
> >
> > $ mount /dev/cd0a /cdrom
> > mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted
> >
>
>
> You're pretty close. Please read this short thread
> http://marc.info/?l=openbsd-misc&m=121837771306968&w=2 which will solve it
> for you for sure. There are some limitations in combination of /etc/fstab
> and kern.usermount
>
> >
> > On 12 November 2013 20:27, Fred  wrote:
> > > On 11/12/13 18:56, Laurence Rochfort wrote:
> > >>
> > >> Thanks Tomas,
> > >>
> > >> I have set kern.usermount=1 now and added myself to the operator
> > >> group, but still get operation denied when trying to mount a cdrom.
> > >>
> > >> Does the below look right?
> > >>
> > >> Thank you
> > >>
> > >> $ sysctl kern.usermount
> > >> kern.usermount=1
> > >>
> > >> $ groups
> > >> laurence wheel operator
> > >>
> > >> $ ls -l / | grep cdrom
> > >> drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom
> > >>
> > >> $ ls -l /dev/cd*
> > >> brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
> > >> brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
> > >> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
> > >> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
> > >>
> > >
> > > Surely /cdrom should be a symbolic link to /dev/cd0a?
> > >
> > > ie:
> > >
> > > ln -fs /dev/cd0a /cdrom
> > >
> > > hth
> > >
> > > Fred
> > >
> > > PS what command are you running that gives an operation denied?



Re: Mount CD/DVD and playback DVD as normal user

2013-11-13 Thread Tomas Bodzar
On Tue, Nov 12, 2013 at 9:48 PM, Laurence Rochfort <
laurence.rochf...@gmail.com> wrote:

> Thanks Fred,
>
> /cdrom is the mount point, so no I don't think it should be a symlink.
>
> The command is:
>
> $ mount /dev/cd0a /cdrom
> mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted
>


You're pretty close. Please read this short thread
http://marc.info/?l=openbsd-misc&m=121837771306968&w=2 which will solve it
for you for sure. There are some limitations in combination of /etc/fstab
and kern.usermount

>
> On 12 November 2013 20:27, Fred  wrote:
> > On 11/12/13 18:56, Laurence Rochfort wrote:
> >>
> >> Thanks Tomas,
> >>
> >> I have set kern.usermount=1 now and added myself to the operator
> >> group, but still get operation denied when trying to mount a cdrom.
> >>
> >> Does the below look right?
> >>
> >> Thank you
> >>
> >> $ sysctl kern.usermount
> >> kern.usermount=1
> >>
> >> $ groups
> >> laurence wheel operator
> >>
> >> $ ls -l / | grep cdrom
> >> drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom
> >>
> >> $ ls -l /dev/cd*
> >> brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
> >> brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
> >> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
> >> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
> >>
> >
> > Surely /cdrom should be a symbolic link to /dev/cd0a?
> >
> > ie:
> >
> > ln -fs /dev/cd0a /cdrom
> >
> > hth
> >
> > Fred
> >
> > PS what command are you running that gives an operation denied?



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Brynet
There are many reasons for wanting to mount a CD/DVD, perhaps to restore a
backup or to access files from someone who only just recently made the
transition from floppy.

But for the two most common reasons today..

* Music/Audio discs, containing no filesystem and cannot be mounted.

cdio(1) in base can be used to playback and rip audio CD's using the raw
device node directly, as can many other ports.

* DVD Video discs, which do contain a filesystem.. but with encrypted files.

There is libdvdread/libdvdcss, also in ports, and runtime dependencies for
many media players, and like cdio work by directly manipulating the device.

-Bryan.



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Jérémie Courrèges-Anglas
Fred  writes:

> On 11/12/13 20:48, Laurence Rochfort wrote:
>> Thanks Fred,
>>
>> /cdrom is the mount point, so no I don't think it should be a symlink.
>>
>> The command is:
>>
>> $ mount /dev/cd0a /cdrom
>> mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted
>
> Hi Laurence,
>
> You are right it should just be a node so not a symlink.
>
> The issue is with root owning /cdrom - but if you add /cdrom entry to fbtab:
>
> port:fred ~> tail -2 /etc/fbtab
> #/dev/ttyC0   0600/dev/fd0
> /dev/ttyC00600/cdrom
 ^
0700 *might* give better results.

> Then the user who logs in can then mount /cdrom
>
> port:fred ~> mount -tcd9660 /dev/cd0a /cdrom
> port:fred ~> mount
> /dev/sd0a on / type ffs (local)
> /dev/sd0k on /home type ffs (local, nodev, nosuid)
> /dev/sd0d on /tmp type ffs (local, nodev, nosuid)
> /dev/sd0f on /usr type ffs (local, nodev)
> /dev/sd0g on /usr/X11R6 type ffs (local, nodev)
> /dev/sd0h on /usr/local type ffs (local, nodev)
> /dev/sd0j on /usr/obj type ffs (local, nodev, nosuid)
> /dev/sd0i on /usr/src type ffs (local, nodev, nosuid)
> /dev/sd0e on /var type ffs (local, nodev, nosuid)
> /dev/sd2i on /mnt/usbpen type msdos (local)
> /dev/cd0a on /cdrom type cd9660 (local, nodev, nosuid, read-only)
>
> I had to read mount(8) and fbtab(5) to work it out...
>
> hth
>
> Fred

-- 
jca | PGP : 0x06A11494 / 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Fred

On 11/12/13 20:48, Laurence Rochfort wrote:

Thanks Fred,

/cdrom is the mount point, so no I don't think it should be a symlink.

The command is:

$ mount /dev/cd0a /cdrom
mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted


Hi Laurence,

You are right it should just be a node so not a symlink.

The issue is with root owning /cdrom - but if you add /cdrom entry to fbtab:

port:fred ~> tail -2 /etc/fbtab
#/dev/ttyC0 0600/dev/fd0
/dev/ttyC0  0600/cdrom

Then the user who logs in can then mount /cdrom

port:fred ~> mount -tcd9660 /dev/cd0a /cdrom
port:fred ~> mount
/dev/sd0a on / type ffs (local)
/dev/sd0k on /home type ffs (local, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, nodev)
/dev/sd0g on /usr/X11R6 type ffs (local, nodev)
/dev/sd0h on /usr/local type ffs (local, nodev)
/dev/sd0j on /usr/obj type ffs (local, nodev, nosuid)
/dev/sd0i on /usr/src type ffs (local, nodev, nosuid)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
/dev/sd2i on /mnt/usbpen type msdos (local)
/dev/cd0a on /cdrom type cd9660 (local, nodev, nosuid, read-only)

I had to read mount(8) and fbtab(5) to work it out...

hth

Fred



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Laurence Rochfort
Thanks Fred,

/cdrom is the mount point, so no I don't think it should be a symlink.

The command is:

$ mount /dev/cd0a /cdrom
mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted

On 12 November 2013 20:27, Fred  wrote:
> On 11/12/13 18:56, Laurence Rochfort wrote:
>>
>> Thanks Tomas,
>>
>> I have set kern.usermount=1 now and added myself to the operator
>> group, but still get operation denied when trying to mount a cdrom.
>>
>> Does the below look right?
>>
>> Thank you
>>
>> $ sysctl kern.usermount
>> kern.usermount=1
>>
>> $ groups
>> laurence wheel operator
>>
>> $ ls -l / | grep cdrom
>> drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom
>>
>> $ ls -l /dev/cd*
>> brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
>> brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
>> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
>> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
>>
>
> Surely /cdrom should be a symbolic link to /dev/cd0a?
>
> ie:
>
> ln -fs /dev/cd0a /cdrom
>
> hth
>
> Fred
>
> PS what command are you running that gives an operation denied?



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Fred

On 11/12/13 18:56, Laurence Rochfort wrote:

Thanks Tomas,

I have set kern.usermount=1 now and added myself to the operator
group, but still get operation denied when trying to mount a cdrom.

Does the below look right?

Thank you

$ sysctl kern.usermount
kern.usermount=1

$ groups
laurence wheel operator

$ ls -l / | grep cdrom
drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom

$ ls -l /dev/cd*
brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c



Surely /cdrom should be a symbolic link to /dev/cd0a?

ie:

ln -fs /dev/cd0a /cdrom

hth

Fred

PS what command are you running that gives an operation denied?



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Laurence Rochfort
Thanks Tomas,

I have set kern.usermount=1 now and added myself to the operator
group, but still get operation denied when trying to mount a cdrom.

Does the below look right?

Thank you

$ sysctl kern.usermount
kern.usermount=1

$ groups
laurence wheel operator

$ ls -l / | grep cdrom
drwxrwxr-x   2 root  operator  512 Nov  8 14:29 cdrom

$ ls -l /dev/cd*
brwxrw  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
brw-rw  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c

On 12 November 2013 12:48, Tomas Bodzar  wrote:
>
>
>
> On Mon, Nov 11, 2013 at 11:08 PM, Laurence Rochfort
>  wrote:
>>
>> Hello,
>>
>> I'm trying to configure my laptop so that a normal user may mount a
>> CD/DVD or playback a DVD in Xine.
>>
>> So far I've just put an entry in /etc/fbtab. /cdrom permissions look
>> OK, but the devices themselves less so.
>
>
>
> Check sysctl kern.usermount option
>
>>
>>
>> What are the consequences of putting myself in the operator group?
>> Where can I find a description of those groups?
>>
>> Advice greatly appreciated.
>>
>> Cheers,
>> Laurence.
>>
>> drwxr-xr-x   2 root  wheel  512 Nov  8 14:29 cdrom
>>
>> brw-r-  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
>> brw-r-  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
>> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
>> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
>> crw-r-  1 root  operator   15,   0 Nov  8 14:13 /dev/rcd0a
>> crw-r-  1 root  operator   15,   2 Nov  8 14:13 /dev/rcd0c
>> crw-r-  1 root  operator   15,  16 Nov  8 14:13 /dev/rcd1a
>> crw-r-  1 root  operator   15,  18 Nov  8 14:13 /dev/rcd1c
>>
>> #   $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
>> # login(1) reads this file to determine which devices should be chown'd to
>> # the new user. Format is:
>> # login-tty permdevice:[device]:...
>> /dev/ttyC0  0600
>>
>> /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg
>> /dev/X0 0600/dev/wsmouse:/dev/wsmouse0
>> # samples
>> #/dev/ttyC0 0600/dev/fd0
>> /dev/ttyC4  0755/dev/cd0a:/dev/rcd0c



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Tomas Bodzar
On Mon, Nov 11, 2013 at 11:08 PM, Laurence Rochfort <
laurence.rochf...@gmail.com> wrote:

> Hello,
>
> I'm trying to configure my laptop so that a normal user may mount a
> CD/DVD or playback a DVD in Xine.
>
> So far I've just put an entry in /etc/fbtab. /cdrom permissions look
> OK, but the devices themselves less so.
>


Check sysctl kern.usermount option


>
> What are the consequences of putting myself in the operator group?
> Where can I find a description of those groups?
>
> Advice greatly appreciated.
>
> Cheers,
> Laurence.
>
> drwxr-xr-x   2 root  wheel  512 Nov  8 14:29 cdrom
>
> brw-r-  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
> brw-r-  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
> crw-r-  1 root  operator   15,   0 Nov  8 14:13 /dev/rcd0a
> crw-r-  1 root  operator   15,   2 Nov  8 14:13 /dev/rcd0c
> crw-r-  1 root  operator   15,  16 Nov  8 14:13 /dev/rcd1a
> crw-r-  1 root  operator   15,  18 Nov  8 14:13 /dev/rcd1c
>
> #   $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
> # login(1) reads this file to determine which devices should be chown'd to
> # the new user. Format is:
> # login-tty permdevice:[device]:...
> /dev/ttyC0  0600
> /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg
> /dev/X0 0600/dev/wsmouse:/dev/wsmouse0
> # samples
> #/dev/ttyC0 0600/dev/fd0
> /dev/ttyC4  0755/dev/cd0a:/dev/rcd0c



Re: Mount CD/DVD and playback DVD as normal user

2013-11-12 Thread Mark Prins
2013/11/11 Laurence Rochfort :
> Hello,
>
> I'm trying to configure my laptop so that a normal user may mount a
> CD/DVD or playback a DVD in Xine.

I never used it but have you seen: http://www.bsdua.org/hotplug-diskmount.html ?

mark




> So far I've just put an entry in /etc/fbtab. /cdrom permissions look
> OK, but the devices themselves less so.
>
> What are the consequences of putting myself in the operator group?
> Where can I find a description of those groups?
>
> Advice greatly appreciated.
>
> Cheers,
> Laurence.
>
> drwxr-xr-x   2 root  wheel  512 Nov  8 14:29 cdrom
>
> brw-r-  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
> brw-r-  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
> brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
> brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
> crw-r-  1 root  operator   15,   0 Nov  8 14:13 /dev/rcd0a
> crw-r-  1 root  operator   15,   2 Nov  8 14:13 /dev/rcd0c
> crw-r-  1 root  operator   15,  16 Nov  8 14:13 /dev/rcd1a
> crw-r-  1 root  operator   15,  18 Nov  8 14:13 /dev/rcd1c
>
> #   $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
> # login(1) reads this file to determine which devices should be chown'd to
> # the new user. Format is:
> # login-tty permdevice:[device]:...
> /dev/ttyC0  0600
> /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg
> /dev/X0 0600/dev/wsmouse:/dev/wsmouse0
> # samples
> #/dev/ttyC0 0600/dev/fd0
> /dev/ttyC4  0755/dev/cd0a:/dev/rcd0c
>



-- 
Disclaimer;
This message is just a reflection of what I thought at the time of
sending. The message may contain information that is not intended for
you or that you don't understand.



Mount CD/DVD and playback DVD as normal user

2013-11-11 Thread Laurence Rochfort
Hello,

I'm trying to configure my laptop so that a normal user may mount a
CD/DVD or playback a DVD in Xine.

So far I've just put an entry in /etc/fbtab. /cdrom permissions look
OK, but the devices themselves less so.

What are the consequences of putting myself in the operator group?
Where can I find a description of those groups?

Advice greatly appreciated.

Cheers,
Laurence.

drwxr-xr-x   2 root  wheel  512 Nov  8 14:29 cdrom

brw-r-  1 root  operator6,   0 Nov  8 14:13 /dev/cd0a
brw-r-  1 root  operator6,   2 Nov  8 14:13 /dev/cd0c
brw-r-  1 root  operator6,  16 Nov  8 14:13 /dev/cd1a
brw-r-  1 root  operator6,  18 Nov  8 14:13 /dev/cd1c
crw-r-  1 root  operator   15,   0 Nov  8 14:13 /dev/rcd0a
crw-r-  1 root  operator   15,   2 Nov  8 14:13 /dev/rcd0c
crw-r-  1 root  operator   15,  16 Nov  8 14:13 /dev/rcd1a
crw-r-  1 root  operator   15,  18 Nov  8 14:13 /dev/rcd1c

#   $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
# login(1) reads this file to determine which devices should be chown'd to
# the new user. Format is:
# login-tty permdevice:[device]:...
/dev/ttyC0  0600
/dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg
/dev/X0 0600/dev/wsmouse:/dev/wsmouse0
# samples
#/dev/ttyC0 0600/dev/fd0
/dev/ttyC4  0755/dev/cd0a:/dev/rcd0c