[lxc-users] credentials for fedora container

Kevin Wilson wkevils at gmail.com
Wed Dec 25 14:02:53 UTC 2013


Hello,

I commented the line  "session    required     pam_loginuid.so"
in login, and rebooted the container, and the problem persisted.
I also commented this same line in
/usr/local/var/lib/lxc/fedoraCT/rootfs/etc/pam.d/remote
and rebooted, and still the same problem, cannot login with
root/root.

There is no file named "sshd" under
/usr/local/var/lib/lxc/fedoraCT/rootfs/etc/pam.d/:

ls -al   /usr/local/var/lib/lxc/fedoraCT/rootfs/etc/pam.d/
total 76
drwxr-xr-x  2 root root 4096 Dec 24 21:10 .
drwxr-xr-x 52 root root 4096 Dec 24 21:10 ..
-rw-r--r--  1 root root  192 Nov 18 13:05 chfn
-rw-r--r--  1 root root  192 Nov 18 13:05 chsh
-rw-r--r--  1 root root  232 Oct 14 17:03 config-util
-rw-r--r--  1 root root  701 Oct 14 17:03 fingerprint-auth
-rw-r--r--  1 root root  796 Nov 18 13:05 login
-rw-r--r--  1 root root  154 Oct 14 17:03 other
-rw-r--r--  1 root root  188 Aug  3 23:16 passwd
-rw-r--r--  1 root root  760 Oct 14 17:03 password-auth
-rw-r--r--  1 root root  310 Oct 14 17:03 postlogin
-rw-r--r--  1 root root  681 Nov 18 13:05 remote
-rw-r--r--  1 root root  143 Nov 18 13:05 runuser
-rw-r--r--  1 root root  138 Nov 18 13:05 runuser-l
-rw-r--r--  1 root root  743 Oct 14 17:03 smartcard-auth
-rw-r--r--  1 root root  540 Nov 18 13:05 su
-rw-r--r--  1 root root  137 Nov 18 13:05 su-l
-rw-r--r--  1 root root  760 Oct 14 17:03 system-auth
-rw-r--r--  1 root root  181 Dec  6 00:22 systemd-user

Regards,
Kevin


More information about the lxc-users mailing list