[Rocky (RHEL clone)] can't login/chroot
David Chmelik <[email protected]> Thu, 4 Jan 2024 09:26:39 -0000 (UTC)
| Newsgroups | gmane.linux.redhat.general |
|---|---|
| Message-ID | <[email protected]> |
I started with *BSD UNIX and Slackware GNU/Linux in 1997 but tried RedHat
GNU/Linux that year and roughly in the '0s. Recently I installed Rocky
GNU/Linux (considered successor of CentOS GNU/Linux) and tried to chroot=20
in from Slackware but got the following
error message.
chroot: failed to run command =E2=80=98/bin/bash=E2=80=99: Permission d=
enied
Someone on libera Internet Relay Chat (IRC) #rocky said boot it with
selinux=3Ddisabled, which I did (I entered GRUB2 menu and put that paramete=
r
after a space at end of line that said linux). When I rebooted to
Slackware, nothing had changed (same error message chrooting in).
A weird thing happened when I actually booted Rocky: when I typed my
username into the login prompt it had a few <TABs> or many spaces
afterwards and looked sort of like the following (after typing username).
login: root
Then it was unable to login with the password I had set. Looks like
something went wrong with I/O, though all other (over 10) OS (mostly UNIX/
GNU/Linux) on my PC don't have this problem. Of course, I also had a
user/wheel account but didn't try that yet--do I need to do this to
activate 'selinux=3Ddisabled'? I hope RedHat hasn't--on enterprise GNU/
Linux also used as servers--disabled root login, which traditional system
administrators (sysadmins) since UNIX days tend to use rather than just
'sudo'/'doas'.
--=20
You received this message because you are subscribed to the Google Groups "=
[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].