Operating System - HP-UX
1844299 Members
2969 Online
110230 Solutions
New Discussion

Re: how do I enable my access flow control in telnet?

 
Leon Smith, Jr
Advisor

how do I enable my access flow control in telnet?

how do I enable my access flow control in telnet?
3 REPLIES 3
Aji Thomas
Regular Advisor

Re: how do I enable my access flow control in telnet?

Hi,

Did you mean restrict access to TELNET service, If so, Just put an entry in /var/adm/inetd.sec file

AJi
Muthukumar_5
Honored Contributor

Re: how do I enable my access flow control in telnet?

Do you want to control telnet service?

Based on IP-Address / Hostname / Network:

Use /var/adm/inetd.sec configuration file to control service.

Based on Local User Account:

Control this with /etc/profile configuration file.

Example:

ps | grep -q 'telnet'
if [[ ${?} -eq 0 ]]
then
if [[ ${LOGNAME} = "test" ]]
then
echo "${LOGNAME} is not allowed to use telnet with this machine $(hostname)"
sleep 5
exit 1
fi
fi

hth.
Easy to suggest when don't know about the problem!
Mark Nieuwboer
Esteemed Contributor

Re: how do I enable my access flow control in telnet?

Hi ,

in /var/adm/inetd.sec you can put ip-adresses which my use the telnet daemon.
But why not use ssh. then you can control it by user groups and the data/password are encrypted. after you installed ssh you can remove the telnet deamon from the inetd.conf file. and nobody can use telnet anymore.

grtz. Mark