Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2010 20:24:29 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
Message-ID:  <20100808202429.1a1e4a20.freebsd@edvax.de>
In-Reply-To: <AANLkTin_hUsJ3056JfoErTq977xp0vz%2Bei4hv9tXrC7u@mail.gmail.com>
References:  <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <AANLkTin1vfjfM98gmc2P5a-hZ78q_PDChyFTbGqTbJA_@mail.gmail.com> <201008071157.00180.eliaschr@cha.forthnet.gr> <AANLkTi=YoER4nBaq2noap_pFbhcLD8BLYbRxzBpcK5JP@mail.gmail.com> <20100807214737.75ebc397.freebsd@edvax.de> <AANLkTimFJkB0vaV0jwcVVuaeWG2Zq_UQ6shd%2B=O%2B3B28@mail.gmail.com> <20100808120816.b6b1f54a.freebsd@edvax.de> <AANLkTikkog54DgykfkFer4NqQJeVTwd4teOYqu8EB=Gc@mail.gmail.com> <20100808164133.2abae500.freebsd@edvax.de> <AANLkTik5h-KHhtBbNpc=4QNSNvPE5winmTFQqNUL_FNr@mail.gmail.com> <20100808172336.6c4f39a3.freebsd@edvax.de> <AANLkTi=XmHj0BUfk5M9Jpwz=DJEf3=t6WQv_Z=zo%2B0Pn@mail.gmail.com> <20100808174436.2fa1ea02.freebsd@edvax.de> <AANLkTi=gsf5aQJEhV26Qr1QetM36eVD-er6cDOwaxMxz@mail.gmail.com> <20100808193929.8828cef2.freebsd@edvax.de> <AANLkTin_hUsJ3056JfoErTq977xp0vz%2Bei4hv9tXrC7u@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Aug 2010 13:02:48 -0500, Antonio Olivares <olivares14031@gmail.com> wrote:
> Have changed it, now when I start machine I am logged in as root
> 
> grullahighschool#
> 
> I wonder what I did

So that's REALLY strange...



> /etc/gettytab
> 
> ttyv0 "/usr/libexec/getty autologin"   cons25  on  secure

Change "autologin" to something else; near the file's end there is
already such a name - just to avoid interferences.

Make sure you have /etc/gettytab in the following format (tested,
and working):

# File header
# ...

default:\
	:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
	:if=/etc/issue:

autologin:\
        :al=olivares:tc=Pc:

#
# Fixed speed entries
# .... file continues here .....

In this case, "olivares" is both the name of the user to log in
automatically AND the name of the autologin-purpose profile. The
user has to exist, of course.




> Might it be that there were two lines
> in /etc/gettytab
> 
> ttyv0 "/usr/libexec/getty Pc"   cons25  on  secure
> 
> and
> 
> ttyv0 "/usr/libexec/getty autologin"   cons25  on  secure
> 
> and I removed the top one with "Pc" and left the one below?

Seems to be interfering...

In /etc/ttys, use this format:

ttyv0   "/usr/libexec/getty olivares"   cons25  on   secure

Make sure the line regarding X is off:

ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off  secure





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100808202429.1a1e4a20.freebsd>