-----BEGIN PGP SIGNED MESSAGE-----

Hello Pere!

On Wed, 14 Oct 1998, Pere Camps wrote:

> Hi!
> 
>       I've been reading the man page for chage but I haven't got
> anything clear.
[...]
> 
>       Is this the right command (the dates are approx)?
> 
>       chage -E 20/10/98 -W 10 -M 10 `cat userlist`

I think chage just takes one user as argument, so use something similar to

users=$(cat userlist)
for i in $users ;
do
        chage blablabla...
done

Of course there many other ways to do it, this is Unix :-)

regards,

                Ulisses

- -----------------------------------------------------------------------------
"Computers are useless. They can only give answers."            Pablo Picasso

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: latin1
Comment: PGP public key avaliable at http://www.rediris.es/cert/keyserver

iQB1AwUBNiTf0g/N+5+NQ63pAQGUuQL+PC/rmczzAmbHv8gy4lYK7l4kPhYyBvL6
8n6HLMDEUjn9FOI+VyuTVhyamJ/o7lOJgR/HeRjnni4dNcJbBK4y9vu7ggLWnwhD
Smv7iYfZCHyZL2J1tPr+5a2Pe7KMK0w/
=kk3B
-----END PGP SIGNATURE-----

Reply via email to