04-08-2007
Thanks Torch
I'm a long way from smart, but I do feel smarter now.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have several crontab scripts running which email me status. Some of these scripts perform identical tasks so I get a similar emails sent to myself.
How do I get the script to print it's own path/filename so I can include it in the status updates without hardcoding trhe filename into the... (1 Reply)
Discussion started by: uXion
1 Replies
2. Solaris
I have simply downloaded a file to my local folder, made one small change and uploaded it back, ever since it will not run the file.
I have now uploaded the original, unchanged file, which still doesn;t work.
Evertime it is run ot says bash: ./nrcardprint: No such file or directory
The... (10 Replies)
Discussion started by: Heidi.Ebbs
10 Replies
3. Shell Programming and Scripting
I have started to write Korn scripts on the client's AIX 4.2 servers and there is this small problem that puzzles me.
I code all my scripts the same way:
- first line contains :
#!/bin/ksh
- I do this console command on every scripts:
chmod +x scriptname
But still, on some occasions,... (4 Replies)
Discussion started by: Browser_ice
4 Replies
4. Shell Programming and Scripting
how to run an already developed script run against a list of ip addresses solaris 8 question.
the script goes away and check traffic information, for example
check_GE-VLANStats-P3 1.1.1.1
and returns the results ok.
how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Discussion started by: llcooljatt
26 Replies
5. Solaris
Hi,
I am using solaris 10.Is there any way to execute the script with the scriptname wihtoug using ./scriptname?Also does it varies from shell to shell.I have scripts in bash,ksh,sh shells.
Example:script.sh is the script name.I need to execute the script like this script.sh instead... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
6. Shell Programming and Scripting
Hello all,
I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly.
My scripting skills are pretty limited and there's probably a better way, but as I said it works at the command line, but... (12 Replies)
Discussion started by: rusman
12 Replies
7. Shell Programming and Scripting
Hi
I was wondering if there was any command with autorep that can be used to check what the jobname is by givin scriptname that is defined in the JIL of the job (1 Reply)
Discussion started by: sidnow
1 Replies
8. Shell Programming and Scripting
Shell : Linux Bash
OS version : RHEL 6.X, Oracle Linux 6.X
Question1. To execute shell scripts, sometimes I see Linux admins placing sh command before shell scripts like below
sh /home/appadmin/sync_pending_orders.shBut, I execute shell scripts like below ie. Just the absolute path
... (4 Replies)
Discussion started by: John K
4 Replies
9. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
LEARN ABOUT HPUX
pam_authenticate
pam_authenticate(3) Library Functions Manual pam_authenticate(3)
NAME
pam_authenticate - perform authentication within the PAM framework
SYNOPSIS
[ flag ... ] file ... [ library ... ]
DESCRIPTION
is called to authenticate the current user. The user is usually required to enter a password or similar authentication token depending
upon the authentication service configured within the system. In the case of smart card authentication this token would be a (Personal
Identification Number). The user in question should have been specified by a prior call to or The following flags may be set in the flags
field:
Authentication service should not generate any messages
The authentication service should return
if the user has a null authentication token
APPLICATION USAGE
Refer to pam(3) for information on thread-safety of PAM interfaces.
NOTES
In the case of authentication failures due to an incorrect username or password, it is the responsibility of the application to retry and
to maintain the retry count. An authentication service module may implement an internal retry count and return an error if the module does
not want the application to retry.
If the PAM framework can not load the authentication module, then it will return This indicates a serious failure and that the application
should not attempt to retry the authentication.
For security reasons, the location of authentication failures is hidden from the user. Thus, if several authentication services are
stacked and a single service fails, requires that the user re-authenticate to all the services.
A null authentication token in the authentication database will result in successful authentication unless was specified. In such cases,
there will not be any prompting for the user to enter an authentication token.
The authentication can be done through a smart card. In this case the user plugs their smart card in the smart card reader and is required
to enter their smart card PIN.
RETURN VALUES
Upon successful completion, is returned. In addition to the error return values described in pam(3), the following values may be returned:
Authentication failure.
Can not access authentication data due to insufficient credentials.
Underlying authentication service can not retrieve authentication information.
User not known to the underlying authentication module.
An authentication service has maintained a retry count which
has been reached. No further retries should be attempted.
SEE ALSO
pam(3), pam_start(3), pam_open_session(3), pam_setcred(3).
pam_authenticate(3)