Re: The use of the auth-group (and auth-user) ?
- From: ThreeStar <sco@xxxxxxxxxxxxxxxxx>
- Date: 30 May 2007 09:48:23 -0700
On May 29, 8:15 pm, b...@xxxxxxx (Bill Vermillion) wrote:
In article <1180457964.496188.169...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
ThreeStar <s...@xxxxxxxxxxxxxxxxx> wrote:
On May 29, 7:50 am, Koppe <kopp...@xxxxxxxxx> wrote:
On May 29, 5:35 am, b...@xxxxxxx (Bill Vermillion) wrote:
[lots deleted - wjv]
I still would like to know more about the auth-group (andYou're being a bit obscure about your purpose, which makes it hard to
auth-user?), and if SCO has a more reasonable division of
directories and files into groups and perhaps users.
Btw, I've seen some listings of files in SCO; is there a reason
why some executables are root:bin and others bin:bin? With
binaries without the SUID bit, what is the difference?
-Koppe
provide an answer.
User and group "auth" are merely used to mark ownership and
permissions of SCO's authentication subsystem. For more
information see the man page for "tcbck." The kernel consults
the authentication database to control user access to, as you
say, "what they actually need." See, generally, the man page for
"usermod." Effectively it's an early ACL system.
There is no SCO analog to the Linux "wheel" group. <Soap box> SCO got
that one right. Making execution rights depend upon a group name is a
violation of database normal design. </Soap box>
It's BSD that has the 'wheel' group. And the groups in *BSD are
quite different than those in Unix or Linux. The group 'wheel'
in the *BSDs is just another name for 'root' as there is NO 'root'
group. The real difference is that a user has to be in the 'wheel'
group to be able to 'su' to root. It's supposed to be more secure
that way.
However I have had some design problems with the way it is
implemented, as there are holes in the concept from my POV.
It's basically nothing more than a two-password way of getting
root privledges - but when I've questioned it no one I've received
no good reasons why it isn't more secure.
At it is installed 'wheel' is just the name of
the group that 'root' is in, and there are no other users
in 'wheel' except group when you install it. If you change the
name of group 0 in /etc/groups to wheel it will look the same as
in *BSD. And if you remove group 0, any user can su to root.
SCO has an "asroot" facility, which see. Asroot can be used somewhat
like "sudo" to run various commands as root. It works, of course,
through the authentication subsystem.
Which is lot better than letting a user su to root as you can
restrict their privledges.
As a correction, the daemons aren't launched by the OS. They're
launched by scripts. Although it's arguably a Linux & SCO weakness
that all these scripts are launched by the init process in the "root"
context, they can and some do downgrade themselves by running "su". As
a simple example, the telnet or ssh daemons run as root. But when a
particular user logs in, that instance downgrades to that user's
rights.
SUID isn't that widespread on most systems. For example, the "su"
command is SUID root for much the same reason that the telnetd runs as
root. But a user without "su" authorization isn't allowed to execute
it regardless.
--RLR
Bill
--
Bill Vermillion - bv @ wjv . com
FWIW the PAM module pam_wheel.so controls su privileges and the
"wheel" group. Linux distros vary on the default configuration. In
the Oracle (!) Red Hat Enterprise clone I'm looking at just now it's
commented out of /etc/pam.d/su so "wheel" is just another group on
this system.
--RLR
.
- References:
- The use of the auth-group (and auth-user) ?
- From: Koppe
- Re: The use of the auth-group (and auth-user) ?
- From: Bill Vermillion
- Re: The use of the auth-group (and auth-user) ?
- From: Koppe
- Re: The use of the auth-group (and auth-user) ?
- From: ThreeStar
- Re: The use of the auth-group (and auth-user) ?
- From: Bill Vermillion
- The use of the auth-group (and auth-user) ?
- Prev by Date: Re: WARNING LOW POWER
- Next by Date: Re: The use of the auth-group (and auth-user) ?
- Previous by thread: Re: The use of the auth-group (and auth-user) ?
- Next by thread: Re: The use of the auth-group (and auth-user) ?
- Index(es):
Relevant Pages
|
Loading