10-02-2015
Looks like you copied the script from Linux to some other operating system, and your date command used is not the same as on previous operating system.
Either you will need to install the GNU date or change your script in part related to date handling.
Perhaps an awk strftime will be more common on various OS ?
What is your operating system ?
This User Gave Thanks to Peasant For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
login: TEST7
TEST7's Password:
Your password will expire: Wed Feb 19 14:28:08 2003
How can I the same information become in a script (as example
in the .profile)?????????
My login starts with .profile. These File is a menue with 24 lines and the message " Your password ....." disappear
to... (8 Replies)
Discussion started by: Erwin Stocker
8 Replies
2. Shell Programming and Scripting
Dear friends..
Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
Discussion started by: deepsteptom
1 Replies
3. Shell Programming and Scripting
Hi,
Is there any way to find out the UNIX user's password expire date?. It'll we helpful to inform the users to change the password before it get expires.(FYI - I am not having only admin previlege.) (1 Reply)
Discussion started by: sharif
1 Replies
4. Solaris
Hello
I want to set the password for user never expire through the command line. For your information the box is running under Solaris 8 platform. (2 Replies)
Discussion started by: shamsul
2 Replies
5. Shell Programming and Scripting
Hi ,
I am trying to execute the ipl file as below :
my $user="iwadmin";
chomp $user;
system("passwd -x 29 $user");
The ipl file executes with out any issues when i have logged in as root in solaris .but when when i try to execute the same file with other user id ie iwadmin ,it says... (3 Replies)
Discussion started by: abhishek1979
3 Replies
6. Solaris
Hi All,
I have Solaris 9 and there is user created in that server called appuser
That user should to be never expire..
can anyone advice me how can I modify that user to be never expire thru the command line without using GUI tool. (1 Reply)
Discussion started by: Mr.AIX
1 Replies
7. Shell Programming and Scripting
Hi All,
I have a XML file : System.xml in which I want to update the license tag with the new data from file licence.xml.
The content of files is in following format:
System.xml:
<?xml version="1.0"?>
<!DOCTYPE Configuration SYSTEM "SystemVariables.dtd">
<usageConfiguration... (2 Replies)
Discussion started by: Pramod_T
2 Replies
8. AIX
Does anyone know if the default message displayed when a users password has expired can be changed? I am just assuming the message below is the default one. If so please tell.
Using username "justinxx".
justinxx@160.23.12.44's password:
WARNING: Your password has expired.
You must... (2 Replies)
Discussion started by: juredd1
2 Replies
9. Shell Programming and Scripting
I wrote code to read a file text with contents of expiration dates and products. The products expire in thirty days and each day an email message is send as a reminder of the number of days left before the license expires.
The code generates errors when executed .
Here is part of the code.... (2 Replies)
Discussion started by: dellanicholson
2 Replies
10. Solaris
Hi There,
Actually I'm looking for command in Solaris 11 for the following
Command to do User Never Expire.
Command to return the user Expire to normal mode.
Command to do User Never Lock.
Command to return the user Never Lock to normal mode.
Please advice .. (1 Reply)
Discussion started by: roooooooooot
1 Replies
LEARN ABOUT SUSE
date::calc::pp
Date::Calc::PP(3) User Contributed Perl Documentation Date::Calc::PP(3)
NAME
Date::Calc::PP - pure-Perl plug-in for Date::Calc
SYNOPSIS
You never use this module directly. Use Date::Calc(3) instead!
DESCRIPTION
You never use this module directly. Use Date::Calc(3) instead!
SEE ALSO
Date::Calc(3), Date::Calc::XS(3).
VERSION
This man page documents "Date::Calc::PP" version 6.3.
AUTHOR
Steffen Beyer
mailto:STBEY@cpan.org
http://www.engelschall.com/u/sb/download/
COPYRIGHT
Copyright (c) 1995 - 2009 by Steffen Beyer. All rights reserved.
LICENSE
This package is free software; you can use, modify and redistribute it under the same terms as Perl itself, i.e., at your option, under the
terms either of the "Artistic License" or the "GNU General Public License".
The C library at the core of the module "Date::Calc::XS" can, at your discretion, also be used, modified and redistributed under the terms
of the "GNU Library General Public License".
Please refer to the files "Artistic.txt", "GNU_GPL.txt" and "GNU_LGPL.txt" in the "license" subdirectory of this distribution for any
details!
DISCLAIMER
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the "GNU General Public License" for more details.
perl v5.12.1 2009-10-31 Date::Calc::PP(3)