[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatic login?



On Sat, Dec 12, 1998 at 11:06:33PM +0000, Gossamer wrote:
> 
> I'm SURE this is a faq, but I can't find the answer ... can I
> set up things so all the virtual consoles I have set up are
> automatically logged into a certain username?
> 
> I'm aware of the security risks but live by myself so physical
> access to the console isn't as issue (anyway, I have a dvorak
> keyboard layout, security through obscurity ;)).  

Replace you getty entries in /etc/inittab with something like this for
each one:

1:23:respawn:/bin/su - root < /dev/tty1 > /dev/tty1

I never tried it till now, seemed to work fine.

good luck,
  Ben

-- 
-----    -- - -------- --------- ----  -------  -----  - - ---   --------
Ben Collins <b.m.collins@larc.nasa.gov>                  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc.                 bcollins@debian.org
------ -- ----- - - -------   ------- -- The Choice of the GNU Generation


Reply to: