unable to do su from user to become super user

Beecher Rintoul akbeech at gmail.com
Mon Oct 10 13:01:58 PDT 2005


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 at presario.com:/usr/obj/usr/src/sys/MYKERNEL 
> amd64 I cannot go from user to super user.
>   su: error while loading shared libraries: libpam.so.0: cannot open shared
> 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
---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at 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
/ \ 
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051010/94d4eae5/attachment-0001.bin


More information about the freebsd-questions mailing list