Re: Boot normally, but give me a root shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2016-10-09 at 08:06 +0200, Joachim Backes wrote:
> On 10/08/16 19:02, Greg Woods wrote:
> > 
> > 
> > On Sat, Oct 8, 2016 at 9:42 AM, Joachim Backes
> > <joachim.backes@xxxxxxxxxxxxxx <mailto:joachim.backes@xxxxxxxxxxxxxx>>
> > wrote:
> > 
> >     If you add "init=/bin/bash" to the grub line, there is simply a root
> >     shell started (with id=0), so no password is required
> > 
> > 
> > This doesn't change what I said about "vanilla system"; it requires the
> > installed system be explicitly modified.
> 
> Hi Greg,
> 
> I'm running a F24 system with the kernel 4.7.7-200.fc24.x86_64 (no 
> vanilla!), and adding "init=/bin/bash" to the grub line really boots 
> into a root shell!

Of course, but note that Bash is now process 1 and will not do many of
the things process 1 normally does, such as running all the init
scripts in /etc/init.d. Expect your system not to work normally.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux