UNIX LOGIN
Gregory Gulik
greg at gagme.chi.il.us
Thu Jul 12 14:45:50 AEST 1990
In article <23825 at adm.BRL.MIL> Bhargis at mrsa1 writes:
>I,ve logged in to some unix bulliten boards,, and immidiately got into menu
>driven procedures, asking your name, where you are calling from etc..
>eventually asking you to assign your own userid (for first time users), does
>anyone know how that is accomplished,, sure would appriciate the info...
>I,ve been tasked to develop such a bulliten board, and would sure love to
>know how the unix login was bypassed,,,,,,,anyone with that knowledge???
Easy.
First, you create a login for new users to use. I happen to use 'newuser'
here on Gagme. Then, for the default shell, you put the path to the
executable file that contains the menu driven program. I think it
has to be an executable image, not a shell script.
So, for example, here on Gagme I have:
newuser::106:1:New User:/usr/newuser:/usr/newuser/new
The newuser login has no password, and executes /usr/newuser/new
when it logs in, instead of the normal UNIX login...
-greg
--
Gregory A. Gulik Call Gagme, a public
greg at gagme.chi.il.us || ...uunet!motcid!gulik access UNIX system at
|| gulik at depaul.edu (708) 318-7133
More information about the Comp.unix.questions
mailing list