PATCH: add --loginpause to mingetty

Bernardo Innocenti bernie at codewiz.org
Wed Jan 9 19:20:41 EST 2008


Hello Florian,

the attached patches add an option to pause login until the user hits
a key.

We need something like it on OLPC because:

 - we don't want to set an empty password for either user root or olpc

 - at the same time, we want to allow users to login as root at the
   console

 - finally, we do not wish to waste memory on shells the user hasn't
   yet used

The security model we are implementing is very different from UNIX: we
ultimately trust the user at the console, but we don't trust applications
and we don't want them to gain root privileges using su or sudo with no
password.

I'm committing these changes to the OLPC-2 branch of mingetty in
Fedora CVS.  Please, let me know you'd like to merge them or
something similar.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingetty-1.07-loginpause.patch
Type: text/x-patch
Size: 2447 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/devel/attachments/20080109/7e8712e3/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingetty-1.07-rpm.patch
Type: text/x-patch
Size: 1836 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/devel/attachments/20080109/7e8712e3/attachment-0003.bin 


More information about the Devel mailing list