At 11:13 AM -0500 6/2/07, Justin W wrote: >I've just started the process of virtualizing some of my servers into >one machine. Right now I've been running Fedora releases for my home >server, but keeping up with release cycles are too hard to do, >especially when they usually coincide with me being in school. I >successfully got Centos to run within Fedora using Xen, but now I'm >having problems with logging in. > >First, root access is allowed directly when I use virt-manager to access >the xvc0 console. If I `su -' to my user (justin) and then `su -' again >to root, I am prompted for the password, and once entered, I'm root again. > >If I try the same technique when logging into the system as justin >through ssh, I'm not allowed to `su -' to root. When I enter the >password, I am returned with a "incorrect password" message. I know that >the password being entered is correct. Following is the only logs I >could find regarding my failed attempt to su to root (from >/var/log/secure and /var/log/audit/audit.log) > > May 31 15:04:24 zeus su: pam_unix(su-l:auth): authentication > failure; logname=justin uid=1000 euid=0 tty=pts/0 ruser=justin > rhost= user=root > > type=USER_AUTH msg=audit(1180641866.633:212): user pid=2570 uid=1000 > auid=1000 subj=user_u:system_r:unconfined_t:s0 msg='PAM: > authentication acct=root : exe="/bin/su" (hostname=?, addr=?, > terminal=pts/0 res=failed)' ... Try booting that VM appending "enforcing=0" to the kernel command line. If that helps, then it really is an SELinux issue. FWIW, I'm "su -"ing to root on CentOS 5 with SELinux disabled. I may get around to enabling it someday, but not right now. -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/>