User Tools

Site Tools


docs:lxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
docs:lxc [2013-11-24 15:48]
glen [lxc-stop is not graceful]
docs:lxc [2013-11-24 16:18]
glen [loginuid]
Line 76: Line 76:
 ==== loginuid ==== ==== loginuid ====
  
-''​pam_loginuid.so'' ​does not allow ''​sshd''​ to login+having ​''​audit_control'' ​dropped: 
 +<file config config>​ 
 +lxc.cap.drop = audit_control 
 +</​file>​
  
 +''​pam_loginuid.so''​ does not allow ''​sshd''​ to login:
 <​file>​ <​file>​
 Nov 24 16:02:10 test sshd[2694]: error: PAM: pam_open_session():​ Cannot make/remove an entry for the specified session Nov 24 16:02:10 test sshd[2694]: error: PAM: pam_open_session():​ Cannot make/remove an entry for the specified session
 </​file>​ </​file>​
  
- +You can either ​[[http://​kb.parallels.com/​en/​112597|workaround]] to disable ''​pam_loginuid.so''​ in the authentication rules:
-Similar problem as [[http://​kb.parallels.com/​en/​112597|here]]to workaround, ​disable ''​pam_loginuid.so''​ in the authentication rules:+
 <​file>​ <​file>​
 # sed '/​pam_loginuid.so/​s/​^/#/​g'​ -i  /​etc/​pam.d/​* # sed '/​pam_loginuid.so/​s/​^/#/​g'​ -i  /​etc/​pam.d/​*
 </​file>​ </​file>​
  
 +Or just **do not** drop the capability.
 ===== Vserver comparision ===== ===== Vserver comparision =====
  
docs/lxc.txt · Last modified: 2016-08-21 00:36 by glen