How can a user mount a CDROM?

2004-04-08 Thread Mazen S. Alzogbi
Hi,
How can I grant myself (as a user and not root) the permission to 
mount/umount a cdrom?

Thanks,

--
Mazen S. Alzogbi
http://alzogbi.com/mazen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can a user mount a CDROM?

2004-04-08 Thread Remko Lodder
Mazen S. Alzogbi wrote:
Hi,
How can I grant myself (as a user and not root) the permission to 
mount/umount a cdrom?

Thanks,
Use SUDO, it is delivered through the ports:
/usr/ports/security/sudo
The example files in /usr/local/etc/sudoers gives you the information 
you want.

Cheers



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can a user mount a CDROM?

2004-04-08 Thread peter lageotakes

--- "Mazen S. Alzogbi" <[EMAIL PROTECTED]> wrote:
> Hi,
> How can I grant myself (as a user and not root) the
> permission to 
> mount/umount a cdrom?
> 
> Thanks,
> 
> -- 
> Mazen S. Alzogbi
> http://alzogbi.com/mazen
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

This should help:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can a user mount a CDROM?

2004-04-08 Thread Ruslan N. Gogunsci
Hello,
try add vfs.usermount=1 to /etc/sysctl.conf then from root 
run sysctl vfs.usermount=1,and from user: mount -t cd9660 /dev/acd0c $HOME/mnt/cdrom
On Thu, Apr 08, 2004 at 07:40:54PM +, Mazen S. Alzogbi wrote:
> Hi,
> How can I grant myself (as a user and not root) the permission to 
> mount/umount a cdrom?
> 
> Thanks,
> 
> -- 
> Mazen S. Alzogbi
> http://alzogbi.com/mazen
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can a user mount a CDROM?

2004-04-12 Thread Mark Weinem
On Thu, 08 Apr 2004, Ruslan N. Gogunsci wrote:

> Hello, try add vfs.usermount=1 to /etc/sysctl.conf then from root run
> sysctl vfs.usermount=1,and from user: mount -t cd9660 /dev/acd0c
> $HOME/mnt/cdrom On Thu, Apr 08, 2004 at 07:40:54PM +, Mazen S.
> Alzogbi wrote:

and add the user to group wheel, adjust the permissions of /dev/acd0c
(FreeBSD 5.x -> /dev/acd0) and /dev/cdrom, if necessary. 

Running 5.x, make the permissions permanet in
/etc/devfs.conf:

permacd0 0555


Ciao, Mark Weinem
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[FAQ pointer] Re: How can a user mount a CDROM?

2004-04-08 Thread Lowell Gilbert
"Mazen S. Alzogbi" <[EMAIL PROTECTED]> writes:

> How can I grant myself (as a user and not root) the permission to
> mount/umount a cdrom?

"How do I let ordinary users mount floppies, CDROMs and other removable media?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"