03-30-2004
Ok good news, i started the service and it works now, but when i try to connect it says connection failed. Before it said connection refused. I have added the pts/0 to my securetty file and my telnet file in xinetd.d says
#default: on
#description : Telnet Server
#securlevel: 30
service telnet
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.telnetd
server_args = -h
}
I'm fairly certain that thats right...lol but with my weeks and week sexperience i could very well be wrong. I am trying to connect as root just incase tha tdoes make a difference. I"m sorry but at least i'ts getting somewhere now....lol. I'm really new to this it takes me a while to catch on sometimes.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
As a brand new user, I need to setup my .profile Here's what I have:
# User Profile zapservices 10/4/2005
# ###############################
export ORACLE_SID=S8DEV
export PS_BASE=/usr/local/psft
export PS_ENV=prdsfs
export PS_LOGDIR=$PS_BASE/log/$PS_ENV
export... (2 Replies)
Discussion started by: zapservices
2 Replies
2. UNIX for Dummies Questions & Answers
I have a SunOS 5.8 box and have always downloaded & applied patches via my PC, but I want to be able to go out to sunsolve directly from the console ... however, I guess it doesn't know the IP of our domain's DNS server or something.
Where are these setting held on a Sun box??? (1 Reply)
Discussion started by: FredSmith
1 Replies
3. AIX
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies
4. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
5. Solaris
How do I use ls and grep together to count a certain number of files in a directory?
-Thanks (1 Reply)
Discussion started by: secno
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I have been trying to setup a email server here at home, for me and a few friends. Nothing fancy, just a super basic - but secure - email server.
I have been having trouble over the course of the past 2-3 weeks fumbling through various online tutorials. It shouldn't be SO hard =)
... (0 Replies)
Discussion started by: jalisco
0 Replies
LEARN ABOUT REDHAT
cups-lpd
cups-lpd(8) Easy Software Products cups-lpd(8)
NAME
cups-lpd - receive print jobs and report printer status to lpd clients
SYNOPSIS
cups-lpd [ -o option=value ]
DESCRIPTION
cups-lpd is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. cups-lpd does
not act as a standalone network daemon but instead operates using the Internet "super-server" inetd(8). Add the following line to the
inetd.conf file to enable the cups-lpd daemon:
printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd
If you are using the newer xinetd(8) daemon, add the following lines to the xinetd.conf file:
service printer
{
socket_type = stream
protocol = tcp
wait = no
user = lp
server = /usr/lib/cups/daemon/cups-lpd
}
SECURITY
cups-lpd currently does not perform any access control based on the settings in cupsd.conf(5) or in the hosts.allow(5) or hosts.deny files
used by TCP wrappers. Therefore, running cups-lpd on your server will allow any computer on your network (and perhaps the entire Internet)
to print to your server.
While xinetd has built-in access control support, you should use the TCP wrappers package with inetd to limit access to only those comput-
ers that should be able to print through your server.
OPTIONS
The -o option to cups-lpd inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print
jobs are filtered as needed for printing:
printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd -o document-format=application/octet-stream
server = /usr/lib/cups/daemon/cups-lpd
server_args = -o document-format=application/octet-stream
The example shown resets the document format to be application/octet-stream, which forces auto-detection of the print file type.
COMPATIBILITY
cups-lpd does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent determined
users from submitting print jobs. While this behavior is different than standard Berkeley LPD implementations, it should not affect normal
client operations.
The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this
definition, remote status reporting to LPD clients may be unreliable.
SEE ALSO
inetd(8), xinetd(8), CUPS Software Administrators Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
4 March 2002 Common UNIX Printing System cups-lpd(8)