Date: Thu, 25 Apr 2013 13:58:17 -0700 (PDT) From: Bill Tillman <btillman99@yahoo.com> To: questions FreeBSD <FreeBSD-questions@freebsd.org> Subject: Re: Diskless question Message-ID: <1366923497.6511.YahooMailNeo@web165002.mail.bf1.yahoo.com> In-Reply-To: <5177E389.3030307@qeng-ho.org> References: <51779573.20207@bananmonarki.se> <5177B43C.8000509@qeng-ho.org> <5177BA0C.5080002@bananmonarki.se> <5177C045.1070900@qeng-ho.org> <5177D3D7.7050905@bananmonarki.se> <5177E389.3030307@qeng-ho.org>
next in thread | previous in thread | raw e-mail | index | archive | help
________________________________ From: Arthur Chance <freebsd@qeng-ho.org> To: Bernt Hansson <bah@bananmonarki.se> Cc: questions FreeBSD <FreeBSD-questions@freebsd.org> Sent: Wednesday, April 24, 2013 9:52 AM Subject: Re: Diskless question On 04/24/13 13:45, Bernt Hansson wrote: > > > 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. Curious, I would have expected the su to work. Time for a quick look at the source. >> 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 As I mentioned in another post, have you got a valid looking password field in /etc/master.passwd or just a '*'? Valid fields tend to look something like $2a$04$<XXX> or $6$<XXX> where <XXX> is a lot of base64 encoded data. Looking in the source for su there are three places that generate "Sorry". They all send messages to syslog. Is there a "BAD SU" entry in your /var/log/auth.log or a PAM related error in /var/log/messages and/or on the console? -- 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_ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" When you're editing the /etc/passwd file make sure it's the one in the partition that you set for your root for the diskless machine. It could be the same one as the server but typically another partition is setup as the root for the diskless machine(s). From owner-freebsd-questions@FreeBSD.ORG Thu Apr 25 21:06:20 2013 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> 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 0535E6DE for <freebsd-questions@FreeBSD.org>; Thu, 25 Apr 2013 21:06:20 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [204.107.128.50]) by mx1.freebsd.org (Postfix) with ESMTP id C19171C25 for <freebsd-questions@FreeBSD.org>; Thu, 25 Apr 2013 21:06:19 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.6/8.14.6) with ESMTP id r3PKfQ6H024952 for <freebsd-questions@FreeBSD.org>; Thu, 25 Apr 2013 16:41:26 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.6/8.14.6/Submit) with ESMTP id r3PKfQvT024949 for <freebsd-questions@FreeBSD.org>; Thu, 25 Apr 2013 16:41:26 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Thu, 25 Apr 2013 16:41:26 -0400 (EDT) From: doug <doug@fledge.watson.org> To: freebsd-questions@FreeBSD.org Subject: mouse in alpine Message-ID: <alpine.BSF.2.00.1304251629080.19848@fledge.watson.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Thu, 25 Apr 2013 16:41:26 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: doug@safeport.com List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 25 Apr 2013 21:06:20 -0000 on (.1 I built alpine with: ===> The following configuration options are available for alpine-2.00_3: THREADS=on: Compile with thread support MOUSE=on: Enable mouse support for xterm NLS=off: National Language Support ISPELL=on: Use ispell instead of aspell as default speller NOSPELL=off: Use no default speller (overrides both) PICO=on: Build and install pico, the default editor IPV6=off: Add support for IPv6 LDAP=off: Add support for LDAP PASSFILE=off: Support for a stored password file (DANGEROUS) CONS25=off: Add a patch to support color for default console QUOTA=off: Add a patch for disk quota checking on IMAP MAILDIR=on: Add a patch for maildir support mouse in xterm works fine but not in pine. My mentor has Xorg installed, so his system is not useful as a pattern to follow. I have an older version working. That system has some X libs installed. I have .ssh/config and all that stuff configured. At least on 7.4 alpine seems to require some further support. Hopefully someone can tell me what I am missing.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1366923497.6511.YahooMailNeo>
