Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Telnet during backup....

Status
Not open for further replies.

agoodrich

MIS
Jul 13, 2004
37
US
Is there a way to disable telnet on my server while Im running a tape backup? This is a SCO Unix system.
 
Are you backuping locally?
Do the backup in single user mode, then noone will have access as tcp is not up and running.

The other option is tcp stop/start.
 
Before the backup:
cp /etc/inetd.conf /etc/inetd.conf.ori
grep -v telnetd /etc/inetd.conf.ori > /etc/inetd.conf
After the backup:
cp /etc/inetd.conf.ori /etc/inetd.conf

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
need to re-initialize inetd if using PHV's method
kill -HUP <pid for inetd>
 
Thanks... I guess I will prolly use the stop tcp / start tcp method. Looks like the easiest way to do it.
 
If you use tcp stop you may encounter some side effect issues as all the networking will shutdown...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top