cvs commit: ALFS/profiles/LFS/chapter06 pwdgroup.xml shadow.xml

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Thu Jan 15 10:51:27 PST 2004


thomasp     04/01/15 11:51:27

  Modified:    profiles/LFS/chapter06 pwdgroup.xml shadow.xml
  Log:
  moved log file creation from shadow to the passwd/group file section
  
  Revision  Changes    Path
  1.3       +14 -1     ALFS/profiles/LFS/chapter06/pwdgroup.xml
  
  Index: pwdgroup.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/LFS/chapter06/pwdgroup.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pwdgroup.xml	9 Dec 2003 17:21:55 -0000	1.2
  +++ pwdgroup.xml	15 Jan 2004 18:51:27 -0000	1.3
  @@ -1,4 +1,4 @@
  -<stage name="Creating the passwd and group files.">
  +<stage name="Creating the passwd, group and log files.">
   	<textdump base="/etc">
   		<file>passwd</file>
   		<content>=root:x:0:0:root:/root:/bin/bash</content>
  @@ -21,4 +21,17 @@
   			=audio:x:11:
   		</content>
   	</textdump>
  +
  +	<execute command="touch">
  +		<param>/var/run/utmp</param>
  +		<param>/var/log/{btmp,lastlog,wtmp}</param>
  +	</execute>
  +		
  +	<permissions base="/var" mode="644">
  +		<name>run/utmp</name>
  +		<name>log/btmp</name>
  +		<name>log/lastlog</name>
  +		<name>log/wtmp</name>
  +	</permissions>
  +
   </stage>
  
  
  
  1.5       +0 -12     ALFS/profiles/LFS/chapter06/shadow.xml
  
  Index: shadow.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/LFS/chapter06/shadow.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- shadow.xml	16 Dec 2003 01:26:49 -0000	1.4
  +++ shadow.xml	15 Jan 2004 18:51:27 -0000	1.5
  @@ -18,18 +18,6 @@
   		</stageinfo>
   
   		<execute command="touch">
  -			<param>/var/run/utmp</param>
  -			<param>/var/log/{btmp,lastlog,wtmp}</param>
  -		</execute>
  -		
  -		<permissions base="/var" mode="644">
  -			<name>run/utmp</name>
  -			<name>log/btmp</name>
  -			<name>log/lastlog</name>
  -			<name>log/wtmp</name>
  -		</permissions>
  -
  -		<execute command="touch">
   			<param>/usr/bin/passwd</param>
   		</execute>
   
  
  
  



More information about the alfs-log mailing list