Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2013 15:27:18 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        questions FreeBSD <FreeBSD-questions@freebsd.org>
Cc:        Bernt Hansson <bah@bananmonarki.se>
Subject:   Re: Diskless question
Message-ID:  <alpine.BSF.2.00.1304241525130.9964@mail.fig.ol.no>
In-Reply-To: <44mwsow000.fsf@lowell-desk.lan>
References:  <51779573.20207@bananmonarki.se> <5177B43C.8000509@qeng-ho.org> <5177BA0C.5080002@bananmonarki.se> <44mwsow000.fsf@lowell-desk.lan>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-1109238043-1366810038=:9964
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Wed, 24 Apr 2013 09:07-0400, Lowell Gilbert wrote:

> Bernt Hansson <bah@bananmonarki.se> 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.

Why look at the /etc/passwd file when the key files are:

* /etc/master.passwd
* /etc/spwd.db
* /etc/passwd
* /etc/pwd.db

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
--2055831798-1109238043-1366810038=:9964--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1304241525130.9964>