why Linux server do not ask password in single user mode

chaitanya gudur

Why doesn't RHEL server ask for a password in single user mode? Red Hat Enterprise Linux Server release 6.6 (Santiago), in case it's relevant.

I had many cases where I had to reset root password in single user mode, I tried to figure out why system does not ask password in single user mode ( Run level 1).

Austin Hemmelgarn

Because there's actually no point in most cases.

If the system is not physically secured and does not have boot access locked down properly, you don't even need to use single user mode to do things you would normally use it for, you can just boot some other OS on the system and do the same things.

If the system is physically secured (regardless of whether boot access is locked down or not), then you realistically don't need a password, because anybody who could get to the system to use single-user mode already has access to the system via other means, and doesn't need single-user mode (IOW, being able to pass the physical security checks is sufficient authorization for access to single user mode).

The only time it is potentially helpful is if the system is not physically secured, but you have the boot sequence locked down such that people can't boot alternate operating systems on the device. However, such a situation actually isn't very common outside of big enterprise settings (the same type of setting where you would run Windows systems with the main user no having admin access to the system), and it's not hard for them to just enable password protection.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I demand a password on single user mode?

From Dev

Ctrl + C not working on single user mode on Linux

From Dev

linux + single user mode and set network

From Dev

Databases for a single user, is there a non server mode?

From Dev

Cant access as single user mode - what can we do to recover Linux machine

From Dev

force login password prompt in Debian 8 single user mode

From Dev

Does Ubuntu block the single user mode without password

From Dev

Why is it possible to change the password of an admin user on linux?

From Dev

Why does sudo ask for a password?

From Dev

LDAP-Error in Identity Server 4.6 when using user registration with "Ask password from user"

From Dev

Why do some applications ask the user if they follow daylight saving time?

From Dev

Why does systemctl asks for a sudo password in user mode?

From Dev

Can BitLocker NOT ask for password on every single boot?

From Dev

SQL Server 2008 R2 Stuck in Single User Mode

From Dev

Ubuntu 14 server edition, how to boot into single-user mode?

From Dev

Why is the network not stopped on shutdown / single-user mode?

From Dev

Java Ask the user for password 3 times

From Dev

Java Ask the user for password 3 times

From Dev

Make sudo ask for password for different user

From Dev

Have sudo ask the password of the user that it's switching to

From Dev

Do I need a keyring password on a luks encrypted single user machine?

From Dev

SQL Server database is set Multi-User Mode and return error Single-User Mode

From Dev

How do I boot into single-user mode from GRUB?

From Dev

How do I boot into single-user mode from GRUB?

From Dev

Why does su ask for a password if stdin is redirected? How do I avoid this?

From Dev

Dropbear -> Openssh: Why does it ask for a password now?

From Dev

Why does pam_mount ask for password?

From Dev

Why does Truecrypt ask for administrator password?

From Dev

Ask user to change their password after their password expires, but not during their session

Related Related

  1. 1

    How do I demand a password on single user mode?

  2. 2

    Ctrl + C not working on single user mode on Linux

  3. 3

    linux + single user mode and set network

  4. 4

    Databases for a single user, is there a non server mode?

  5. 5

    Cant access as single user mode - what can we do to recover Linux machine

  6. 6

    force login password prompt in Debian 8 single user mode

  7. 7

    Does Ubuntu block the single user mode without password

  8. 8

    Why is it possible to change the password of an admin user on linux?

  9. 9

    Why does sudo ask for a password?

  10. 10

    LDAP-Error in Identity Server 4.6 when using user registration with "Ask password from user"

  11. 11

    Why do some applications ask the user if they follow daylight saving time?

  12. 12

    Why does systemctl asks for a sudo password in user mode?

  13. 13

    Can BitLocker NOT ask for password on every single boot?

  14. 14

    SQL Server 2008 R2 Stuck in Single User Mode

  15. 15

    Ubuntu 14 server edition, how to boot into single-user mode?

  16. 16

    Why is the network not stopped on shutdown / single-user mode?

  17. 17

    Java Ask the user for password 3 times

  18. 18

    Java Ask the user for password 3 times

  19. 19

    Make sudo ask for password for different user

  20. 20

    Have sudo ask the password of the user that it's switching to

  21. 21

    Do I need a keyring password on a luks encrypted single user machine?

  22. 22

    SQL Server database is set Multi-User Mode and return error Single-User Mode

  23. 23

    How do I boot into single-user mode from GRUB?

  24. 24

    How do I boot into single-user mode from GRUB?

  25. 25

    Why does su ask for a password if stdin is redirected? How do I avoid this?

  26. 26

    Dropbear -> Openssh: Why does it ask for a password now?

  27. 27

    Why does pam_mount ask for password?

  28. 28

    Why does Truecrypt ask for administrator password?

  29. 29

    Ask user to change their password after their password expires, but not during their session

HotTag

Archive