* SU and /etc/group: weird behaviour!!!
@ 1996-11-25 5:00 Thomas Leitner
0 siblings, 0 replies; only message in thread
From: Thomas Leitner @ 1996-11-25 5:00 UTC (permalink / raw)
Hi,
On a DEC 3000/600 running OSF1 V3.0, 358.78 I need to give certain
users the ability to su to root. The usual way for that is to just put
them in the system group in /etc/group.
Now: As soon as I do this, these particular users cannot login anymore
and I cannot even su to them:
# head -1 /etc/group
system:*:0:tom
# su tom
No shell
# su - tom
No directory
When I take him out of the system group, everything works as normal:
# head -1 /etc/group
system:*:0:
# su tom
$ ^D
# su - tom
{testbox}/home/tom>
I need to add, that there are several users with the same UID and GID
in /etc/passwd:
tom:xxxxxxxxxxx:1033:26:tom:/home/tom:/bin/ksh
tomlocal:xxxxxx:1033:26:Tom Local Acct:/home/tomlocal:/bin/ksh
tomsys:xxxxxxxx:1033:26:Tom System Acct:/home/tomsys:/bin/ksh
and that the box is running in base (BSD) security but I don't think
that this makes any difference.
I know that its no good to have several users with the same UID and GID
in the /etc/passwd file but the problem also occurs with users which
have a unique UID and GID !!
Both /etc/group and /etc/passwd look perfectly normal otherwise and I can't
see anything strange.
Any ideas anyone?
Thanks -- Tom
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-25 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-25 5:00 SU and /etc/group: weird behaviour!!! Thomas Leitner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox