Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2005 12:01:28 -0800
From:      Beecher Rintoul <akbeech@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Damon Blom <surferdamon@adelphia.net>, questions@freebsd.org
Subject:   Re: unable to do su from user to become super user
Message-ID:  <200510101201.41365.akbeech@gmail.com>
In-Reply-To: <200510101239.36611.surferdamon@adelphia.net>
References:  <200510101239.36611.surferdamon@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4278548.egeXfl9HzN
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 10 October 2005 11:39 am, Damon Blom wrote:
> Hi
> FreeBSD presario.com 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Oct  9
> 22:44:53 PDT 2005     root@presario.com:/usr/obj/usr/src/sys/MYKERNEL=20
> amd64 I cannot go from user to super user.
>   su: error while loading shared libraries: libpam.so.0: cannot open shar=
ed
> object file: No such file or directory
>   In /usr/lib I added pointer from libpam.so.0 to libpam.so.3
>       **** snip ***
> -r--r--r--  1 root  wheel  2841092 Oct 10 07:28 libc.a
> lrwxr-xr-x  1 root  wheel       14 Oct 10 07:28 libc.so -> /lib/libc.so.6
> -r--r--r--  1 root  wheel  2967924 Oct 10 07:28 libc_p.a
> -r--r--r--  1 root  wheel  3342666 Oct 10 07:28 libc_pic.a
> -r--r--r--  1 root  wheel   388758 Oct 10 07:28 libc_r.a
> lrwxr-xr-x  1 root  wheel       11 Oct 10 07:28 libc_r.so -> libc_r.so.6
> -r--r--r--  1 root  wheel   129704 Aug 16 09:45 libc_r.so.5
> -r--r--r--  1 root  wheel   130440 Oct 10 07:28 libc_r.so.6
> -r--r--r--  1 root  wheel   404936 Oct 10 07:28 libc_r_p.a
>    *** snip ***
> -r--r--r--  1 root  wheel   233062 Oct 10 07:28 libpam.a
> lrwxr-xr-x  1 root  wheel       11 Oct 10 07:28 libpam.so -> libpam.so.3
> lrwxr-xr-x  1 root  wheel       11 Oct 10 10:50 libpam.so.0 -> libpam.so.3
> -r--r--r--  1 root  wheel    35544 Aug 16 09:45 libpam.so.2
> -r--r--r--  1 root  wheel    35584 Oct 10 07:28 libpam.so.3
>    *** snip ***
>   rebuilt system (make buildworld buildkernel installkernel installworld)
>  no  help.
>  I had just finished doing portupgrade -a
>   did pkgdb -F
>  I usually just do xdm and use kde as user.
>  system boots fine multiuser and I can login as root no problem. I just
> can't login as user and become root with su
>     still a newbie.
>       Thank's so much
>            Damon

Did you add the user to /etc/group?

wheel:*:0:root,username,username

Beech
=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - System Administrator - akbeech@gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \=20
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart4278548.egeXfl9HzN
Content-Type: application/pgp-signature

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

iD8DBQBDSsilVq19LUoGB+MRAgQmAJ9umstbrprzsmGxm05rwWa6e2/zAQCeNPkQ
qNPbsQY+sxJiHAwszIVIlG0=
=RpTV
-----END PGP SIGNATURE-----

--nextPart4278548.egeXfl9HzN--



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