From owner-freebsd-questions Tue Dec 19 17: 8:19 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 17:08:14 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from xellos.bignet.net (xellos.bignet.net [64.79.64.6]) by hub.freebsd.org (Postfix) with ESMTP id 5E80337B400 for ; Tue, 19 Dec 2000 17:08:14 -0800 (PST) Received: from t4e5g6 ([64.31.24.173]) by xellos.bignet.net (8.9.3/8.9.3) with SMTP id UAA02354; Tue, 19 Dec 2000 20:08:11 -0500 Message-ID: <003a01c06a3a$ff691ca0$ad181f40@bignet.net> From: "Jason" To: Cc: References: <000e01c06a37$d56e6020$ad181f40@bignet.net> <20001219195352.A62464@cae88-102-101.sc.rr.com> Subject: Re: no users i create can login Date: Tue, 19 Dec 2000 20:11:55 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Don't I feel stupid. I didnt know / had permissions since there seems to be no way to do a LS on it to see them (or none that I know of) I did a: chmod 755 / and all is well. Now on to fixing these sendmail and apache issues. Thanks for the quick reply ----- Original Message ----- From: "Donald J . Maddox" To: "Jason" Sent: Tuesday, December 19, 2000 4:53 PM Subject: Re: no users i create can login > I had problems similar to this once when a rogue install changed > permissions on the / dir. Shutdown to single user, then > chmod 0755 / > > HTH > > On Tue, Dec 19, 2000 at 07:48:14PM -0800, Jason wrote: > > It all started with multiple sendmail errors and apache permission errors > > and I don't know what caused this. I thought reinstalling BSD then apache > > might help but in the process I seem to have made matters worse. I am using > > 4.1.1-Release for i386. Here are is the symtpoms of the problem...below is > > the history leading up to the situation. > > > > When I try to su to my account from root I get the following: > > su: /bin/tcsh: Permission denied > > > > When I try to logon from console I get the following: > > login: _secure_path: cannot stat > > /home//.login_conf: Permission denied > > login: _secure_path: cannot stat /etc/login.conf: > > Permission denied > > Cannot find root directory. > > login: LOGIN REFUSED (ROOTDIR) ON TTY ttyv0 > > > > Here are the events that led to my current situation: > > used /stand/sysinstall to do custom install on an already operating system > > with constant sendmail problems errrors messages (I dont even use sendmail). > > I thought I may have corrupted some conf file somewhere and didnt know how > > to find it. I then reinstalled Apache after I backed up all existing files. > > This is when I noted my group www was no longer valid and I discovered all > > my users were no longer built even though the /usr/home/* were still there. > > > > I figured I had to recreate all the users and groups I need to operate as > > before. So I began with my own account. It seemed to add properly using > > adduser but the files in /usr/home/ was all assigned to the > > incorrect UID and GID. I realized the GID and UID were from the old > > accounts so I thought it best to start with a clean /usr/home area. > > I changed home to homeold and created a new /usr/home folder. I then rmuser > > all accounts and started over. I created an account for myself and verified > > the /usr/home/ looked good. IE All files in my home was assigned to > > my account name and my group name (username and group name is the same for > > now) > > > > any help would be appreciated...once I get this resolved I can move on the > > myraid of other problems I seem to have developed within the last few days. > > for now just one fix at a time so I can get a handle on this. But for the > > record here are the other problems I have in case they may be part of this. > > > > sendmail[578]: eBJJSxf00578: forward > > /home/.forward: Permission denied > > > > sendmail[578]: eBJJSxf00578: SYSERR(root) hash map > > "Alias0": missing map file /etc/mail/aliases.db: No such file or directory > > (message similar to this before the reinstall stated something about > > dangerous global map I thiink....cant seem to find the older sytem messages > > anymore) > > > > sendmail[268]: NOQUEUE: SYSERR: putoutmsg (NO-HOST): > > error on output channel sending "454 4.8.8 fill_fd: before readcf: fd 1 not > > open: Bad file descriptor": Input/output error > > > > sendmail[268]: NOQUEUE: SYSERR(root): fill_fd: before > > readcf: fd 1 not open: VBad file descriptor > > > > sendmail[268]: NOQUEUE: SYSERR(root): fill_fd: before > > readcf: fd 2 not open: VBad file descriptor > > > > Thats all I can fine in the last 24 hours. I can use all the help you can > > offer this time. Spelling or syntax might be off since I transcribed all > > messages by hand because I am only root account works right now and it wont > > allow me to telnet to that login. > > > > Thanks > > Jason > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message