|  | @@ -16,24 +16,6 @@ Estimated required disk space:  &shadow-compsize;</screen>
 | 
	
		
			
				|  |  |  <sect2>
 | 
	
		
			
				|  |  |  <title>Installation of Shadow</title>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -<para>The <userinput>login</userinput>, <userinput>getty</userinput> and
 | 
	
		
			
				|  |  | -<userinput>init</userinput> programs (and some others) maintain a number
 | 
	
		
			
				|  |  | -of logfiles to record who are and who were logged in to the system.  These
 | 
	
		
			
				|  |  | -programs, however, don't create these logfiles when they don't exist, so if
 | 
	
		
			
				|  |  | -you want this logging to occur you will have to create the files yourself.
 | 
	
		
			
				|  |  | -The Shadow package needs to detect these files in their proper place, so we
 | 
	
		
			
				|  |  | -create them now, with their proper permissions:</para>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
 | 
	
		
			
				|  |  | -chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -<para>The <filename>/var/run/utmp</filename> file lists the users that are
 | 
	
		
			
				|  |  | -currently logged in, the <filename>/var/log/wtmp</filename> file who
 | 
	
		
			
				|  |  | -<emphasis>were</emphasis> logged in and when.
 | 
	
		
			
				|  |  | -The <filename>/var/log/lastlog</filename> file shows for each user when he
 | 
	
		
			
				|  |  | -or she last logged in, and the <filename>/var/log/btmp</filename> lists the
 | 
	
		
			
				|  |  | -bad login attempts.</para>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  <para>Shadow hard-wires the path to the <userinput>passwd</userinput> binary
 | 
	
		
			
				|  |  |  within the binary itself, but does this the wrong way. If a
 | 
	
		
			
				|  |  |  <userinput>passwd</userinput> binary is not present before installing Shadow,
 |