02-14-2007
disable telnet on Solaris
All -
would you please some one help me to disable telnet on Solaris?
/etc/inetd.conf
Thanks
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
Can someone help me how I can disable telnet timeout? I'm connecting remotely to some machines and after some time my telnet connection was closed. How can I disable this so that I'm always connected to those machines? Thanks! (2 Replies)
Discussion started by: ayhanne
2 Replies
2. Solaris
Hi All,
I want to disable telnet on the startup of solaris 8-10 but still wants for a standby purposes. In case I need to troubleshoot ssh, I can connect thru telnet.
Most solution on the internet is to permanently removed it.
Best Regards,
itik (5 Replies)
Discussion started by: itik
5 Replies
3. Solaris
Hi...
How do I enable SSH and disable telnet..
Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet?
Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies
4. Solaris
On Solaris 8 is there anyway to disable telnet for a particular user and not for entire system altogether?
I would like the user to retain a shell and so creating a noshell like ftp account is not an option. (14 Replies)
Discussion started by: boshyd
14 Replies
5. Solaris
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies
6. Solaris
Hi
Is there anyway to disable all logs/logging (lastlog, sulog, messages etc.) in Solaris 9&10? I know this is not recommended but i just want to know if this is possible.
TIA
Reddy (8 Replies)
Discussion started by: reddyr
8 Replies
7. AIX
I need to change the security on our AIX servers and disable telnet from all but certain IP addresses.
I have hashed the telnet line in /etc/inetd.conf and added filter rules for those IP adds to allow access on port 23, but this didn't work.
Does anyone have any ideas?
Thanks. (2 Replies)
Discussion started by: Alps
2 Replies
8. Solaris
I've new installed Solaris 11 on Sparc T4-1.
I'd like to disable IPv6 but with no luck.
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
net0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
inet... (6 Replies)
Discussion started by: samer.odeh
6 Replies
9. Solaris
hello all
i have an issue about a solaris V440 cpu, im logged in the Ok prompt i can't disable a CPU3, i can't see it in dev list, i see only the cpu3-bank0 to cpu-bank4
please help me to disable it
thank youuu (3 Replies)
Discussion started by: walidadam
3 Replies
10. Solaris
Hi
I need to disable finger & telnet command in solaris 8
I have put the # infront of finger and telnet line in /etc/inetd.conf file. Further I have run the below command
kill -1 <process id of inetd >
But when I am running finger command it is till giving information for remote machine... (8 Replies)
Discussion started by: amity
8 Replies
LEARN ABOUT DEBIAN
debiannet
DebianNet(3pm) Linux Programmer's Manual DebianNet(3pm)
NAME
DebianNet.pm - create, remove, enable or disable entry in /etc/inetd.conf
SYNOPSIS
require DebianNet;
DebianNet::add_service($newentry, $group);
DebianNet::remove_service($entry);
DebianNet::enable_service($service, $pattern);
DebianNet::disable_service($service, $pattern);
DESCRIPTION
You can use the functions in DebianNet.pm to to add, remove, enable or disable entries in the /etc/inetd.conf file. After the
/etc/inetd.conf file has been changed, a SIGHUP signal will be sent to the inetd process to make sure that inetd will use the new
/etc/inetd.conf file. The functions can also be used to add entries that are commented out by default. They will be treated like normal
entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without remov-
ing the old one first.
The DebianNet functions treat entries that are commented out by a single '#' character as entries that have been commented out by a user.
It won't change such entries.
For shell scripts you can also use the update-inetd command. See update-inetd(8) for further information.
VARIABLES
$DebianNet::inetdcf = "FILENAME";
Use FILENAME instead of /etc/inetd.conf (e.g. for testing purposes).
$DebianNet::sep = "#<off># ";
"#<off># " will be used as the default comment characters. You can use this option to specify different comment characters. This
is only necessary if you have to deal with two (or more) services of the same name.
$DebianNet::multi = "true";
If you want to disable/remove more than one entry at a time you should use this option. If you try to remove more than one entry at
a time without using this option the program will show a warning and asks the user if he want to continue.
$DebianNet::verbose = "true";
Explain what is being done.
FUNCTIONS
DebianNet::add_service($newentry, $group);
Add $newentry to the group $group of the /etc/inetd.conf file. If the entry already exist it will be enabled (it will also detect
entries with different program options). Using $group is optional (the default group is the group OTHER). If the group does not
exist the entry will be placed at the end of the file.
DebianNet::remove_service($entry);
Remove $entry from /etc/inetd.conf . You can use a regular expression to remove the entry.
DebianNet::enable_service($service, $pattern);
Enable $service (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional. It can be used to select a service. You only need
this option if you have two (or more) services of the same name. An example: you have three ftp entries in the /etc/inetd.conf file
(all disabled by default) and you want to enable the entry which uses the wu-ftpd daemon. To do this, use the pattern "wu-ftpd" (or
any other regular expression that matches this entry).
DebianNet::disable_service($service, $pattern);
Disable SERVICE (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional (see above).
AUTHORS
Peter Tobias, <tobias@et-inf.fho-emden.de>
Ian Jackson <iwj10@cus.cam.ac.uk>
Linux 21 September 1995 DebianNet(3pm)