Hi Friends,
Can anyone tell me how can I set the password age limit for root user to 14 days....???
Also would like to add following for root password;
min-alpha --- 4
min-other --- 1
min-length -- 6
min-diff ----- 3
How can I do these on command line....???
Regards,
jumadhiya (7 Replies)
Hello Folks,
I have been asked to write a test script which can be run by students. the script should have a time limit.
I have almost completed it except the bit of timing!
I've seen something like this:
on_timeout()
{
echo "$USER $score " >> theresult.txt
echo "Time out!... (2 Replies)
Hi ,
I have a script that is causing a problem that led me to think if there is a limit to the number of arguments for 'set' command in csh shell script.
Here is my script:
#!/bin/csh -f
set top = design_top
#1
set v_mbist = ( sim_mbist/*.v )
#2
set v_simlist = ( -v... (2 Replies)
Hi,
I have a file as such
1 <text1><text2></
2 <text3><text4></
3 <text5><text6></
4 <text7><text8></
I need is so the first bit of text in the line is at the end as its xml so
1 <text1><text2></text1>
2 <text3><text4></text3>
3 <text5><text6></text5>
4 ... (12 Replies)
I understand that the SED command reads all the lines in the file before adding a required line to the end of the file.
Is there another command that adds a line to the end of files without reading the entire file....
SED is increasing the processing time as the number of lines in each of the... (1 Reply)
Hello,
I created the following (snippet from larger code):
echo -n "A1: "
read A1
VERIFY=$(echo -n $A1|wc -c)
if ; then
echo -e "TOO MANY CHARACTERS"
fi
echo -n "A2: "
read A2
echo -n "A3: "
read A3
echo -e "Concat: $B1/$B2/$B3"
Basically what it does is it... (4 Replies)
As many will point out, one of the benefits of using rsync (without --delete) is that it will sync files between source and destination, but not delete files in the destination which HAVE been deleted in the source. Well, I have kind of the opposite problem and I'm wondering if there are date... (2 Replies)
hi all,
i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive)
i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
LedgerSMB::DBObject::Draft(3pm) User Contributed Perl Documentation LedgerSMB::DBObject::Draft(3pm)NAME
LedgerSMB::DBObject::Draft - LedgerSMB base class for managing "drafts."
SYNOPSIS
This module contains the methods for managing unapproved, unbatched financial transactions. This does not contain facities for creating
such transactions, only searching for them, and posting them to the books.
METHODS
search()
returns a list of results for the search criteria. This list is also stored in $draft->{search_resuts}
Requres $self->{type} to be one of 'ar', 'ap', or 'gl'
Optional hash entries for search criteria are:
with_accno: Draft transaction against a specific account. from_date: Earliest date for match to_date: Latest date for match
amount_le: total less than or equal to amount_ge: total greater than or equal to
approve()
Approves the draft identified by the transaction id in $draft->{id}. Once approved, the draft shows up in financial reports.
delete()
Deletes the draft associated with transaction id in $draft->{id}.
Naturally, only unapproved transactions can be deleted. Once posted to the books, a draft may not be deleted.
COPYRIGHT
Copyright (C) 2009 LedgerSMB Core Team. This file is licensed under the GNU General Public License version 2, or at your option any later
version. Please see the included License.txt for details.
perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Draft(3pm)