[H-GEN] getty and login and things
Allen Grace
s336357 at student.uq.edu.au
Thu Apr 29 08:46:09 EDT 1999
(Note reply-to: being general at humbug.org.au vs Allen Grace <s336357 at student.uq.edu.au>)
Martin Pool wrote:
> Allen Grace wrote:
>
> > I could probably figure this out without having to come asking for help
> > if I spent some more time with it, but it's starting to get up my nose.
>
> $ man 8 nasaltweezers
Massively useful ta very much
> > Three cases:
> > 1. boot to single user, run login: everything is fine.
> > 2. boot to runlevels 3 or 5 directly (i.e. standard boot): login accepts
> > username, asks for password, and never returns *if I enter the correct
> > password*.
>
> Have you changed the
> PAM settings?
Didn't think so (in fact didn't previously know exactly where they were
to be found) but after reinstalling the problem went away. What a
letdown. Cheers anyway.
> > 3. boot to single user, telinit 3: the following happens
> >
> > sporty login: allen
> > sh: allen: command not found
> > bash#
> >
> > Do I understand from this that getty has passed the username directly to
> > /bin/sh without trying to run login?
>
> Not exactly. I think perhaps the sh that was running on the console in
> single-user mode is still-running in level 3. It happens to have read
> the input rather than login. A better way to switch levels is
>
> bash# exec telinit 3
> [time passes]
> scary login:
Topic for next slashdot survey: Who's your favourite Spice Girl?
allen
--
PD: pardon of my horror syntax english. you must be patient with me.
--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.
More information about the General
mailing list