From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2bcf5a1ae1a5c280 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-10-30 09:58:03 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!sn-xit-uk!supernews.com!194.42.224.136.MISMATCH!diablo.netcom.net.uk!netcom.net.uk!dispose.news.demon.net!demon!news.demon.co.uk!demon!pappnase.demon.co.uk!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Password lifetime Date: Mon, 30 Oct 2000 17:57:35 -0000 Message-ID: <972928654.4852.0.nnrp-14.c2deb51d@news.demon.co.uk> References: <8rvo30$im8$1@wanadoo.fr> <8s2h2i$odp$2@mailint03.im.hou.compaq.com> <39EE501A.7E9F825C@aut.ac.nz> <8smn53$pjc$1@mailint03.im.hou.compaq.com> <39FC953D.F13550E5@aut.ac.nz> NNTP-Posting-Host: pappnase.demon.co.uk X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 X-Trace: news.demon.co.uk 972928654 nnrp-14:4852 NO-IDENT pappnase.demon.co.uk:194.222.181.29 X-Complaints-To: abuse@demon.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.unix.tru64:680 "Mike Mohr" 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