From owner-freebsd-questions@FreeBSD.ORG Wed Apr 24 13:39:04 2013 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 57762EB7 for ; Wed, 24 Apr 2013 13:39:04 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id EA38015C2 for ; Wed, 24 Apr 2013 13:39:03 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r3ODcxU1066956; Wed, 24 Apr 2013 14:38:59 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <5177E073.5040308@qeng-ho.org> Date: Wed, 24 Apr 2013 14:38:59 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130409 Thunderbird/17.0.5 MIME-Version: 1.0 To: questions FreeBSD Subject: Re: Diskless question References: <51779573.20207@bananmonarki.se> <5177B43C.8000509@qeng-ho.org> <5177BA0C.5080002@bananmonarki.se> <44mwsow000.fsf@lowell-desk.lan> In-Reply-To: <44mwsow000.fsf@lowell-desk.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lowell Gilbert , Bernt Hansson X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2013 13:39:04 -0000 On 04/24/13 14:07, Lowell Gilbert wrote: > Bernt Hansson writes: > >> 2013-04-24 12:30, Arthur Chance skrev: >>> On 04/24/13 09:18, Bernt Hansson wrote: >>>> Hello list! >>>> >>>> I have set up a diskless machine with 8.3-stable and i as a user can log >>>> in, but when I try to log in as root it won't work. How to resolv that >>>> issue. I have tried with and without password but the computer said no. >>> >>> How did it say no? What does the entry for root in /etc/passwd say? >> >> $su >> Sorry >> >> root:*:0:0:Charlie &:/root:/bin/csh > ^ > / \ > > Root has no valid password. > > You'll need to go into single-user mode and either give it one or > install sudo and add your regular user to the sudoers file. No, that's from /etc/passwd which never shows any real password information. The true password field is in /etc/master.passwd and I'm not going to ask anyone to show that here. However, the OP should check it's got a valid looking field value rather than just a '*' -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_