On Thu, Apr 09, 2009 at 09:25:29AM +0200, Jan Engelhardt wrote:
> If someone has some shared root time for a screen session, let's hear it.

I'll go one step further and give you a script which you can run in a
debootstrap chroot.  You'll see the superfluous password prompt after
the MOTD.

A few notes:

  * The script is (in theory) idempotent, in case you need to run it again.
    In any case, what it does should be obvious.

  * You'll want to run losetup before each login; the loop device seems
    to go away with the dm-crypt device.
  
  * I tried using su instead of login, but while logging in works okay,
    logging out fails horrendously.  (It seems to try to unmount as the
    user instead of root.)


-- 
<elmo> Joy: thanks, joy
<doogie> elmo: that's redundant, elmo
<elmo> doogie: go play in traffic
<doogie> ah, the elmo we know and love

Attachment: 509234.sh
Description: Bourne shell script

Reply via email to