Re: How to set up an account so that you can telnet to it but not su to?

From:
Date: 07/20/02


Date: Sat, 20 Jul 2002 00:07:26 +0200

LOlson wrote:
>
> We are migrating our UNIX Utilitites software from AIX over to Linux.
> In order to duplicate the same functionality, we need to be able to
> set up a root equivalent (UID 0) account that will launch our menu
> system upon telnet login, but not allow suing to the account with the
> same password. This is trivial to do in AIX, but I have not figured
> any way to do it in Linux (Red Hat 7.3) yet.
> Any suggestions (other than not doing this because it is too
> insecure)?
> Thanks.

Are you using the telnet daemon on the computer for other
purposes? You could make the telnet daemon use another
program instead of /bin/login. Just add

   server_args = -L /path/to/your/executable

in the file /etc/xinetd.d/telnet, you could also make
another copy of the file and use another port if you do
want telnet to work as usual.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razrep@daimi.au.dk
or mailto:mcxumhvenwblvtl@skrammel.yaboo.dk



Relevant Pages