You (Michael Meskes) wrote:
> I'm currently trying to finish the work on the shadow package. However,
> there are some decision to make:
> 
> 1) Should we change the login package to be shadow aware? Or should shadow
> come with its own login (that works with and without shadow password files)?
> Or should we use the shadow login as standard?

Well the login we're using now is from util-linux, and unless you can get
the shadow patches into the upstream source (which wouldn't be a bad idea)
it would be easier to use the login from the shadow package I think.
You can use the Replaces: header for that. The same goes for newgrp.
In fact I think you can drop newgrp since it isn't needed under Linux, we
have BSD groups support.
> 
> 3) We definitely have to use the shadow passwd source to be able to handle
> the shadowed passwd file, while the old one is needed for the standard
> passwd file. But the passwd package also contains a conffile (/etc/shells)
> and two more binaries that are not affected by shadow (vipw/vigr). Should I
> add these to the shadow package, too?

vipw and vigr should be rewritten so that they can edit the passwd+shadow.
I've got a vipw that merges passwd+shadow, lets you edit the merge, and
then splits it again. It also adheres to the shadow password locking
convention. If you want it drop me a line.

Also, you'll have to replace adduser ofcourse. This will be easy; shadow
comes with a command line utility "useradd" that just needs a simple
perl wrapper around it that emulates adduser functionality.

Bruce (I think it was Bruce) mentioned that we want shadow passwords as
a standard feature for 1.2; so I think just making sure all conflicting
packages get upgraded to work with shadow and letting shadow conflict
with the older packages would do the job.

Which reminds me: RedHat is going to integrate PAM into their next release.
Perhaps now is a good time to look if we should consider using that too,
or if we think that shadow is good enough for now.

Mike.
-- 
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:[EMAIL PROTECTED]          http://www.cistron.nl/
[EMAIL PROTECTED] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)


Reply via email to