I suppose you could run this as root and see what happens. Try with the debug/trace turned on:-
What is in /etc/cron.daily/logrotate? It may be working as designed, but there are no rules being activated.
It will probably be something trivial, but infuriating. I've had 'fun' with them myself.
Hey Guys,
i am new into shell programming and i have to do one script which have to record all the commands entered by a specific user.
Example of that, i have a system running on unix, several users are using this system, i have to create like a databse which will record every user entered that... (5 Replies)
Hy, I have a question
I have a directory in a unix server,
Some of my files have a diffrent access time,
from the time i accessed them last,
I think some one has copied it,it's not an important file,but none the less,it is my file,It mistakenly had a 777 permission( yes ,I know it is a noob's... (1 Reply)
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Hi ,
I am running an application on my windows and it logs are generated at /var/logs and for this i have to go this location and then do tail -f , Is there any command you can advise me so that when I execute this command at this location that logs get displayed fully and as the application... (3 Replies)
Hello all,
I am working on a perl script which will read weblogic logfile and send the error messages to Zenoss Monitoring tool. At present the script works and it can able to send the error messages to Zenoss. The problem comes when the logrotate has been applied to the weblogic log file. At... (3 Replies)
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT DEBIAN
falselogin
FALSELOGIN(1) General Commands Manual FALSELOGIN(1)NAME
falselogin - a false login shell
SYNOPSIS
/usr/bin/falselogin
DESCRIPTION
falselogin is a small application which can deny the user to log in the system displaying a custom message.
CONFIGURATION
The configuration file for falselogin is /etc/falselogin.conf. Everything you write into this file will be written at login except for some
special strings which will be substituted when they appear in the configuration file. They are:
%mail% string
Number of mail messages in the user's mailbox.
%user% string
Username.
%sysname% string
Sysname from uname. (eg: Linux)
%nodename%, %host% strings
The hostname. (eg: master)
%release% string
Linux kernel version number (eg: 2.0.36)
%version% string
Linux version number (eg: #8 Sun Dec 20 12:02:31 CET 1998)
%machine% string
Machine type (eg: i686)
%debian_version% string
Debian version from /etc/debian_version
PARAMETERS --wait, -w waitfor
If waitfor is a number, falselogin will sleep waitfor seconds before exiting; if waitfor matches the word 'enter' then falselogin
will wait for the user to input the 'enter' key
AUTHOR
This manual page was written by Tibor Koleszar <t.koleszar@somogy.hu>, for the Debian GNU/Linux system.
FALSELOGIN(1)