Re: How to remove redundant login in a FreeBSD live CD?

2009-05-27 Thread Unga

--- On Tue, 5/26/09, Manolis Kiagias son...@otenet.gr wrote:

 From: Manolis Kiagias son...@otenet.gr
 Subject: Re: How to remove redundant login in a FreeBSD live CD?
 To: Unga unga...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Tuesday, May 26, 2009, 6:48 PM
 Unga wrote:
  Hi all
  
  I made a live CD based on FreeBSD 7.2. When the CD
 boots, it prompts for a login. Type root without password
 can log in. It seems this login is redundant.
  
  How to remove this redundant login?
  
  Best regards
  Unga
  
    
 I found this info in a text file of mine (copied from
 somewhere, but don't remember the source). I remember I used
 it once to create an autologin workstation for someone who
 really wouldn't want to know anything about usernames,
 password or this while unix type of thing. And as I recall
 it worked ;)
 
 
 1. Add to the /etc/gettytab file the following strings:
 
             test:\
                
 :al=test:ht:np:sp#115200:
                
                
    Explanation:
 
        
    test:\   - entry name,
 autologin will use this username;
            al=test -
 autologin username;
            ht - terminal
 has real tabs;
            np - 8-bit
 chars;
            (optional)
 sp#115200 - line speed;
 
 2. Edit /etc/ttys file:
 
          
 ttyv0   /usr/libexec/getty test 
        cons25 on  secure
                
                
                
                
              Change
 'Pc' with test.
 

Thank you, Manolis. Your method worked.

Best regards
Unga




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to remove redundant login in a FreeBSD live CD?

2009-05-26 Thread Unga

Hi all

I made a live CD based on FreeBSD 7.2. When the CD boots, it prompts for a 
login. Type root without password can log in. It seems this login is redundant.

How to remove this redundant login?

Best regards
Unga


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to remove redundant login in a FreeBSD live CD?

2009-05-26 Thread Manolis Kiagias

Unga wrote:

Hi all

I made a live CD based on FreeBSD 7.2. When the CD boots, it prompts for a 
login. Type root without password can log in. It seems this login is redundant.

How to remove this redundant login?

Best regards
Unga

  
I found this info in a text file of mine (copied from somewhere, but 
don't remember the source). I remember I used it once to create an 
autologin workstation for someone who really wouldn't want to know 
anything about usernames, password or this while unix type of thing. And 
as I recall it worked ;)



1. Add to the /etc/gettytab file the following strings:

test:\
:al=test:ht:np:sp#115200:
   
Explanation:


   test:\   - entry name, autologin will use this username;
   al=test - autologin username;
   ht - terminal has real tabs;
   np - 8-bit chars;
   (optional) sp#115200 - line speed;

2. Edit /etc/ttys file:

  ttyv0   /usr/libexec/getty test cons25 on  secure
   
  
Change 'Pc' with test.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org