Path: utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!uunet!sci34hub!gary From: gary@sci34hub.UUCP (Gary Heston) Newsgroups: comp.protocols.tcp-ip Subject: Re: rlogin and run a command etc Message-ID: <842@sci34hub.UUCP> Date: 6 Dec 90 16:54:59 GMT References: <1141@cnw01.storesys.coles.oz.au> Reply-To: gary@sci34hub.sci.com (Gary Heston) Organization: SCI Technology, Inc., Huntsville, Al. Lines: 16 In article <1141@cnw01.storesys.coles.oz.au> nigel@cnw01.storesys.coles.oz.au (Nigel Harwood) writes: > [ using rlogin ] >The problem was that I cannot tell it to run a command as soon as >it has logged in. Change the userid entry in /etc/passwd so that it runs the command (your COBOL menu, in this case) upon login instead of /bin/sh (or whichever). For an example, look at the entry for nuucp--it automatically runs /usr/lib/uucico (unless someone's removed it for security reasons). -- Gary Heston System Mismanager and technoflunky uunet!sci34hub!gary or My opinions, not theirs. SCI Systems, Inc. gary@sci34hub.sci.com The sysadmin sees all, knows all, and doesn't tell the boss who's updating their resumes.... This .sig Copyright G. L. Heston, 1990 Brought to you by Super Global Mega Corp .com