lkml.org 
[lkml]   [1997]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectThe kernel should try /sbin/sulogin first.
Asking a password before giving access to a shell seems better. I also put
first the correct init location according to the FSSTND.

--- main.c.orig Fri Jan 17 20:19:23 1997
+++ main.c Fri Jan 17 20:21:17 1997
@@ -1013,9 +1013,10 @@
*/

execve(execute_command,argv_init,envp_init);
+ execve("/sbin/init",argv_init,envp_init);
execve("/etc/init",argv_init,envp_init);
execve("/bin/init",argv_init,envp_init);
- execve("/sbin/init",argv_init,envp_init);
+ execve("/sbin/sulogin",argv_init,envp_init);
execve("/bin/sh",argv_init,envp_init);
panic("No init found. Try passing init= option to kernel.");
}
Nicolás Lichtmaier.-
nick@feedback.com.ar
---
FeedBack BBS - Buenos Aires/Argentina. 54-1-903-0000/1
\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans