Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#13203 - root password when system fail to normal bootup
Attached to Project:
Arch Linux
Opened by Ivan Yurasov (vanDake) - Wednesday, 11 February 2009, 14:58 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 17 February 2009, 23:50 GMT
Opened by Ivan Yurasov (vanDake) - Wednesday, 11 February 2009, 14:58 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 17 February 2009, 23:50 GMT
|
DetailsI have installed sudo, so I disable root account by adding "nopass" to root in /etc/shadow
I'm still allowed to do any administrations task. But yesterday at new boot my computer fail to complete fs-check, and ask me for root password (stop at ramfs stage) so I can't login and all that I can do it's press control-D to reboot and I returned to ask root password (same ramfs stage) to resolve it I need bootup from livecd, mount rootfs, chroot on it, and change root password by passwd root I think, this situation may be on non-unique My suggestion is: if check root password fail, then ask password of user with uid 1000 on the most systems it the same person with root |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 17 February 2009, 23:50 GMT
Reason for closing: Won't implement
Tuesday, 17 February 2009, 23:50 GMT
Reason for closing: Won't implement
Take a look at what inittab does when you boot into 'S' or 'single' mode: it runs /sbin/sulogin. Read the man page for sulogin.
The root account has been part of unix OSes for long before ubuntu came along... *sigh*
it's just more secure
I used it long before ubuntu ;)
check ArchWiki
http://wiki.archlinux.org/index.php/Disable_root_password_and_gain_su_sudo_with_no_password
if it is not "native", I think it is better to delete article
sudo isn't a simple program, see the man page, and can easily cause problems (e.g.
FS#12263- sudo's new umask handling can cause library permission errors).I always tend to handle it with care and login in a root shell for administrative tasks that modify my system.
And talking about security: if someone exploits a buffer overflow to get a shell in my machine I don't see the advantages of sudo over su (further insights welcome).
Unless we're talking code-level (I haven't looked at either app), I am fairly certain that sudo is not "more" secure than su.
Disabling root is not supported on Arch Linux. I am fine with closing this as "Won't Implement"
The wiki page has been updated.
Can this be closed?