How to remove redundant login in a FreeBSD live CD?
unga888 at yahoo.com
Wed May 27 07:12:15 UTC 2009
--- On Tue, 5/26/09, Manolis Kiagias <sonicy at otenet.gr> wrote:
> From: Manolis Kiagias <sonicy at otenet.gr>
> Subject: Re: How to remove redundant login in a FreeBSD live CD?
> To: "Unga" <unga888 at yahoo.com>
> Cc: freebsd-questions at 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:\ - entry name,
> autologin will use this username;
> al=test -
> autologin username;
> ht - terminal
> has real tabs;
> np - 8-bit
> sp#115200 - line speed;
> 2. Edit /etc/ttys file:
> ttyv0 "/usr/libexec/getty test"
> cons25 on secure
> 'Pc' with test.
Thank you, Manolis. Your method worked.
More information about the freebsd-questions