Date: Wed, 3 Mar 2004 22:36:23 +0000 From: Josef Karthauser <joe@FreeBSD.org> To: hackers@FreeBSD.org Subject: Getting root via a user that was obtained via NIS. Message-ID: <20040303223623.GI1885@genius.tao.org.uk>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Anyone with a bit of NIS saviness care to help me? I've got a FBSD5.2
machine that is connected to a larger network of suns and linux boxen.
Accounts are coordinated via yellow pages and I've managed to get the
FBSD box's NIS setup so that I can log in as one of those users.
The problem is that it appears that I can't SU to root from a user that
exists in the NIS map, but not locally. I've added that user to
/etc/group (wheel) but I get:
phoenix:~ su root
Password:
su: Sorry
phoenix:~ id
uid=9876(jlk23) gid=20(staff) groups=20(staff), 0(wheel), 14(sysadmin)
phoenix:~ grep jlk23 /etc/group
wheel:*:0:root,joe,jlk23
phoenix:~ ypcat passwd | grep jlk23
jlk23:XXXX:9876:20:Joe Karthauser:/users/jlk23:/local/bin/tcsh
Any ideas?
Joe
--
Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/
Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iEYEARECAAYFAkBGXeYACgkQXVIcjOaxUBZtUQCghM2389DI78iTm4T6dpTYW1qO
pGEAoKQSx/9zpjH+ZyT2YWXZa+ctBo+F
=/oAr
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040303223623.GI1885>
