From owner-freebsd-questions@FreeBSD.ORG Thu Aug 5 16:04:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FE7216A4D8 for ; Thu, 5 Aug 2004 16:04:44 +0000 (GMT) Received: from e.sarang.net (e.sarang.net [61.78.58.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 45BA243D45 for ; Thu, 5 Aug 2004 16:04:43 +0000 (GMT) (envelope-from bh@izb.knu.ac.kr) Received: (qmail 30469 invoked from network); 6 Aug 2004 01:03:42 +0900 Received: from unknown (HELO izb.knu.ac.kr) (155.230.157.93) by 0 with SMTP; 6 Aug 2004 01:03:42 +0900 Received: (qmail 49342 invoked from network); 6 Aug 2004 01:04:41 +0900 Received: from ssiba.izb.knu.ac.kr (HELO jocca.izb.knu.ac.kr) (2002:9be6:9d5d:2::1) by ssiba.izb.knu.ac.kr with AES256-SHA encrypted SMTP; 6 Aug 2004 01:04:41 +0900 Received: (qmail 49336 invoked from network); 6 Aug 2004 01:04:40 +0900 Received: from unknown (HELO tz3220e.izb.knu.ac.kr) (2002:da95:dd1f:1::1) by izb.knu.ac.kr with AES256-SHA encrypted SMTP; 6 Aug 2004 01:04:40 +0900 Received: by tz3220e.izb.knu.ac.kr (Postfix, from userid 1001) id C34816146; Fri, 6 Aug 2004 01:05:14 +0900 (KST) Date: Fri, 6 Aug 2004 01:05:14 +0900 From: "Byung-Hee H." To: Thomas Krause Message-ID: <20040805160514.GA74724@tz3220e.izb.knu.ac.kr> References: <1987.212.78.101.51.1091694018.squirrel@mta.webmatic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1987.212.78.101.51.1091694018.squirrel@mta.webmatic.de> Organization: InZealBomb X-URL: X-PGP-Key: X-Operating-System: FreeBSD 5.2-CURRENT X-Originating-IP: [2002:da95:dd1f:1::1] User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Only root is able to login X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 16:04:44 -0000 Hi, Thu, Aug 05, 2004 at 10:20:18AM +0200 Thomas Krause wrote: > Hello, > I've a big problem, that only root is able to login to a new FreeBSD 5.2.1 > box. Neither login nor su works. I've no local access to the machine. > A ftp-login is possible for normal users. > > mdm-online:/ # su - abc > su: /bin/sh: Permission denied > > mdm-online:/ # login abc > Password: > Copyright (c) 1992-2004 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > > FreeBSD 5.2.1-RELEASE-p9 (MDM-ONLINE) #1: Mon Jul 26 22:24:58 CEST 2004 > > Welcome to FreeBSD! > > login: /bin/sh: No such file or directory > > mdm-online:/ # ls -l /bin/sh > -r-xr-xr-x 1 root wheel 753872 Jul 26 10:18 /bin/sh > mdm-online:/ # pw usershow abc > abc:*:1003:1003::0:0:User &:/home/abc:/bin/sh > mdm-online:/ # ls -ld /home/abc > drwxr-xr-x 2 abc abc 512 Aug 5 09:33 /home/abc > mdm-online:/ # ls -la /home/abc > total 20 > drwxr-xr-x 2 abc abc 512 Aug 5 09:33 . > drwxr-xr-x 7 root wheel 512 Aug 5 09:34 .. > -rw-r--r-- 1 abc abc 767 Aug 5 09:33 .cshrc > -rw-r--r-- 1 abc abc 248 Aug 5 09:33 .login > -rw-r--r-- 1 abc abc 158 Aug 5 09:33 .login_conf > -rw------- 1 abc abc 373 Aug 5 09:33 .mail_aliases > -rw-r--r-- 1 abc abc 331 Aug 5 09:33 .mailrc > -rw-r--r-- 1 abc abc 797 Aug 5 09:33 .profile > -rw------- 1 abc abc 276 Aug 5 09:33 .rhosts > -rw-r--r-- 1 abc abc 975 Aug 5 09:33 .shrc > > I've not modified any login* file in /etc > > I've no idea what's the reason, also as it worked before. > Any hints would be greatful. > > Regards, > Thomas. > Reference to MERGEMASTER(8). Cheer up!