/bin/login quits working!

This is a discussion on /bin/login quits working! within the Linux Administration forums, part of the Linux Forums category; Hi all, I am having a problem with /bin/login, every once in a while it quits working for the ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2004
doug chanco
 
Posts: n/a
Default /bin/login quits working!

Hi all,
I am having a problem with /bin/login, every once in a while it
quits working for the root user (other users can execute /bin/login
and it works fine) but not the root user. If I do an "init q" it
starts working again, until whatever happens happens again and it
quits. When it stops I have tried doing an strace to see if I can see
what is going on but nothing seems to stick out. (if it would help I
can post the results of the strace the next time it happens)

When I say it stops working what this means is that when root executes
/bin/login, I get the login prompt but then the session "freezes" at
the passwd prompt. Any advice suggestions or ideas EXTREAMLY welcome.

This is an issue for us becuase we have a process that runs as root
(to answer incomming modem calls and then fork /bin/login to allow the
user/process to login)

thanks again

dougc
Reply With Quote
  #2 (permalink)  
Old 01-19-2004
George Elkins
 
Posts: n/a
Default Re: /bin/login quits working!

"doug chanco" <doug@chancofamily.com> wrote in message
news:213d1338.0401061224.78161254@posting.google.c om...
> Hi all,
> I am having a problem with /bin/login, every once in a while it
> quits working for the root user (other users can execute /bin/login
> and it works fine) but not the root user. If I do an "init q" it
> starts working again, until whatever happens happens again and it
> quits. When it stops I have tried doing an strace to see if I can see
> what is going on but nothing seems to stick out. (if it would help I
> can post the results of the strace the next time it happens)
>
> When I say it stops working what this means is that when root executes
> /bin/login, I get the login prompt but then the session "freezes" at
> the passwd prompt. Any advice suggestions or ideas EXTREAMLY welcome.
>
> This is an issue for us becuase we have a process that runs as root
> (to answer incomming modem calls and then fork /bin/login to allow the
> user/process to login)
>
> thanks again
>
> dougc


I'd try recompiling /bin/login with debugging info (-g flag alone). Then
try reproducing the problem while running it in the debugger to see where
it's hanging.



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0