From owner-freebsd-questions Sun Apr 23 2: 7:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id E177F37B9B6 for ; Sun, 23 Apr 2000 02:07:15 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id DAA56780; Sun, 23 Apr 2000 03:07:58 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 23 Apr 2000 03:07:58 -0600 (CST) From: Ryan Thompson To: Tian Siyuan Cc: questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tian Siyuan wrote to questions@FreeBSD.ORG: > Hi, > > How can I remote login to FreeBSD as root? > > Thanks & regards, > > TSY > I recommend SSH. Free SSH clients are available for most variants of UNIX/Linux, as well as Windows. Install sshd from the FreeBSD ports to allow SSH logins, then enable root access by adding PermitRootLogin yes ...to /usr/local/etc/sshd_config SSH provides secure public/private key encryption over insecure networks. If you are on a closed network, or if you take a brazen attitude towards data security, root logins can be accomplished with regular telnet. Given a regular login user, add that user to the "wheel" group in /etc/group. So, at the top of /etc/group should be: wheel:*:0:root Simply add your name to that comma separated list. If your login ID was 'tian', that line should read: wheel:*:0:root,tian You can then log in via telnet as tian, and use su(1) to switch to the super user, provided you can enter root's password. su -l simulates a full login. I still recommend SSH, however. -- Ryan Thompson Systems Administrator, Accounts Phone: +1 (306) 664-1161 SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message