Date: Tue, 28 Oct 1997 00:54:54 -0500 (EST) From: Peter Philipp <pjp@globalserve.net> To: ringlord@bbs.dcoisp.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: login as root remotely not possible? Message-ID: <Pine.BSF.3.96.971028004856.498A-100000@tap.system.ca> In-Reply-To: <TCPSMTP.17.10.27.-11.10.54.3047923923.2614@bbs.dcoisp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Oct 1997 ringlord@bbs.dcoisp.net wrote: > However, when I try either telnetting into my freebsd box, or rlogging > into my freebsd box from a remote network. The passwd for root doesn't > work. That is to say, when I try to login to my freebsd box either > rlogin or telnet, I am unable to login as root. However, I was able to > create another user account and place that account into the proper > groups to su to root, so all is working well. I was just wondering if > this was a natural thing, not being able to login as root when either > telnetting or rlogging into my machine? The su way is the proper way to do this. But if you really want to login as root remotely you'll have to edit the file /etc/ttys and add "secure" to the ttyp? (pseudo ttys). This will enable you to login as root. Please, please, if you do something like this at least use ssh (secure shell) as your machine could be compromised very quickly if someone is sniffing your network. Here is a sample entry for /etc/ttys ttyp0 none network secure ttyp1 none network secure and so on... Another reason this is a bad idea is that if someone does a dictionary attack on your telnet login root cannot be compromised. Hope that helps, Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971028004856.498A-100000>