Sponsored Content
Full Discussion: disable telnet on Solaris
Operating Systems Solaris disable telnet on Solaris Post 302107150 by blowtorch on Wednesday 14th of February 2007 06:49:30 PM
Old 02-14-2007
Open the /etc/inetd.conf file in an editor of your choice. Search for the line that contains info for the telnet services. Comment that line out (by inserting a '#' as the very first character of that line). Then run this command:
Code:
pkill -HUP inetd

Note that you have to be root to do this.
 

10 More Discussions You Might Find Interesting

1. Solaris

Disable telnet timeout

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

disable telnet on the startup

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

SSH enable, Telnet disable ...

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

Disable telnet for a particular user

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

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

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

Disable all the logs in 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

Allow telnet in AIX from specific IP adds, but disable for everyone else

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

Solaris 11 disable IPv6

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

Can't disable CPU in 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

Not able to disable finger & telnet command in Solaris 8

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
inetd(8)						      System Manager's Manual							  inetd(8)

NAME
inetd - Internet services daemon SYNOPSIS
For starting the daemon: inetd [-d] [-R rate] [-r radid] [configfile] For signaling the running daemon: inetd [-d] [-h | -q | -s | -t] FLAGS
Dumps debugging messages to syslogd(8) and to standard error. Sends the currently running master inetd daemon a SIGHUP signal, which causes it to reread its configuration files. Sends the currently running master inetd daemon a SIGQUIT signal, which kills all inetd child daemons, but none of the services that the child daemons have started. The master inetd daemon continues to run. Specifies the maximum number of times a service can be invoked in one minute. The default is 2 billion (INT_MAX). Specifies the identifier of the Resource Affinity Domain (RAD) on which to start an inetd child daemon. You can specify this option multiple times on the command line (see the "Examples" section). The default is to start a child daemon on all RADs. Sends the currently running master inetd daemon a SIGUSR2 sig- nal, which kills all inetd daemons, including the master inetd daemon, and all services that they have started. Sends the currently run- ning master inetd daemon a SIGTERM signal, which kills all inetd daemons, including the master inetd daemon, but none of the services that they have started. By default, the files are /etc/inetd.conf and /etc/inetd.conf.local. They contain configuration information that the daemon reads at startup. If you specify configfile on the command line, only that file is read at startup. DESCRIPTION
The inetd daemon should be run at boot time by inetd in the /sbin/init.d directory. At startup, it determines how many RADs are present (if on NUMA-capable hardware) and starts an inetd child daemon on each RAD. On non-NUMA hardware, only one inetd child daemon is started. Each inetd child then listens for connections on certain Internet sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. After the program is finished, it continues to lis- ten on the socket (except in some cases that are discussed later in this reference page. Essentially, inetd allows running one daemon to invoke several others, reducing load on the system. Upon execution, each inetd child reads its configuration information from the two configuration files, which, by default, are /etc/inetd.conf and /etc/inetd.conf.local; the /etc/inetd.conf file is read first. There must be an entry for each field of the configura- tion files, with entries for each field separated by a tab or a space. Comments are denoted by a # (number sign) at the beginning of a line. If an entry exists in both configuration files, the entry in the /etc/inetd.conf.local file overrides the entry in the /etc/inetd.conf file. See inetd.conf(4) for more information. The inetd daemon provides several trivial services internally by use of routines within itself. These services are echo, discard, chargen (character generator), daytime (human-readable time), and time (machine-readable time, in the form of the number of seconds since midnight January 1, 1900). All of these services are tcp or udp based, and support both IPv4 and IPv6. (Note: These services are initially turned off. To turn them on, you must remove the comment leader of the service in /etc/inetd.conf or /etc/inetd.conf.local, depending on your configuration, and send a SIGHUP signal to inetd.) For details of these services, consult the appropriate RFC. The inetd daemon rereads its configuration files when it receives a hangup signal, SIGHUP. Services may be added, deleted, or modified when the configuration files are reread. You should use the -h option to send a SIGHUP signal. You can use the inetd daemon to start RPC daemons by adding them to the inetd.conf or inetd.conf.local file. When you add an RPC service it must be followed by a slash (/) and the range of version supported. Also, the protocol field must consist of the string rpc followed by a slash (/) and protocol listed in the /etc/protocols file. Resource Affinity Domains and inetd When you add a new RAD, complete the following steps: Add the RAD. Configure the RAD. Issue the inetd -h command to force inetd to reread its configuration file. When you delete a RAD, complete the following steps: Issue the inetd -q command to kill all child daemons. Unconfigure the RAD. Remove the RAD. Issue the inetd -h command to force inetd to reread its configuration file. See the appropriate hardware documentation for the actual procedure for adding and deleting a RAD. EXAMPLES
To start an inetd daemon on RADs 1 and 2, enter: # inetd -r1 -r2 FILES
Specifies the command path. The global configuration file. The cluster member-specific configuration file. Process ID. RELATED INFORMATION
Commands: comsat(8). Daemons: fingerd(8), ftpd(8), rexecd(8), rlogind(8), rpc.rquotad(8), rpc.rstatd(8), rpc.rusersd(8), rpc.rwalld(8), rpc.sprayd(8), rshd(8), telnetd(8), tftpd(8). Files: inetd.conf(4). delim off inetd(8)
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy