Skip site navigation (1)Skip section navigation (2)
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

--csjV5iuXLa65tnQH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D9876(jlk23) gid=3D20(staff) groups=3D20(staff), 0(wheel), 14(sysa=
dmin)
    phoenix:~  grep jlk23 /etc/group=20
    wheel:*:0:root,joe,jlk23
    phoenix:~  ypcat passwd | grep jlk23
    jlk23:XXXX:9876:20:Joe Karthauser:/users/jlk23:/local/bin/tcsh

Any ideas?

Joe
--=20
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/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an=
d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--csjV5iuXLa65tnQH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iEYEARECAAYFAkBGXeYACgkQXVIcjOaxUBZtUQCghM2389DI78iTm4T6dpTYW1qO
pGEAoKQSx/9zpjH+ZyT2YWXZa+ctBo+F
=/oAr
-----END PGP SIGNATURE-----

--csjV5iuXLa65tnQH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040303223623.GI1885>