06-04-2010
Based upon what? Modify time? Create time? Access time?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Being new I had my focus in the wrong place and typed in xterm instead of <If you can't guess, good>.
Can I purge xterm so that this word no longer appears using up or down arrows? (1 Reply)
Discussion started by: noobie_doo
1 Replies
2. UNIX for Dummies Questions & Answers
HI All,
I have recuirement to purge the files in a directory . In that directory i an having many sub-directory .
When i use find command like
find ~/work/test/insert -name "*.*" -mtime +12
it is listing the file not accesed before 12 , It also takes the subdirectories inside the... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
3. Shell Programming and Scripting
Hi ,
I want to purge 7 days older data from a list of data sorted on date in a log file...
Can anyone provide me with the shell script for the same..
Thanks,
Jaz (1 Reply)
Discussion started by: JP003
1 Replies
4. UNIX for Dummies Questions & Answers
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
6 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to find this string 'preparing string IBE_Quote_W1_Pvt.SaveWrapper for quote_header_id’ in my Apache log file directory. The log file that contains this string may be in a parent direcotry or a sub-directory. I have tried 'grep' and 'awk' with no success.
I would like to get the path... (3 Replies)
Discussion started by: gross
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
merry christmas.
on AIX 6.1,
the file /var/spool/mail/user, should/can be purged manually ?
Any commande line to purge it ?
Thanks. (2 Replies)
Discussion started by: big123456
2 Replies
7. Emergency UNIX and Linux Support
From morning we are facing some issues in tablespaces in oracle9i.
Tried deleting some huge records... but even thought it is still giving tablespcases in full.
Then i tried and googling ... found we need to purge recyclebin of oracle..
but thats not woking in oracle9i...
can any one... (1 Reply)
Discussion started by: greenworld123
1 Replies
8. Shell Programming and Scripting
I only want to find files under each branch of the directory tree inside directories named XYZ and there are multiple XYZ directories? (7 Replies)
Discussion started by: emc^24sho
7 Replies
9. Shell Programming and Scripting
I have these commands that help me find and delete files over certain days.
How can I build a menu to list the files, and then hit y for yes to delete or no?
find /logs/212/abinitio/prod/mfs/partitions/part0/mfs_12way_001/mfs_12way/sncrpt/main/ -name "*dat" -mtime +1 -exec ls -ltr {} \;
find... (3 Replies)
Discussion started by: xgringo
3 Replies
10. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
LEARN ABOUT DEBIAN
pam_time
PAM_TIME(8) Linux-PAM Manual PAM_TIME(8)
NAME
pam_time - PAM module for time control access
SYNOPSIS
pam_time.so [debug] [noaudit]
DESCRIPTION
The pam_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various
times of the day and on specific days or over various terminal lines. This module can be configured to deny access to (individual) users
based on their name, the time of day, the day of week, the service they are applying for and their terminal from which they are making
their request.
By default rules for time/port access are taken from config file /etc/security/time.conf.
If Linux PAM is compiled with audit support the module will report when it denies access.
OPTIONS
debug
Some debug information is printed with syslog(3).
noaudit
Do not report logins at disallowed time to the audit subsystem.
MODULE TYPES PROVIDED
Only the account type is provided.
RETURN VALUES
PAM_SUCCESS
Access was granted.
PAM_ABORT
Not all relevant data could be gotten.
PAM_BUF_ERR
Memory buffer error.
PAM_PERM_DENIED
Access was not granted.
PAM_USER_UNKNOWN
The user is not known to the system.
FILES
/etc/security/time.conf
Default configuration file
EXAMPLES
#%PAM-1.0
#
# apply pam_time accounting to login requests
#
login account required pam_time.so
SEE ALSO
time.conf(5), pam.d(5), pam(7).
AUTHOR
pam_time was written by Andrew G. Morgan <morgan@kernel.org>.
Linux-PAM Manual 06/04/2011 PAM_TIME(8)