Re: Request for lh_config switch to set default password

2008-02-22 Thread Jordi Pujol
El Thursday 21 February 2008 23:56:17 maybeway36 va escriure:
 The instructions for setting the user groups only work with your
 live-initramfs and not the regular version, right?


Why ?

 ___
 debian-live-devel mailing list
 debian-live-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel



___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: Request for lh_config switch to set default password

2008-02-21 Thread Michael Creel
On Thu, Feb 21, 2008 at 12:18 PM, Jordi Pujol [EMAIL PROTECTED] wrote:

 El Wednesday 20 February 2008 22:38:50 maybeway36 va escriure:
  How do I install the live-initramfs mod in to the live image?
 

 If you want to test it, debuild will create a package to install on a
 Debian
 Live,

 debuild -us -uc -b

 In this version is essential to create a live.conf with all the variable
 values needed,
 take care with that because default values for some important variables
 are
 not assumed internally, i.e. persistent

 if someone is interested, I can post an updated file with some minor
 changes
 and fixes,

  On Wed, Feb 20, 2008 at 11:06 AM, Jordi Pujol [EMAIL PROTECTED]
 wrote:
   El Wednesday 20 February 2008 14:52:09 Michael Creel va escriure:
Hello all,
   
 This has been discussed on IRC a little, but I wanted to summarize
 why
 I think that a means of letting the user set the password at the
 time
 the bootable image is created (or booted) would be good. Right now,
 the default password is live, and sudo is enabled. This might
 pose a
 security risk. Suppose that
 * people know that Debian Live is being used on a system
 * the password has been left at the default
 * the system ordinarily gets its IP by dhcp
 * this IP is known to people
 * the DL user activates ssh
 If this is the case, then I believe that an outsider could log in
 and
 then have access to sudo, without the DL user being aware of what
 is
 going on.

 There was a Headless Knoppix
 (http://www.knoppix.net/wiki/Headless_Knoppix) that might be useful
 as
 a reference. In my opinion, a solution that allows the password to
 be
 specified using a switch to lh_config would be ideal.
  
Hello all,
  
let's go to action,
  
that idea is already done in my live-initramfs mod,
  
  
  
 http://lists.alioth.debian.org/pipermail/debian-live-devel/2008-January/0
  03044.html
  
where in the live.conf file we can specify the username,
 userfullname,
   user uid, user password, and , using the instruccions from the
 following
   post, also the user groups
  
  
  
 http://lists.alioth.debian.org/pipermail/debian-live-devel/2008-February/
  003101.html
  
Use my live-initramfs mod to solve this problem,
  
Best Regards,
  
Jordi
  
 Michael
  


Dear Jordi and list,
I have had a look at this, and it certainly seems to do what I need for my
own purposes. However, for the PelicanHPC project, my intention is to allow
users to make their own version of  PelicanHPC by modifying a single script,
with the only requirement being that a recent version of live-helper be
installed. I don't want to burden them with the need to do any special
configurations/installations. So I really hope that some of this can find
its way into the mainstream live-initramfs. The part for the password looks
to be a reasonable simple modification to  the 10adduser script.
Cheers, Michael
___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: Request for lh_config switch to set default password

2008-02-21 Thread maybeway36
The instructions for setting the user groups only work with your
live-initramfs and not the regular version, right?

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: Request for lh_config switch to set default password

2008-02-20 Thread maybeway36
How do I install the live-initramfs mod in to the live image?

On Wed, Feb 20, 2008 at 11:06 AM, Jordi Pujol [EMAIL PROTECTED] wrote:
 El Wednesday 20 February 2008 14:52:09 Michael Creel va escriure:


  Hello all,
   This has been discussed on IRC a little, but I wanted to summarize why I
   think that a means of letting the user set the password at the time the
   bootable image is created (or booted) would be good. Right now, the default
   password is live, and sudo is enabled. This might pose a security risk.
   Suppose that
   * people know that Debian Live is being used on a system
   * the password has been left at the default
   * the system ordinarily gets its IP by dhcp
   * this IP is known to people
   * the DL user activates ssh
   If this is the case, then I believe that an outsider could log in and then
   have access to sudo, without the DL user being aware of what is going on.
  
   There was a Headless Knoppix
   (http://www.knoppix.net/wiki/Headless_Knoppix) that might be useful as a
   reference. In my opinion, a solution that allows the password to be
   specified using a switch to lh_config would be ideal.

  Hello all,

  let's go to action,

  that idea is already done in my live-initramfs mod,

  
 http://lists.alioth.debian.org/pipermail/debian-live-devel/2008-January/003044.html

  where in the live.conf file we can specify the username, userfullname, user
  uid, user password, and , using the instruccions from the following post,
  also the user groups

  
 http://lists.alioth.debian.org/pipermail/debian-live-devel/2008-February/003101.html

  Use my live-initramfs mod to solve this problem,

  Best Regards,

  Jordi

  
  
   Michael



  ___
  debian-live-devel mailing list
  debian-live-devel@lists.alioth.debian.org
  http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel