OS2 World.Com Forum

Subject  :  ID set up related command
Author  :  Sam
Date  :  07 Jan, 2005 on 20:26
Would someone please advise the exact sytax to perform the following tasks in Warp Server 4 by command

a. Check whether an ID has password expiration day ?
b. Check how long is the expiration day (ie 30 days)
c. Reset the passward expiration

Thanks


Subject  :  Re:ID set up related command
Author  :  dljone9 dljone9@os2world.com
Date  :  09 Jan, 2005 on 05:19
There are two commands that I think you can use for these purposes:

NET USER

NET ADMIN

The OS/2 Warp Command Reference details their uses...I think they
may prove to be everything you need here.


Subject  :  Re:ID set up related command
Author  :  ddelcol daviddelcol@yahoo.com
Date  :  09 Jan, 2005 on 07:06
Here is a quick couple

View USer Profile
NET ADMIN \\<DOMAINCONTROLLER> /C NET USER <userid>

Reset User Profile Password
NET ADMIN \\<DOMAINCONTROLLER> /C NET USER <userid> <password> /passwordexp:no

NOTE:Both Cases require logging into the OS/2 Domain as an ADMIN level.

To Change Expiry Policy, my memory fails, RTM, will check my old notes.


Subject  :  Re:ID set up related command
Author  :  Sam
Date  :  14 Jan, 2005 on 17:44
dljone9, ddelcol

Thanks for the information


Subject  :  Re:ID set up related command
Author  :  Sam
Date  :  22 Jan, 2005 on 06:05

ddelcol (09 Jan, 2005 07:10):
Reset User Profile Password
NET ADMIN \\<DOMAINCONTROLLER> /C NET USER <userid> <password> /passwordexp:no
To Change Expiry Policy, my memory fails, RTM, will check my old notes.

ddelcol

Can you find how to change expirary policy ? I tried both UPM and LAN Server Administration but still can't find how to do it.

I tried the suggested command to disable the password expiration. The output is "The command completed successfully". But that ID's password expiration date was not changed.

I am using an Administrator ID to remove its password expiration propertity. Not sure whether this is the cause of problem. It is a Warp 3 server. Version information is
"The Operating System/2 Version is 3.00
Revision 8.250 "

Would be much appreciate if any further help can be offered.

Thanks again


Powered by UltraBoard 2000 <www.ub2k.com>