Hi all,
Anybody knows how to write a script to
open a file and store the weekday(mon-sun) on first line and current datetime on
the second line of the file.
If file doesn't exist, create a new one and store the weekday and current datetime.
If it already exists, open it and get both... (2 Replies)
Dear All,
I am facing an issue related to cronjob and explained below is the case study:
1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"
2. When I am using the command
"/usr/openv/java/jre/bin/java -cp... (1 Reply)
Hi,
I am working with java and C/C++.In my java code I am using the native method to work with C/C++.So I am getting some error in C/C++ source code which I am not able to find it because It is throwing the only java null Exception....
Is there any way by which I can see the error in java console... (0 Replies)
Hi Guys,
I am working with Solaris 9 and we are developing the application which will work on different OS.So we develop the GUI using JAVA swings...
we want to display a Splash screen before starting the installation of the application...
1st we develop our application for windows and it is... (1 Reply)
Hi All,
I am establishing the proxy server to communicate the date between devices using serial port but after serial port connection,it should start the Proxy Server and still run till the communication is happening...but server became started but it became halted due to error -
Please... (1 Reply)
Hi all,
Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code--
Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
Hi All,
I have used the following syntax for sending email.
"mailx -s "process not running" userid@domain.com "
I am getting below error.
" mailx: not found "
Can anoy one please give the reason for this error.
I am using REDHAT server. (2 Replies)
Want few input related to unix environment and terminal settings:
1. Am trying to find a way to keep the unix terminal display intact even after opening and closing a vi/less file. Currently if I open a vim file in the unix terminal and then close the file,it displays the contents of vim file on... (4 Replies)
I am getting the following error on loading the connector DLL in IHS 8.5 on AIX 7.1
bash-4.2# /usr/32bit/IBM/HTTPServer/bin/apachectl start
httpd: Syntax error on line 902 of /usr/32bit/IBM/HTTPServer/conf/httpd.conf:
Cannot load /usr/<company_name>/IHS85/lib/libApache22Connector.a
into... (3 Replies)
Discussion started by: George47
3 Replies
LEARN ABOUT CENTOS
pam_issue
PAM_ISSUE(8) Linux-PAM Manual PAM_ISSUE(8)NAME
pam_issue - PAM module to add issue file to user prompt
SYNOPSIS
pam_issue.so [noesc] [issue=issue-file-name]
DESCRIPTION
pam_issue is a PAM module to prepend an issue file to the username prompt. It also by default parses escape codes in the issue file similar
to some common getty's (using x format).
Recognized escapes:
d
current day
l
name of this tty
m
machine architecture (uname -m)
machine's network node hostname (uname -n)
o
domain name of this system
release number of operating system (uname -r)
current time
s
operating system name (uname -s)
u
number of users currently logged in
U
same as u except it is suffixed with "user" or "users" (eg. "1 user" or "10 users")
v
operating system version and build date (uname -v)
OPTIONS
noesc
Turns off escape code parsing.
issue=issue-file-name
The file to output if not using the default.
MODULE TYPES PROVIDED
Only the auth module type is provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_IGNORE
The prompt was already changed.
PAM_SERVICE_ERR
A service module error occurred.
PAM_SUCCESS
The new prompt was set successfully.
EXAMPLES
Add the following line to /etc/pam.d/login to set the user specific issue at login:
auth optional pam_issue.so issue=/etc/issue
SEE ALSO pam.conf(5), pam.d(5), pam(8)AUTHOR
pam_issue was written by Ben Collins <bcollins@debian.org>.
Linux-PAM Manual 09/19/2013 PAM_ISSUE(8)