From owner-freebsd-questions Sat Mar 16 17: 8: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from charybdis.rus.uni-stuttgart.de (charybdis.rus.uni-stuttgart.de [129.69.1.58]) by hub.freebsd.org (Postfix) with ESMTP id BF71737B402 for ; Sat, 16 Mar 2002 17:08:01 -0800 (PST) Received: from helpdesk (helpdesk.rus.uni-stuttgart.de [129.69.221.120]) by charybdis.rus.uni-stuttgart.de with ESMTP id CAA03247; Sun, 17 Mar 2002 02:07:53 +0100 (MET) env-from (rusisnoc@helpdesk.rus.uni-stuttgart.de) Received: from rusisnoc by helpdesk with local (Exim 3.34 #1 (Debian)) id 16mP9N-0002Xl-00; Sun, 17 Mar 2002 02:07:53 +0100 Date: Sun, 17 Mar 2002 02:07:53 +0100 From: Georg Auernhammer To: GB Cc: freebsd-questions@freebsd.org Subject: Re: An idiot, his box, and a security question Message-ID: <20020317010753.GA9293@helpdesk.rus.uni-stuttgart.de> References: <002d01c1cd44$a2307740$0301a8c0@CITYMOUSE> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <002d01c1cd44$a2307740$0301a8c0@CITYMOUSE> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Huhu! [snip] ... [snop] > THREE DON'T-KNOW-NUTHIN'-ABOUT-SSH QUESTIONS: > > * When attempting to login at "root" and just hitting ENTER at the > password prompt, I can't get in. Am I missing something about his "no > password required for root" comment? On the consle you don't need a password, just leave it blanke. To get remote access, you need a ident-Key and a public key, as described in "man ssh" > > * Because I can't log in as root, any root-like changes I want to make > would have to be made via sudo. What commands would I issue from the > command line to change my root password back to what it was before? At the prompt type: sudo -s Than YOUR password and voila, you'r root > > * When I attempt to telnet into the machine (from within or outside of > my own LAN), I'm immediately prompted with "User Access Verification" > and a Password prompt. No known passwords for the machine work. I > thought this was particularly odd, since the box wasn't asking for a > login, only a password. Why telnet? Use ssh. > I like the idea of being very secure, yet I admit the man SSH pages left > me confused. At this point, I'd be happy if I could: > > * Telnet into my machine and execute commands as root via sudo Telnet is like sending your PIN's for Banccard or CellPhone via Postcards. SSH is like using envelopes ;) > * Actually login as root while sitting at the machine so I could make > broad changes, install/delete ports, etc. Login as User -> sudo -s :)) -- Georg Auernhammer Benutzerberater RUS, Admin Institut für Geophysik FTP-Admin, Mirror, W2k-Pool, W-LAN, ICafe Georg.Auernhammer@rus.uni-stuttgart.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message