* Password lifetime
@ 2000-10-10 4:00 Alexandre Fee
2000-10-11 4:00 ` Adam Price
0 siblings, 1 reply; 7+ messages in thread
From: Alexandre Fee @ 2000-10-10 4:00 UTC (permalink / raw)
Hi
Is there a way to configure password lifetime in Digital Unix 4.0F or True64
without Enhanced Security installed
Many thanks in advance
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Password lifetime
2000-10-10 4:00 Password lifetime Alexandre Fee
@ 2000-10-11 4:00 ` Adam Price
2000-10-19 1:36 ` Mike Mohr
0 siblings, 1 reply; 7+ messages in thread
From: Adam Price @ 2000-10-11 4:00 UTC (permalink / raw)
"Alexandre Fee" <a.fee@wanadoo.fr> wrote in message news:8rvo30$im8$1@wanadoo.fr...
> Hi
>
> Is there a way to configure password lifetime in Digital Unix 4.0F or True64
> without Enhanced Security installed
>
>
Don't think so, but why not load up enhanced security?
Adam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Password lifetime
2000-10-11 4:00 ` Adam Price
@ 2000-10-19 1:36 ` Mike Mohr
2000-10-19 4:00 ` Adam Price
2000-10-20 0:10 ` Stuart R. Fuller
0 siblings, 2 replies; 7+ messages in thread
From: Mike Mohr @ 2000-10-19 1:36 UTC (permalink / raw)
Because it can be a bloody pain in the arse.
1. There is no means of batch loading users other than the UA package which assumes
you are using a NIS domain. Have you ever tried loading 320 users using dxaccounts in
a single hit?
2. Editing errors can corrupt the environment such that not even the root user can log
in. This condition can occur when you retire a number of accounts and then remove them
from the /etc/passwd file. Our only solution was to go into re-install mode and
clobber the system before bringing it back to basic security mode. (Very messy --
three days loss.)
Adam Price wrote:
> "Alexandre Fee" <a.fee@wanadoo.fr> wrote in message news:8rvo30$im8$1@wanadoo.fr...
> > Hi
> >
> > Is there a way to configure password lifetime in Digital Unix 4.0F or True64
> > without Enhanced Security installed
> >
> >
> Don't think so, but why not load up enhanced security?
> Adam
--
================================================================
Mike Mohr, Systems Administrator === Email: Mike.Mohr@aut.ac.nz
Information Technology Group === Phone: 64 9 917-9999 x8133
Auckland University of Technology === Fax: 64 9 917-9901
PO Box 92006, Auckland, New Zealand =
http://home.aut.ac.nz/staff/mmohr/
================================================================
If we have unlimited ability to think, why do we use computers?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Password lifetime
2000-10-19 1:36 ` Mike Mohr
@ 2000-10-19 4:00 ` Adam Price
2000-10-29 21:22 ` Mike Mohr
2000-10-20 0:10 ` Stuart R. Fuller
1 sibling, 1 reply; 7+ messages in thread
From: Adam Price @ 2000-10-19 4:00 UTC (permalink / raw)
"Mike Mohr" <Mike.Mohr@aut.ac.nz> wrote in message news:39EE501A.7E9F825C@aut.ac.nz...
> Because it can be a bloody pain in the arse.
All security is a compromise.
> 1. There is no means of batch loading users other than the UA package which assumes
> you are using a NIS domain.
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.
> Have you ever tried loading 320 users using dxaccounts in
> a single hit?
Never used dxaccounts for anything much except checking what it does to the auth
database and passwd files so that my scripts could be compatible.
Repetitive tasks are a pain with GUI's scripts are good for this kind of thing.
> 2. Editing errors can corrupt the environment such that not even the root user can log
> in. This condition can occur when you retire a number of accounts and then remove them
> from the /etc/passwd file.
As for editing errors crippling the system well I don't see why enhanced security
changes that, if you make a typo in /etc/passwd then it's broken, simple as that.
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.
> Our only solution was to go into re-install mode and
> clobber the system before bringing it back to basic security mode. (Very messy --
> three days loss.)
>
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.
> Adam Price wrote:
>
> > "Alexandre Fee" <a.fee@wanadoo.fr> wrote in message news:8rvo30$im8$1@wanadoo.fr...
> > > Hi
> > >
> > > Is there a way to configure password lifetime in Digital Unix 4.0F or True64
> > > without Enhanced Security installed
> > >
> > >
> > Don't think so, but why not load up enhanced security?
> > Adam
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Password lifetime
2000-10-19 1:36 ` Mike Mohr
2000-10-19 4:00 ` Adam Price
@ 2000-10-20 0:10 ` Stuart R. Fuller
1 sibling, 0 replies; 7+ messages in thread
From: Stuart R. Fuller @ 2000-10-20 0:10 UTC (permalink / raw)
Mike Mohr (Mike.Mohr@aut.ac.nz) wrote:
: Because it can be a bloody pain in the arse.
: 1. There is no means of batch loading users other than the UA package which assumes
: you are using a NIS domain. Have you ever tried loading 320 users using dxaccounts in
: a single hit?
No, but I've used a script wrapped around the /usr/sbin/useradd command.
Stu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Password lifetime
2000-10-19 4:00 ` Adam Price
@ 2000-10-29 21:22 ` Mike Mohr
2000-10-30 17:57 ` Adam Price
0 siblings, 1 reply; 7+ messages in thread
From: Mike Mohr @ 2000-10-29 21:22 UTC (permalink / raw)
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. 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.
> 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.
================================================================
Mike Mohr, Systems Administrator === Email: Mike.Mohr@aut.ac.nz
Information Technology Group === Phone: 64 9 917-9999 x8133
Auckland University of Technology === Fax: 64 9 917-9901
PO Box 92006, Auckland, New Zealand =
http://home.aut.ac.nz/staff/mmohr/
================================================================
If we have unlimited ability to think, why do we use computers?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Password lifetime
2000-10-29 21:22 ` Mike Mohr
@ 2000-10-30 17:57 ` Adam Price
0 siblings, 0 replies; 7+ messages in thread
From: Adam Price @ 2000-10-30 17:57 UTC (permalink / raw)
"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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-10-30 17:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2000-10-20 0:10 ` Stuart R. Fuller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox