tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Charles Sebold <sebold () lcms ! org>
To: tru64-unix-managers
Subject: running usermod -D
Date: Thu, 08 Mar 2001 18:46:28 +0000	[thread overview]
Message-ID: <98407721330774.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-03-08 18:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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