Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to find out how to activate that I'm prompted for a password when i boot in single user mode under linux, but I can't find it.

Where can I set this option?

share|improve this question
up vote 0 down vote accepted

You'll need to add an entry to your /etc/inittab

su:S:wait:/sbin/sulogin

should do it.

This will force sudo, which requires a login password.

share|improve this answer
    
thanks, does that differ between debian-based and rh-based distributions? – user857990 Aug 24 '12 at 10:59
    
It shouldn't - both use /etc/inittab – Rory Alsop Aug 24 '12 at 11:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .