[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sysadmin stuff/problems
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Sysadmin stuff/problems
- From: Charlie Root <root_(_at_)_corinne_(_dot_)_mac_(_dot_)_edu_(_dot_)_wustl_(_dot_)_edu_(_dot_)_wustl_(_dot_)_edu_(_dot_)_wustl_(_dot_)_edu>
- Date: Sun, 29 Sep 1996 19:40:48 -0500 (CDT)
Hello!
I re-installed OpenBSD after my disk crash and am using the
FreeBSD PERL adduser script to add users. I notice that root can run the
"passwd" command just fine, but when a user goes to run it the shell spits
back
passwd: the passwd file is busy
prompt%
My users can't change their passwords, this is not good ;-) root can run
it and change his password just fine. There is NO /etc/ptmp file or any
other ptmp file on the system. The /tmp and /usr/tmp directories don't
have anything in them either.
Permissions in the /etc directory look OK for the database and passwd
files. Just for referance:
644 aliases.db (-rw-r--r--)
644 pwd.db (-rw-r--r--)
600 spwd.db (-rw-------)
644 passwd (-rw-r--r--)
600 master.passwd (-rw-------)
ALSO: In a semi-related note, the local mailer seems to be setting
permissions wrong on incoming mail and if the user doesn't have an
exisitng spool, it only creates a 0 byte file if an initial mail is sent.
When the initial spool is then made, on the 2nd mail, the spool is set
(600) -rw------- daemon wheel so the owner can't read the message. This is
corrected when root chown's the file manually. Should the adduser script
be using something like "touch" to create a 0-byte mail file?
/var/mail is set at 1477 for permissions (drwxrwxrwt) as per the man page.
root gets all sorts of mail when this fails, and /var/log/maillog says
that the user doesn't exist on the initial mail. For the second mail, it
saves it, but it doesn't chown the username correctly. Is this an adduser
thing that I should fix or something with the mailer?
Thanks for the time, help, effort, etc, etc.
-Jon
jkatz_(_at_)_mac_(_dot_)_edu
Visit your host, monkey.org