Re: enabling login on the serial console - problems

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

 



Hey Ravi, just to let you know that your pointer worked out very nicely
for me. Turns out that it was all i needed to get the login to work.

Thanks

-jf

-------------


On Sat, 23 Nov 2002 09:39:07 +0800, "Jeffrey Lim" <jfsworld@fastmail.fm>
said:
> On Fri, 22 Nov 2002 12:34:11 -0800 (PST), "Ravi" <kravi26@yahoo.com>
> said:
> >  
> > 
> >  Are you trying to login as root? The file /etc/securetty
> > lists all tty devices considered 'secure' for a root 
> > login. If ttyS0 is not listed in there, you won't be
> > able to login as root over serial console.
> > 
> > 
> 
> yes i am! thanks! I'll look into that soon enough.
> 
> > 
> >  'agetty' will exit after you login once. So running it 
> > from a shell doesn't help. You can create an entry in
> > inittab so that it keeps getting respawned. But this
> > still doesn't explain why the shell itself exits.
> > Tracing agetty with strace might help.
> > 
> 
> Yes, i know agetty should exit - although i assume (rightly?) that it
> should run the shell (from /etc/passwd) for me after it exits.
> 
> i've tried the inittab already so that it respawns, but of course as
> previously mentioned, i still cant login, even with the correct password.
> But i think you're right to have a look at securetty.
> 
> i will be sure to strace to find out what's going on too..
> 
> Thanks Ravi!
> 
> -jf
> 

 
--
  "It's an extraordinary world!" - jfsworld <at> fastmail.fm
 
 
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux