user password defaults - SCO
This is a discussion on user password defaults - SCO ; per the docs, usermod -D -x "{passwdExpirationTime value}" sets a
default password expiration for users.
yet when i set this to say, 120 (e.g. usermod -D -x "{passwdExpirationTime
120}" - users that get written to /etc/shadow (thereafter) do not have ...
-
user password defaults
per the docs, usermod -D -x "{passwdExpirationTime value}" sets a
default password expiration for users.
yet when i set this to say, 120 (e.g. usermod -D -x "{passwdExpirationTime
120}" - users that get written to /etc/shadow (thereafter) do not have this
field for expiration filled in. i'm not expecting it to touch pre-existing
users, but don't see the point of setting a default if it does nothing but
print something on the priv-auth interactive screen.
usermod -x "{passwdExpirationTime value} username does write to /etc/shadow
as epected.
tested on openserver 5 - have not played with on openserver 6 to see if
behaves similar...
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe@magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
-
Re: user password defaults
In article <20071018103806.A15273@magnatechonline.com>,
Joe Chasan wrote:
>per the docs, usermod -D -x "{passwdExpirationTime value}" sets a
>default password expiration for users.
>
>yet when i set this to say, 120 (e.g. usermod -D -x "{passwdExpirationTime
>120}" - users that get written to /etc/shadow (thereafter) do not have this
>field for expiration filled in. i'm not expecting it to touch pre-existing
>users, but don't see the point of setting a default if it does nothing but
>print something on the priv-auth interactive screen.
The defaults that are set this way are stored in /etc/auth/system/default, and
affect users who do not have the corresponding parameter set in their
per-account tcb file (under /tcb/files/auth), which the /etc/shadow value
reflects.
John
--
John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/