On Sat, 7 May 2011 20:33:33 +0300
Michael Sioutis wrote:
> And apparently a user needs to have a secondary group membership in
> group wheel to have sudo powers :)
Not quite, it does what it says on the tin. If you want to give ship
steering permissions then group wheel is good but there is no ne
I found this on the net:
http://www.scribd.com/doc/51889769/104/Primary-Versus-Secondary-Groups
One final note on groups is that it is important to understand the
difference between the primary and secondary group.
A user can only be a member of one primary group. The primary group is
the group th
Thanx a log for your replies :)
I was also using the wrong command for the EXISTING user katia:
pico@hive:~$ sudo useradd -G guest katia
useradd: already a `katia' user
Now:
pico@hive:~$ sudo usermod -G guest katia
pico@hive:~$ groupinfo guest
nameguest
passwd *
gid 31
members root katia
On Sat, 7 May 2011, Stuart Henderson wrote:
> Yes this is expected behaviour. /etc/group lists secondary group
> memberships, /etc/passwd (and related files) list the primary groups.
>
> Most of the tools you're using to investigate group membership
> (groupinfo, getent etc) only list secondary g
Yes this is expected behaviour. /etc/group lists secondary group
memberships, /etc/passwd (and related files) list the primary groups.
Most of the tools you're using to investigate group membership
(groupinfo, getent etc) only list secondary groups.
"id katia" is showing first the primary group (
Hello,
my OS is OpenBSD 4.9 i386.
I created a user named 'katia' with adduser and when prompted for
login group I entered 'guest'.
So, katia seems to be in group 'guest' when running the following commands:
==
pico@hive:~$ id katia
uid=1002(katia) gid=31(guest
6 matches
Mail list logo