Re: Unable to determine your tty name error.

mind entropy <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <CAM2a4uxzFt0Kghj0gOCgYo-4gszC1JMy7m7zv2K7GCtK7oPk_A@mail.gmail.com>
On Thu, May 9, 2013 at 5:35 AM, Wookey <[email protected]> wrote:

> +++ mind entropy [2013-05-07 20:40 +0530]:
> >    Hi,
> >
> >    �� I managed to boot up multistrap but during login I get a "Unable to
> >    determine your tty name" error and does not login. What seems to be
> wrong?
>
> This comes from 'login'. Maybe /dev/pts is not mounted? maybe some
> device entry is missing? Can you give any more details on what you did
> to configure your rootfs? (Setting up /etc/fstab, user entries in
> paswd, console or serial device config)
>
> Wookey
> --
> Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
> http://wookware.org/
>


Thanks for the reply.

fstab:

devpts /dev/pts    devpts    gid=5,mode=620 0    0

passwd:
root::0:0:/root:/bin/sh
bin:x:1:1:bin:/dev/null:/bin/false
nobody:x:99:99:Unprivileged user:/dev/null:/bin/false

inittab:

T1::sysinit:/bin/mount -t proc proc /proc
T2::sysinit:/bin/mount -o remount,rw /
T3::sysinit:/bin/mkdir -p /dev/pts
T4::sysinit:/bin/hostname -F /etc/hostname

T5::sysinit:/etc/init.d/rcS
T6::sysinit:/bin/mount -a

T0::respawn:/sbin/getty -L ttySAC0 38400 vt100

dev entries:

total 12
drwxr-xr-x  3 root root    4096 May  9 20:28 .
drwxr-xr-x 19 root root    4096 Jun 22  2012 ..
crw-r--r--  1 root root   5,  1 May  8 23:08 console
crw-rw-rw-  1 root root   1,  3 May  8 01:06 null
drwxr-xr-x  2 root root    4096 Jan  1  1970 pts
crw-r--r--  1 root root   4,  0 May  9 20:27 tty
crw-r--r--  1 root root   4,  0 May  9 20:28 tty0
crw-r--r--  1 root root   4,  1 May  9 20:28 tty1
crw-r--r--  1 root root   4,  2 May  9 20:28 tty2
crw-r--r--  1 root root   4,  3 May  9 20:28 tty3
crw-r--r--  1 root root   4,  4 May  9 20:28 tty4
crw-------  1 root root 204, 64 Jan  1  1970 ttySAC0
crw-r--r--  1 root root 204, 65 May  8 01:06 ttySAC1
crw-r--r--  1 root root 204, 66 May  8 01:06 ttySAC2

Now I get the following error:

login: PAM Failure, aborting: Critical error - immediate abort


-Gautam.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.