su should exit with a message that root is locked
Bug #1153901 reported by
Byron Hawkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On a wubi install, attempting "su" results in a bewildering rejection of the only password known to the user. Instead, the "su" command should politely respond, "The root account is locked. To gain root privileges, use 'sudo -s' and enter your user password". Otherwise, how can anyone know what to do? It's crazy to knowningly lock the user out of their own OS. You've got to tell them how they are supposed to get in as root.
no longer affects: | wubi |
To post a comment you must log in.
Given that the installer never asks you to set a root password, it's a bit odd to assume that su (which asks for root's password) would work, but it's perhaps fair to expect that shadow might give a bit of a hint.