Xref: utzoo comp.unix.xenix.sco:2672 biz.sco.general:127 Newsgroups: fa.sco Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!xenitec!uunet.uu.net!owner-sco-list@watmath.waterloo.edu Newsgroups: comp.unix.xenix.sco,biz.sco.general Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!xenitec!xensoft!gws From: gws@xensoft.xenitec.on.ca (Geoff Scully) Subject: Re: SCO ODT TCP/IP Setup Problem Organization: XeniTec Consulting Services Date: Fri, 31 May 1991 17:16:06 GMT Message-ID: <1991May31.171606.4935@xensoft.xenitec.on.ca> Followup-To: biz.sco.general Summary: telinit a b c Keywords: Bad login user id Sender: news@xenitec.on.ca (xenitec.on.ca News Administrator) Source-Info: From (or Sender) name not authenticated. >>/--mpd@anomaly.sbs.com (Michael P. Deignan) said... >> [rlogin/telnet problem] >>| >>| The error is "Bad login user id". >>| >>| I've RTFM, but can't locate a reference to getting rid of this error. Of course, >>| I might have missed it at 3am. >>\-- >> >>[ wul@sco.com (Wu Liu) replies... ] >>I'm not sure if it's mentioned in the doc... >> >>Your problem is that TCP on anomaly wasn't started by init. Your >>inetd process can't have an luid set, or else telnet/rlogin breaks >>with this error message. The only way to get a process to not have >>an luid is if you start it during boot (i.e. have init fork it off). > >[Scott Deardorff adds], >Michael, > In addition to Wu's response, I wanted to include an item from >our information tools database which also addresses this problem. >This database is available to our supported customers online via >a machine named sosco. For more info on accessing this database >please contact your SCO Customer Service, or Sales Representitive. > >Regards, > Scott Deardorff > >rlogin or telnet give the error message "bad login user id." > >PROBLEM: When using rlogin or telnet to log on to a machine running > SCO UNIX System V/386 Release 3.2, the error message "bad > login user id" is displayed. > >SOLUTION: This error is caused by doing a "tcp stop" followed by a > "tcp start." init(M) has the unique property in that it does > not have a loginid associated with it. Therefore, when SCO > TCP/IP is started by init, there is no loginid associated > with the inetd process. > > The proper method to restart SCO TCP/IP follows: > > # init 1 > > (while logged in as root on /dev/tty01) > > < here all the user processes are killed by "init 1" > > > Then type CONTROL-d to proceed with normal startup. > >SEE ALSO: init(M), setluid(S) Another option that is available that avoids having to bring a possibly production machine down to single user and back up, is to use inittab's a b and c 'pseudo state' entries to start single shot processes from init. I use this on xenitec for restarting the cron if I have had to kill it off, using the following inittab entry. cron:a:once:/etc/cron So you could set-up something like, slip:b:once:/etc/tcp start to restart tcp after you have manually done a 'tcp stop'. To use these pseudo state entries, use the command 'telinit ', or 'telinit b' for the above example for tcp. The nice thing about these pseudo states is that the processes they start are not killed by changing init states, except when going to state 0, 1, or S. Don't forget to also make these changes to /etc/conf/cf.d/init.base if you want them to stick around through rebuilds of the kernel environment. --- Geoff Scully -- XeniTec Consulting Services gws@xenitec.on.ca {watmath, utai!lsuc}!xenitec!gws