devfs
[Top] [All Lists]

Re: /etc/securetty problem

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: /etc/securetty problem
From: Frédéric L. W. Meunier <0@xxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2001 03:00:17 -0200
Cc: devfs@xxxxxxxxxxx
In-reply-to: <200102142115.f1ELFVV00392@mobilix.ras.ucalgary.ca>; from rgooch@ras.ucalgary.ca on Thu, Feb 15, 2001 at 08:15:31AM +1100
References: <20010202000527.I160@pervalidus.dyndns.org> <200102142115.f1ELFVV00392@mobilix.ras.ucalgary.ca>
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mutt/1.3.14i
Hi Richard.

On Thu, Feb 15, 2001 at 08:15:31AM +1100, Richard Gooch wrote:
> 0@xxxxxxxxxxxxxx writes:
> > Hi. For the first time I installed devfs (Kernel 2.4.1). It's
> > working without any major problems, but I can't log as root on
> > any console if I change /etc/securetty to use vc/1 (I also
> > tried with 1) instead of tty1.
> 
> Check the FAQ. It talks about enabling root logins at the console.

I checked both Documentation/filesystems/devfs/README and
http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html

Are you talking about
http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html#quick-start,
the 'System Libraries ... /etc/securetty' part?

I use glibc 2.2.2 but don't have Linux-PAM installed
(Slackware uses shadow). I can use agetty from util-linux
without any problems (I set /etc/inittab to use vc/1 -> vc/4).
The problem is login. I can't use the one from util-linux
because it needs PAM. I have to use all authentication
programs from shadow.

If I set /etc/securetty to use 1 or vc/1 root can't log in.
It works if I use tty1.

The problem seems to be with login from shadow. I'd appreciate
any reports from Slackware users. Unfortunately, I think 99%
are using a distribution with PAM.

My system:

Linux Kernel 2.4.1 on x86
shadow-20000902: login
util-linux-2.10s: agetty

-- 
Frédéric L. W. Meunier - http://www.pervalidus.net/
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-717-2399 (Niterói-RJ BR)

<Prev in Thread] Current Thread [Next in Thread>