From owner-freebsd-questions@FreeBSD.ORG Wed Apr 24 12:45:52 2013 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E64E6535 for ; Wed, 24 Apr 2013 12:45:52 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1FF12C9 for ; Wed, 24 Apr 2013 12:45:51 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r3OCjnZR011839; Wed, 24 Apr 2013 14:45:50 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <5177D3D7.7050905@bananmonarki.se> Date: Wed, 24 Apr 2013 14:45:11 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130321 Thunderbird/17.0.4 MIME-Version: 1.0 To: Arthur Chance Subject: Re: Diskless question References: <51779573.20207@bananmonarki.se> <5177B43C.8000509@qeng-ho.org> <5177BA0C.5080002@bananmonarki.se> <5177C045.1070900@qeng-ho.org> In-Reply-To: <5177C045.1070900@qeng-ho.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions FreeBSD 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 12:45:53 -0000 2013-04-24 13:21, Arthur Chance skrev: > On 04/24/13 11:55, Bernt Hansson wrote: >> 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 > > > That's not logging in directly as root, that's using su as a normal > user. Only members of wheel group can use su. Try logging in directly on > the console as root. That should work unless you've marked the console > as insecure or have an "impossible" password in /etc/master.passwd. I am a member of the wheel group. > In the long run you need to add your normal user to wheel group so you > can use su. Can you edit the diskless machine's /etc/group from the > server that's supplying its disk(s)? In the days when I ran diskless > systems I usually found it easier to work on the diskless systems' > config files via the server. > I have tried and my own password is easily changed via the server. if i try, on the diskless, Login: root Password: password or none Login incorrect