8 More Discussions You Might Find Interesting
1. AIX
Hi!
I have forgotten to change the file /etc/environment on a server.
I had this ligne for TZ variable
TZ=NFT-1DFT,M3.4.0/2:00:00,M10.5.0/2:00:00
So, yesterday I had the wrong date
Yesterday I changed the hour to come back at the good hour and change /etc/environment by this lign... (3 Replies)
Discussion started by: Castelior
3 Replies
2. Post Here to Contact Site Administrators and Moderators
Not sure as to How to close a thread so people understand that the issue was solved and the issue is not just sitting in limbo still waiting for a resolution. (1 Reply)
Discussion started by: mrmurdock
1 Replies
3. IP Networking
Hi,
I have a question on closing the listen socket in server. In the application I am working, the server is continously receiving requests from the client in its master socket to handle each request. There is an option to shutdown the server process. In this case do I need to explicitly close... (1 Reply)
Discussion started by: naan
1 Replies
4. Shell Programming and Scripting
i need a script that can tell me the date 2 days ago or 3 days ago.
please help (7 Replies)
Discussion started by: tomjones
7 Replies
5. What is on Your Mind?
for anyone who surfs the northeast:
why can't we have more frequent wave forming winds (bigger low pressure systems) in the summer?! i'm tired of putting on 100lbs of wet suit and surfing awesome waves. i'd rather put on no wet suit and surf awesome waves. :) damn the bermuda high!!
anyone... (1 Reply)
Discussion started by: pupp
1 Replies
6. Shell Programming and Scripting
Hi,
I would like to list latest 2 days, 3 days or 4 days,etc of files in the directory...
how? is it using ls? (3 Replies)
Discussion started by: happyv
3 Replies
7. UNIX for Dummies Questions & Answers
Reliant Unix.
Our branch in Syria has a Unix Server running our company application.
Usually the the time is changed not in a fixed date.....but around end of October and beginning of November.
The night of the summer winter time change last year...we put the server in singel user mode, then... (0 Replies)
Discussion started by: bcheaib
0 Replies
8. Post Here to Contact Site Administrators and Moderators
hi,
Just wondering if there could be a way to close threads whose creator has got the desired reply.
however if someone still wants to give a remark or suggest further on the thread one can still do so.
Besides on the control panel there should be some kind of selection criteria to view... (3 Replies)
Discussion started by: linuxpenguin
3 Replies
lchage(1) General Commands Manual lchage(1)
NAME
lchage - Display or change user password policy
SYNOPSIS
lchage [OPTION]... user
DESCRIPTION
Displays or allows changing password policy of user.
OPTIONS
-d, --date=days
Set the date of last password change to days after Jan 1 1970.
Set days to -1 to disable password expiration (i.e. to ignore --mindays, and --maxdays and related settings).
Set days to 0 to enforce password change on next login. (This also disables password expiration until the password is changed.)
-E, --expire=days
Set the account expiration date to days after Jan 1 1970. Set days to -1 to disable account expiration.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-I, --inactive=days
Disable the account after days after password expires (after the user is required to change the password). Set days to -1 to keep
the account enabled indefinitely after password expiration.
-l, --list
Only list current user's policy and make no changes.
-m, --mindays=days
Require at least days days between password changes. Set days to 0 or -1 to disable this requirement.
If this value is larger than the value set by --maxdays, the user cannot change the pasword.
-M, --maxdays=days
Require changing the password after days since last password change. Set days to -1 to disable password expiration.
-W, --warndays=days
Start warning the user days before password expires (before the user is required to change the password). Set days to 0 or -1 to
disable the warning.
EXIT STATUS
The exit status is 0 on success, nonzero on error.
NOTES
Note that "account expiration" (set by --expire) is distinct from "password expiration" (set by --maxdays). Account expiration happens on
a fixed date regardless of password changes. Password expiration is relative to the date of last password change.
libuser Nov 8 2012 lchage(1)