cvs commit: ALFS/profiles/LFS/chapter05 addinguser.xml

jamie at linuxfromscratch.org jamie at linuxfromscratch.org
Mon Jan 26 12:24:59 PST 2004


jamie       04/01/26 13:24:59

  Modified:    profiles/LFS/chapter05 addinguser.xml
  Log:
  -k /dev/null used with useradd to prevent /etc/skel files coming across.
  
  Revision  Changes    Path
  1.2       +1 -1      ALFS/profiles/LFS/chapter05/addinguser.xml
  
  Index: addinguser.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/LFS/chapter05/addinguser.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- addinguser.xml	6 Dec 2003 03:25:45 -0000	1.1
  +++ addinguser.xml	26 Jan 2004 20:24:59 -0000	1.2
  @@ -1,5 +1,5 @@
   <stage name="Adding lfs user">
  -	<execute command="id -u &lfs-user; &> /dev/null || useradd -s /bin/bash -m &lfs-user;" />
  +	<execute command="id -u &lfs-user; &> /dev/null || useradd -s /bin/bash -m -k /dev/null &lfs-user;" />
   
   	<execute command="echo &lfs-user;:&lfs-password; | chpasswd" />
   
  
  
  



More information about the alfs-log mailing list