Operating System - HP-UX
1833287 Members
2903 Online
110051 Solutions
New Discussion

Re: Restrice telnet access

 
SOLVED
Go to solution
Alan Casey
Trusted Contributor

Restrice telnet access

Does anyone know the best way to restrice telnet access so that a particular user can not use telnet, but still has a regular login shell?
6 REPLIES 6
Steve Steel
Honored Contributor
Solution

Re: Restrice telnet access

Hi


See man inetd.sec

All internet services controlled by inetd (includes telnet and rlogin)
have their access controlled by
/var/adm/inetd.sec.

steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
U.SivaKumar_2
Honored Contributor

Re: Restrice telnet access

Hi,
I did not understand your question.
For logging in without telnet you can use rlogin . But you client machine should have rlogin client.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Pete Randall
Outstanding Contributor

Re: Restrice telnet access

Alan,

Are you trying to restrict them from telnet'ing into the machine or out from the machine?

Pete

Pete
Alan Casey
Trusted Contributor

Re: Restrice telnet access

Hi Pete,

Am trying to restrict them telnetting to the machine. The users must have a full shell for ssh connections.
AUJ
Advisor

Re: Restrice telnet access

Hi,

you can restrict that in
/var/adm/inetd.sec

Rgds,
AUJ
Judy Traynor
Valued Contributor

Re: Restrice telnet access

Another thing to look at,
/etc/inetd.conf starts the telnet process. You can simply comment it out.


Or - still another
We use scripts and the /etc/nologin file to restrict users on our servers, for this process.

You can look at the users ID of GID to determine whether you want them to be allowed access.
Sail With the Wind