3.9, su command: bug or feature?

2006-05-02 Thread Cristiano Deana
Hi, i'm new on OpenBSD. I just installed 3.9 (one week ago sources) and i got this: $ uname -rs OpenBSD 3.9 $ su Password: you are not in group wheel Sorry $ whoami cris $ id cris uid=1000(cris) gid=0(wheel) groups=0(wheel) $ grep cris /etc/passwd cris:*:1000:0:Cristiano

Re: 3.9, su command: bug or feature?

2006-05-02 Thread Otto Moerbeek
On Tue, 2 May 2006, Cristiano Deana wrote: Hi, i'm new on OpenBSD. I just installed 3.9 (one week ago sources) and i got this: $ uname -rs OpenBSD 3.9 $ su Password: you are not in group wheel Sorry $ whoami cris $ id cris uid=1000(cris) gid=0(wheel) groups=0(wheel) $ grep cris

Re: 3.9, su command: bug or feature?

2006-05-02 Thread Tony
Cristiano Deana wrote: Hi, i'm new on OpenBSD. I just installed 3.9 (one week ago sources) and i got this: $ uname -rs OpenBSD 3.9 $ su Password: you are not in group wheel Sorry $ whoami cris $ id cris uid=1000(cris) gid=0(wheel) groups=0(wheel) $ grep cris /etc/passwd

Re: 3.9, su command: bug or feature?

2006-05-02 Thread Marcus Carvalho
usermod -G wheel user 2006/5/2, Cristiano Deana [EMAIL PROTECTED]: Hi, i'm new on OpenBSD. I just installed 3.9 (one week ago sources) and i got this: $ uname -rs OpenBSD 3.9 $ su Password: you are not in group wheel Sorry $ whoami cris $ id cris uid=1000(cris) gid=0(wheel)

Re: 3.9, su command: bug or feature?

2006-05-02 Thread Cristiano Deana
2006/5/2, [EMAIL PROTECTED] [EMAIL PROTECTED]: $ id cris uid=1000(cris) gid=0(wheel) groups=0(wheel) Probably would have essentially identical behavior on any BSD/Linux. No, in FreeBSD if your group is '0' then you (obviously) are in the 'wheel' group -- Cris, member of G.U.F.I Italian

Re: 3.9, su command: bug or feature?

2006-05-02 Thread Cristiano Deana
2006/5/2, Otto Moerbeek [EMAIL PROTECTED]: See su(1): It is not sufficient to change a user's /etc/passwd entry to add them to the ``wheel'' group; they must explicitly be listed in /etc/group. Yes, i have seen. The 'strange' thing, IMHO is: # grep ^%wheel /etc/sudoers %wheel ALL=(ALL)