[Bug 234421] Re: single-user mode should work when libraries are broken
Musaab Jameel
mosaabjm at yahoo.com
Wed Jul 9 10:50:56 UTC 2014
** Changed in: friendly-recovery (Ubuntu)
Assignee: (unassigned) => Musaab Jameel (mosaabjm)
** Changed in: friendly-recovery (Ubuntu)
Status: Triaged => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to friendly-recovery in Ubuntu.
https://bugs.launchpad.net/bugs/234421
Title:
single-user mode should work when libraries are broken
Status in “friendly-recovery” package in Ubuntu:
New
Bug description:
Binary package hint: friendly-recovery
It would be great if the recovery-menu project could add a static-
compiled stub that tries to run the recovery-menu with bash, and if
that fails it would try to fall back to a known static-compiled shell
(such as sash, busybox-static, or bash-static) then falling back to
/sbin/sulogin if nothing else is available.
In my opinion, attempting to fall-back to a static-compiled shell
before falling back to sulogin does not significantly present any
greater security concern. The Ubuntu default is to have the root
password locked out, and administrators which like security will know
that the best way to protect single-user mode is to add a GRUB-based
password, as that retains the security of having the root account
locked out. With the default installation of recovery-menu, Ubuntu has
moved in a direction requiring boot-loader security to prevent the
system from being manipulated in single-user mode. (With just the
three options now available, it may be possible for a person to "fix"
another person's X configuration to something unexpected.)
Additionally, with the recovery-menu logic automatically falling back
to a staticly compiled shell, we can hopefully avoid static shell
packages shadowing the root account to create a "root account with a
static shell", like sash does with the "sashroot" account in hardy.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/234421/+subscriptions
More information about the foundations-bugs
mailing list