[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hurray
Derek,
getgrouplist(3)
".. function reads through the group file and calculates the group access
list..."
files
/etc/group
check out id(1) source
==
daemons@cfl.rr.com OpenBSD <www.openbsd.org> : sleep well.
"They that can give up liberty to obtain a little temporary safety
deserve neither liberty nor safety." Benjamin Franklin 1706-1790
On Fri, 3 Dec 1999, Derek Quinn Wyatt wrote:
>
> I'm aware of this... you missed my question. If my passwd entry is
>
> guy:x:100:0:blah blah...
>
> I can't su to root, yet i am in the wheel group. It is not until i add
> myself a second time to wheel in /etc/group that i can su to root.
>
> This is something i don't understand. I assume that su only looks at the
> group file (via system call) instead of passwd (via system call). If i
> looked at the source (which isn't available to me at the moment) i would
> probably find out. I just don't understand the rationale behind it,
> that's all.
>
> Cheers,
> D
>
> --
> Derek Quinn Wyatt | quinn@physics.utoronto.ca
> Unix Administrator / Developer | Office: (416) 978-6452 Office
> University of Toronto | Fax: (416) 978-8221 Fax
> Physics Department | Cell: (416) 676-9847 (emergencies only)
>
> On Fri, 3 Dec 1999, daemons wrote:
>
> > Derek,
> >
> > It is so because of that whole ``security'' thing. Why on earth do you
> > want lusers su'n to root? Not a bug, a feature.
> >
> > cya
> >
> > ==
> > daemons@cfl.rr.com OpenBSD <www.openbsd.org> : sleep well.
> > "They that can give up liberty to obtain a little temporary safety
> > deserve neither liberty nor safety." Benjamin Franklin 1706-1790
> >
> > On Fri, 3 Dec 1999, Derek Quinn Wyatt wrote:
> > > any reason as to why this is so. Would this constitute a bug?
> >
>
>
- References:
- Re: Hurray
- From: Derek Quinn Wyatt <quinn@physics.utoronto.ca>