Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hp-pcd!hplsla!hpubvwa!mechp10!klein From: klein@mechp10.UUCP (Greg Klein) Newsgroups: comp.sources.d Subject: Re: getty/login for callback Message-ID: <180003@mechp10.UUCP> Date: 28 Mar 89 17:39:51 GMT References: <180001@mechp10.UUCP> Organization: Microcomputer Electronics Corp,Kirkland,WA Lines: 17 / mechp10:comp.sources.d / stefan@yendor.phx.mcd.mot.com (Stefan Loesch) / 12:01 pm Mar 21, 1989 / >> >>I need the source code for getty(1) and login(1) or something similar if >>a public domain version don't exist. I want to modify them to spawn ct(1) >>instead of a shell to dial back the user. Please email or post (to > >You won't need the source for that. The Programm that is spawned is the >last field in each line of /etc/passwd (if empty default /bin/sh). >So just edit /etc/passwd for the aproppriate logins and change the last >field to PATH/ct Yes, this will work to spawn ct, but it is not secure. A remote user would be able to login with a login/passwd that has a shell associated with it, instead of one that has ct associated with it (the shell entries in /etc/passwd must be retained for local logins). ----------