I would check the passwd and shadow entries in the nsswitch.conf file. They should have "files" listed as the first entry. Oh, and also make sure that the /etc/shadow file exists and contains a root entry. And that it isn't disabled.
Next, check the pam configuration (in /etc/pam.d). It may be missing a module to retrieve the root user. Of course, I could be way off base with those suggestions, somebody else may have better ideas. But your problem sounded like a low-level authentication issue. _______________________________________________________________________ Kevin Keane | Systems Architect | University of San Diego ITS | [email protected] Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859 | Text: 760-721-8339 *REMEMBER! **No one from IT at USD will ever ask to confirm or supply your password*. These messages are an attempt to steal your username and password. Please do not reply to, click the links within, or open the attachments of these messages. Delete them! On Fri, Dec 13, 2019 at 10:26 AM Squaire, Stephen <[email protected]> wrote: > Yes, both files are present. The passwd file contains the root user. Is > there something I should be looking for in the nsswitch.conf file? > > > > *From: *Kevin Keane <[email protected]> > *Reply-To: *xCAT Users Mailing list <[email protected]> > *Date: *Friday, December 13, 2019 at 12:09 PM > *To: *xCAT Users Mailing list <[email protected]> > *Subject: *Re: [xcat-user] Debus Failure > > > > Does your stateless image (on the management node somewhere under your > /install directory) contain a /etc/passwd file? Is there an > /etc/nsswitch.conf file? > > _______________________________________________________________________ > Kevin Keane | Systems Architect | University of San Diego ITS | > [email protected] > Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859 > | Text: 760-721-8339 > > *REMEMBER! **No one from IT at USD will ever ask to confirm or supply > your password*. > These messages are an attempt to steal your username and password. Please > do not reply to, click the links within, or open the attachments of these > messages. Delete them! > > > > > > > > On Fri, Dec 13, 2019 at 9:14 AM Squaire, Stephen <[email protected]> > wrote: > > Hello, > > > > I am rather new to xCAT, so this may be a stupid question (and if so > apologies in advance). I checked the archives and was unable to find > anything related, so now I’m writing here. > > > > I am building a CentOS 7.7 stateless instance. When I deploy to a node, > the node will boot but I am unable to log in as root from the console. I > also added a user (via doing a chroot into rootimg and adding a user), but > when I attempt to log in via said user on the console I get the error > “User not known to underlining authentication module”. When I check the > logs I get the below logs. > > > > Any help on this would be greatly appreciated. > > > > Thank you! > > > > > > Dec 12 17:21:00 cn1 systemd: INFO Starting Update UTMP about System > Runlevel Changes... > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 systemd: INFO Started Update UTMP about System > Runlevel Changes. > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > Dec 12 17:21:00 cn1 systemd: INFO Startup finished in 4.923s (kernel) + > 31.755s (initrd) + 32min 58.284s (userspace) = 33min 34.963s. > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Failed to start message bus: Could > not get UID and GID for username "dbus" > > Dec 12 17:21:00 cn1 systemd: NOTICE dbus.service: main process exited, > code=exited, status=1/FAILURE > > Dec 12 17:21:00 cn1 systemd: NOTICE Unit dbus.service entered failed > state. > > Dec 12 17:21:00 cn1 systemd: WARNING dbus.service failed. > > Dec 12 17:21:00 cn1 systemd: INFO Started D-Bus System Message Bus. > > Dec 12 17:21:00 cn1 systemd: ERR Failed to connect to system bus: > Resource temporarily unavailable > > Dec 12 17:21:00 cn1 systemd: ERR Failed to initialize D-Bus connection: > Resource temporarily unavailable > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Could not get password database > information for UID of current process: User "???" unknown or no memory to > allocate password entry > > Dec 12 17:21:00 cn1 dbus-daemon: INFO Unknown username "root" in message > bus configuration file > > > > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user > > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user >
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
