[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#776554: sulogin says "System Maintenance Mode", doesn't asks for a password if the /etc/passwd (or shadow) entry for the user is empty



Package: Busybox
Version: v1.22.1
 
If the /etc/passwd (or shadow) entry for the user is empty, I invoke `sulogin' without arguments from an ordinary shell
prompt, it prints `System Maintenance Mode', rather than to ask user for a password “Give root password for system maintenance
(or type Control-D for normal startup)”
 
Here is a transcript:
 
  $ sulogin
  System Maintenance Mode
  $ /sbin/hello
  System Maintenance Mode
  $
 
 
I suggest that sulogin always ask user for a password even if /etc/passwd (or shadow) entry for the user is empty.
 
Kernel version: Linux lrc-lsp-k2-a-0 3.10.47-rt50 #1 SMP PREEMPT RT Tue Dec 16 16:04:37 EET 2014 armv7l GNU/Linux
 
Shared C library: libc-2.19-2014.04.so
 
 

Reply to: