[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sparc 2 X trouble
I don't have a sparc and I don't use X
Here's the bit where I can help you
Telnet is disabled by default on OpenBSD systems.
To enable it you must either uncomment the telnet entry in /etc/inetd.conf
the entry should look like this
#telnet stream tcp nowait root
/usr/libexec/telnetd telnetd
remove the # and restart inetd with the kill -HUP command (or kill -1 they
both mean the same thing)
Or run telnetd in daemon mode by issuing the /usr/libexec/telnetd command as
root
if you don't care about security this should do the trick
if you do care about security read on
-------------------------------------------
TELNET SUCKS! USE SSH
-------------------------------------------
telnet can be considered insecure as it sends all of it's data
in plain text over the network ... if your sparc is connected to the
internet you should consider
using ssh (secure shell) to connect remotely to your sparc
ssh is an encrypted telnet replacement that comes enabled by default on
OpenBSD systems.
you can verify that it is running by issuing the following command as ANY
user
ps aux | grep ss
if you see /usr/sbin/sshd then ssh is enabled and secure remote access to
your machine is available
to get a unix based ssh client go to www.openssh.com and download the latest
release
if you would like to read a nice introduction to ssh go and read
this article
http://securityportal.com/research/ssh-part1.html
the article also lists ssh clients available for macintosh and windoze
-------------------------------------------------------------
IF YOU ABSOLUTELY MUST USE TELNET
-------------------------------------------------------------
you can can control which machines can connect to telnetd with tcpd
to do this you MUST run telnetd through inetd
in /etc/inetd.conf
make the telnet entry look like this
telnet stream tcp nowait root /usr/libexec/tcpd
telnetd
this will allow you to create access rules to telnet by specifying which
machines are ALLOWED to connect to telnetd
in /etc/hosts.allow
similarly you can specify a list of computers that are DENIED access in
/etc/hosts.deny
for more info on how to configure tcpd read the following man pages
man 8 tcpd ----> describes the operation of tcpd wrapping service
man 5 hosts_access ----> describes the syntax of the hosts.allow and
hosts.deny configuration files
BTW I highly recommend that you install OpenBSD 2.8 as many important
security fixes have been integrated into it since 2.6
I hope this helps you out
Matt Sauve-Frankel
PS. did you read any of the man pages? did you read the faq at
www.openbsd.org ? have you tried searching for a solution
at www.google.com/bsd ? Did you check the mailing list archives at
http://www.monkey.org/openbsd
Doing these things before you post to the list may spare you getting flamed
or receiving incredibly curt replies or being ignored totally.