Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Adam Price" <adam@pappnase.demon.co.uk>
Subject: Re: Password lifetime
Date: Mon, 30 Oct 2000 17:57:35 -0000	[thread overview]
Message-ID: <972928654.4852.0.nnrp-14.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 39FC953D.F13550E5@aut.ac.nz


"Mike Mohr" <Mike.Mohr@aut.ac.nz> wrote in message news:39FC953D.F13550E5@aut.ac.nz...
>
>
> Adam Price wrote:
>
> > If you have a method of batch loading users in BASE mode then use it followed by
> > convuser -a to migrate the information into enhanced security.
>
> It was the switching between enhanced to base, batch loading in base and switching back to
> enhanced that clobbered us.
Don't do that then, modify your 'bulk-load' slightly. The tool that you use to add a user in 'base'
mode will modify the /etc/passwd database right? This part will still work in enhanced mode.
So foreach student record
modify /etc/passwd
run convuser -a,

>I'm trying to deal with deleting 320+ students from the system
> and adding the same amount +/- each term which explains why retirement is not such a good
> thing.
>

So allocate say 350/400 usernames sequentially numbered something like cs121 for the 121'st
computer science student to be registered, then just bulk change the gecos field.
I do understand that student populations are always a problem, but the auth database shouldn't
be part of it.

> > If an account is retired why remove the entry from /etc/passwd, that way you
> > get orphaned files which are a bad thing.
> >
> > If you want to 'remove' an account then you need to clean it out of the auth
> > database as well as the password file, when the two are inconsistent you may have
> > problems.
> >
> > If you are making a large change to the system then take a backup first.
> > I'm sure if you had a recent backup of the auth files then you could have just
> > restored it which would have been much quicker.
> > Ok some of your users may have changed their passwords since you made the
> > backup, but it shouldn't be too much hassle to deal with that.
> >
>
> Yes, we had the appropriate backups.  It was the loss of the root user access that forced us
> to rebuild the system.  To make matters worse, the backups use inode reference which conflict
> with current inode locations of selected files.  (Sometimes best intentions go astray.)
> Under those conditions, you can only restore the subvolume to it's original state, which put
> us back where we started from.
Why couldn't you get root access? In single user mode you should have been able to get in.

Adam







  reply	other threads:[~2000-10-30 17:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-10  4:00 Password lifetime Alexandre Fee
2000-10-11  4:00 ` Adam Price
2000-10-19  1:36   ` Mike Mohr
2000-10-19  4:00     ` Adam Price
2000-10-29 21:22       ` Mike Mohr
2000-10-30 17:57         ` Adam Price [this message]
2000-10-20  0:10     ` Stuart R. Fuller
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox