Re: Mounting CDROM as user under 5.x
From: Harald Schmalzbauer (h_at_schmalzbauer.de)
Date: 12/31/03
- Previous message: John Von Essen: "Re: (2) rsh and rcp problems between Solaris and FreeBSD"
- In reply to: Dany: "Re: Mounting CDROM as user under 5.x"
- Next in thread: Dany: "Re: Mounting CDROM as user under 5.x"
- Reply: Dany: "Re: Mounting CDROM as user under 5.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Dany <dany_list@natzo.com> Date: Wed, 31 Dec 2003 16:25:32 +0100
On Wednesday 31 December 2003 16:07, Dany wrote:
> Harald Schmalzbauer wrote:
*SNIP*
>
> This is pretty much what I've tried. My user is in the Wheel group.
> Would this exact configuration work ? Should I set any other
> permission in order to have the user from the wheel group to mount drives?
>
> Thanks for posting your configuration.
>
> PS: One thing I've noticed with this specific user, whenever he creates
> something the file/directory will show owner:username group:username.
> I've used the command "groups" as well as chpass I think and they gave
> me only one group for this username... wheel. Why doesn't wheel appear
> as the group owner for stuff that username is creating ?
When you add a user with "adduser" by default FreeBSD creates a group similar
named like the username. If you later say that this user should be in group
wheel it's additional.
>
> >>>>>added the following to /dev/devfs.conf
> >>>>>link acd0 cdrom
> >>>>>perm acd0 0660
This line just gives write access to group. You can either add the line:
own acd0 root:wheel
or you edit /etc/groups and add your user to the group operator.
I'd prefere the latter.
Here's my simple /etc/group example:
# $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $
#
wheel:*:0:root,harry
daemon:*:1:
kmem:*:2:
sys:*:3:
tty:*:4:
operator:*:5:root,harry
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
staff:*:20:
sshd:*:22:
smmsp:*:25:
mailnull:*:26:
guest:*:31:
bind:*:53:
uucp:*:66:
dialer:*:68:
network:*:69:
www:*:80:
nogroup:*:65533:
nobody:*:65534:
harry:*:####:
uli:*:####:
schowi:*:####:
administrator:*:####:
alle:*:####:root,harry,uli,schowi,administrator
setiathome:*:####:
-Harry
- application/pgp-signature attachment: signature
- Previous message: John Von Essen: "Re: (2) rsh and rcp problems between Solaris and FreeBSD"
- In reply to: Dany: "Re: Mounting CDROM as user under 5.x"
- Next in thread: Dany: "Re: Mounting CDROM as user under 5.x"
- Reply: Dany: "Re: Mounting CDROM as user under 5.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Mounting CDROM as user under 5.x
... Is there any security concern having a user belonging to the group ... My user
is in the Wheel group. ... >>Would this exact configuration work? ...
>>me only one group for this username... ... (freebsd-questions) - Re: unable to su to root, sudo works
... are added to "wheel" group? ... gpasswd -a wheel <username> ...
Registered Linux User #458799 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User) - Re: Forms-Based Authentication
... "BillGatesFan" wrote in message ... > into and it validates the username
and password with the database using ... wheel, so that you don't have to. ... (microsoft.public.dotnet.framework.aspnet) - Re: Cant "su"
... > Using Redhat 6 with PAM. ... I have added my username to
"wheel" group. ... (comp.os.linux.security) - Re: Testing the Homogeneity and Sufficiency of empirical data
... Even if you invent a better wheel, ... [snip, detail] ... I found
a paper stating that your mimimum sample size for estimating the mean within d% of error with
a% confidence level is: ... need to look up their details to see what error range ...
(sci.stat.math)