12-18-2002
issue
netstat -an | grep -i listen | grep 23
this will show if your machine is listen to port 23 telnet port.
if your machine is not listen to port 23(telnet port) then telnet could be disabled in /etc/inetd.conf
check your /etc/inetd.conf or check by
telnet localhost
if you can't telnet localhost then telnet could be disable.
you enable telnet by uncommenting the telnet entry
in /etc/inetd.conf
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Please explain what does '$*' mean.
what does the command cd /~abc do, especially what does '~' mean?
cheers. (1 Reply)
Discussion started by: uni_ajay_r
1 Replies
2. Programming
Q.1 Diffrence between terminal and pseudo-terminal ?
Q.2 What is terminal login ? What is a netwok Login ?
Q.3 What is meant by baud rate of a terminal ?
Q.4 which structure is used for job control in Unix/Linux ?and where these structure are means in which directory ? (2 Replies)
Discussion started by: mobile01
2 Replies
3. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
4. Solaris
Hi i am trying the threads concept in unix environment using C...
but i am getting error of "wait_fd: Couldn't find procinfo for fd 24"...
what does this error mean.....
help me in solving this issue...
Thanks in advance
shivamasam (3 Replies)
Discussion started by: shivamasam
3 Replies
5. UNIX for Dummies Questions & Answers
Try to answer these questions on Unix:
1.what will be the segment() function do?
2.How Unix is more powerful than Windows?
3.Where ownership details will be stored of a particular file in Unix?
4.State different uses of ^ symbol in regular expressions.
5.What does export command used for?... (5 Replies)
Discussion started by: dreambig
5 Replies
6. Shell Programming and Scripting
Hello everyone
I update my question.
Thanks for your reply joeyg
If I type the last command and send to a text file. I get this
last >usuarios.txt
root pts/0 160.40.35.277 May 22 11:08 still logged in.
root pts/0 alopez02 May 22 09:23 - 10:11 (00:47)
root pts/0 160.40.35.277 May 20... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies
7. Shell Programming and Scripting
Hi Everyone,
#!/usr/bin/perl
use strict;
use warnings;
my %prefix_to_rate = (
'93' => "1.50",
'6iii' => "0.22"
);
my ( $shortest, $longest ) =
( sort { $a <=> $b } map { length } keys %prefix_to_rate );
for my $len ( reverse $shortest .. $longest ) {
print ... (0 Replies)
Discussion started by: jimmy_y
0 Replies
8. UNIX for Dummies Questions & Answers
I know the topic of getting yesterday's date has been covered ad nauseum, but I just want to be clear on something.
I recently started using the command
date --date='1 days ago' '+%m/%d/%y'
to get yesterday's date and it's been working great. I just want to be certain that it is going to... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone,,
I am new to the forum...but not to Unix.
I have gathered few questions from my mates who attended interviews in various companies as I have to attend one on dec 3rd for Sys admin position. Please respond with the answers you know and also help with various other interview... (2 Replies)
Discussion started by: impawan
2 Replies
10. Shell Programming and Scripting
command is :
echo "BACBE03,IS38341," ; cat /home/oaydin/cha/response/gec/stp_BACBE03.txt | grep IS38341 | awk '{print $2}' ; grep -c IS38341 /home/oaydin/cha/response/gec/tx_BACBE03.txt
answer is :
BACBE03,IS38341,
ACTIVE
4
I need format :
BACBE03,IS38341,ACTIVE,4
help please (7 Replies)
Discussion started by: ozcanaydin
7 Replies
LEARN ABOUT DEBIAN
portslave
portslave(8) Portslave portslave(8)
NAME
portslave - terminal server program.
SYNOPSIS
portslave [+config-file] port|-
DESCRIPTION
This manual page documents briefly the portslave, program.
This program is a getty replacement that will run it's own version of pppd, the user can specify their user-name via a login: prompt or PPP
PAP negotiation.
After the username and password have been supplied the user will be authenticated by the RADIUS protocol.
OPTIONS
An optional first parameter is '+config-file' to specify an alternate config file. The default is /etc/portslave/pslave.conf .
The next parameter is either the port number or '-'. The value '-' means that portslave is to use it's controlling tty as the serial
device and inspect the config file to find the RADIUS port number which matches that. This was originally written for telnetd support
(telnetd puts a '-' as the first command line parameter) but can be used for other things.
To run over the telnet protocol put a config entry similar to the following in your inetd configuration:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -L /usr/sbin/portslave
Then in the pslave.conf file put a series of entries specifying every pseudo-tty device (either ptyp0, ptyp1, etc or pts/1, pts/2 etc
depending on which type of device naming you use). For the RADIUS port numbers which are to be used for telnet connections you must spec-
ify the initchat as an empty string.
If you want to run portslave over a clean TCP connection (no telnet protocol) then put the following in your inetd configuration:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/portslave -
AUTHOR
This man page was written by Russell Coker <russell@coker.com.au>. May be freely used and distributed without restriction.
SEE ALSO
pslave.conf(5), pppd(8), ctlportslave(1) http://doc.coker.com.au/projects/portslave/
Russell Coker <russell@coker.com.au> 2010.03.30 portslave(8)