My question is just only need expert in this forum verify and comment my scripts. Maybe have better scripts other than this.
From your post:
This scripts maybe I can put in as 5 years aging. I have question for +1675, how do you calculate and get this figure?. What I understand -1825 is equal to 5 years.
How about 30 days, 90days, 180days, 3years, 1years and 5 years already have it.
Vesion 3.8.1 of OpenSSH has been compiled on a Solaris 8 host. I am having difficulties in enabling password aging to work from reading /etc/default/passwd and /etc/shadow.
# passwd -f < user-id > works satisfactorily however once a password ages through due course from the settings in... (1 Reply)
If the command passwd -f is used, Users get the below error. I need to force users to change there passwords at initial login. Anyone know what is going on? This is on a Non-Stop UX system
UX:in.login: ERROR: Your password has been expired for too long
UX:in.login: TO FIX: Consult your system... (0 Replies)
hi experts
this is regarding password aging
i tried searching forum but i cudnt locate
given a login id,
i would like to determine whether password ageing has been enabled for that
and
for the login id whether password has been expired on a particular point of time
Thanks (4 Replies)
I have a folder with many subdirectories and i need to set the modified date to today for everything in it. Please help, thanks!
I tried something i found online, find . -print0 | xargs -r0 touch
but I got the error: xargs: illegal option -- r (5 Replies)
I am interested in creating a new file from a KSH script where the first line is printed. I know how to create the file, but creating with a pre-defined first line is what I need help with.
My code below creates the file, but how do I accomplish that and do it so that when I open that txt file... (5 Replies)
All, I am looking to make a script and wanted to see if anyone could help out.
The script will go through the directory, put a timestamp, transfer it and then create a touch $file.done script
HEre is my initial idea, but I don't think it will work properly. Anyone able to help me refine it... (11 Replies)
Hi Experts,
Kindly share scripts to find aging file and ftp to another server..
Example:
Find files more than 5 days and ftp to another server.
Please give suggestion :)
Thanks
Edy (1 Reply)
Dear Experts,
I have script to find aging file like this:
find /ArchiveINTF/INTF name "*" -type f -mtime +365 {} \; >> agingfile.txt
This script will find all files over 365 days.
But, I have problem, how to auto FTP all files?
Thanks
Edy (3 Replies)
Afternoon,
the stat command is used against a file to ascertain date created and last modification time. However a different individual if they so chose could use the touch command to alter the date created or modification time.
Is there anyway to protect against this ?
thanks
Steve (2 Replies)
I have noticed that the following command works
touch subtext_geopdf_to_.x
However this one does not
touch subtext_/geopdf/_to_/.x
How can I create such a file without making it think I supplied a path? (2 Replies)