Subject: Re: Help with setting up telnet...
To: Chris Jewell <jewellce@esvax.es.dupont.com>
From: SamMaEl <rimsky@teleport.com>
List: port-mac68k
Date: 11/18/1997 14:22:08
On Tue, 18 Nov 1997, Chris Jewell wrote:

> I am using MacBSD on a IIci and it runs very well.  I cannot, however,
> telnet in from other machines.  I can get to the login and password prompts
> but, then I get a message saying that login is not allowed from that
> terminal.  Do I need to set up telnetd?  If so how do I do that?  I do have
> MacBSD running in multi-user mode so I know that is not the problem.

	You cannot telnet into your machine as root unless you mark the
pty devices as secure in /etc/ttys. Otherwise, create a user-level account
for use when telnetting and use the 'su' command to get root-level privs.
If your machine is on a network (it would have to be to be able to telnet
into it, unless you're telnetting to localhost), you should probably not
mark the pty's as secure... unless you want to open yourself up to the
possibility of someone on the network being able to telnet into your
machine as root if they crack your password ;-).

	If you do eedit /etc/ttys you'll see a few lines like this:

/dev/pty0   none             network
/dev/pty1   none             network
/dev/pty2   none             network

	To make these pseudo-terminals secure add the word secure after
the word network like this:

/dev/pty0   none             network  secure

	Otherwise use the 'su' command to make your user-level account a
su-level account. To be able to do this, create a user (either manually,
with vipw and creating a home directory, adding an entry to /etc/group if
you want your own group name, and creating a mail folder in /var/mail if
you want to be able to recieve mail with this account, or with a script
like the few I have seen around. I think there is one in the NetBSD/amiga
archives on ftp.netbsd.org. SOmething like /pub/NetBSD-Amiga/contrib), add
that user to the wheel group in /etc/group and then type su at the command
prompt like so...

% su
Password: <enter root's password here.. it will not be echoed>	
# whoami
root
#

	8-)

	Ryan

-----
HELO... my name is rewt... you have SIGKILLed my father... prepare to vi!