tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* running usermod -D
@ 2001-03-08 18:46 Charles Sebold
  0 siblings, 0 replies; only message in thread
From: Charles Sebold @ 2001-03-08 18:46 UTC (permalink / raw)
  To: tru64-unix-managers

I'm trying to change the default passwd_expiration_time and
passwd_lifetime of new accounts.

What causes the error when I do this (as root):

# usermod -D -x passwd_expiration_time=90          
usage: usermod [-u uid [-o]] [-g group] [-G group[,group...]] 
               [-c comment] [-d home [-m]] [-s shell] [-l login] 
               [-f inactive] [-e expire] [-t type] [-x extendedOptionString] login
or     usermod -D [-g group] [-d base_home] [-s shell] 
               [-f inactive] [-e expire] [-x extendedOptionString]
#

This also happens with passwd_lifetime.

Running 4.0D patchlevel 4, Enhanced Security on an AS4100; above command
typed in after su'ing to root, under ksh.  Thanks in advance, will
summarize.
-- 
Charles Sebold, Systems Specialist                     LCMS Unix site:
LCMS - Office of Information Systems                       http://unix.ois.org/
*** Opinions expressed herein are not necessarily ***  5E74 5869 00E0 2368 3296
*** those of the Lutheran Church - Missouri Synod ***  0287 C1FD 0045 A5E2 A184
--
13th of Adar, 5761
--
The bugs you have to avoid are the ones that give the user not only
the inclination to get on a plane, but also the time.
		-- Kay Bostic

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-08 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-08 18:46 running usermod -D Charles Sebold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox