Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 08:45:25 -0300
From:      Fernando Schapachnik <fernando@mecon.gov.ar>
To:        Brett Glass <brett@lariat.org>
Cc:        security@freebsd.org
Subject:   Re: Removable media security in FreeBSD
Message-ID:  <20030610114525.GA318@bal740r0.mecon.gov.ar>
In-Reply-To: <200306092254.QAA10240@lariat.org>
References:  <20030609140347.B13040@fubar.adept.org> <200306092254.QAA10240@lariat.org>

index | next in thread | previous in thread | raw e-mail

This is how I do it:

mkdir ~user/cdrom
chmod g+w /dev/acd0c
sysctl vfs.usermount=1
pw user mod operador -m user

/etc/fstab:

/dev/acd0c              /home/user/cdrom ...

On the KDE Desktop, create a CD-ROM entry:

[Desktop Action Eject]
Exec=kdeeject %v
Name=Eject

[Desktop Entry]
Actions=Eject
Dev=/dev/acd0c
Encoding=UTF-8
FSType=Default
Icon=cdrom_mount
MountPoint=/home/user/cdrom
ReadOnly=true
Type=FSDevice
UnmountIcon=cdrom_unmount

You can do the same for floppies. Also, the KDE entry can be created via the
"New" menu, on the Desktop.

Good luck.

Fernando.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030610114525.GA318>