[Pkg-shadow-devel] Re: [Pkg-shadow-commits] r407 - in branches/experimental/debian: . patches

Nicolas François nicolas.francois at centraliens.net
Tue Jul 26 17:26:00 UTC 2005


On Tue, Jul 26, 2005 at 03:27:36PM +0200, Tomasz Kłoczko wrote:
> On Tue, 26 Jul 2005, Nicolas [iso-8859-1] François wrote:
> 
> > On Tue, Jul 26, 2005 at 01:32:28AM +0200, Nicolas François wrote:
> > > If there is no big surprise, it should build with 4.0.11.1, and the basic
> > > functionalities should work.
> > > Then we can probably upload to experimental (with an additional warning in
> > > the changelog? with a notice to debian-devel?)
> > 
> > Committed.
> > No big surprise.
> > I tested some basic login, su, useradd/userdel, chage commands
> 
> Probably it will be good prepare some kind of testing procedure for 
> shadow. I'll be glad have scripts with this in CVS.

I'm not sure an automated test suite will be feasible. Also, it will have
to be secure (i.e. I don't want to test the no password for root
functionality on one of my online boxes) (something running on a
dedicated chroot?).

Does anybody have an idea how we can automate an "su" with a password, and
then check the environment variables set in the shell?

I'm not sure it will be easy to have the same test suite (e.g. for Debian,
we will test with a Debian PAM, and we may want to test how adduser behave
with a new useradd), but we can certainly share a lot.

A first step could be a simple paper with check box (and maybe scripts to
help checking the result).
This could be added to a TODO: writing clear use cases with
pre-conditions, steps and expected behaviors.

If we manage to get something working, we should inform Marc Haber (Debian
adduser maintainer). He sent a mail on debian-devel and asked for help
(and mentioned he would be interested by somebody setting up a test
suite)

-- 
Nekral



More information about the Pkg-shadow-devel mailing list