I was bogged with an error “Authentication Failure” for all of my cron jobs in Linux Ubunutu.
I try lot of things but didn't want work . one things all my users connect with Ldap , if some one have any idea how troubleshooting the ldap with cron job
I have a script running as a cron job in machine A . This script ftps some files everyday from machine A to machine B, and mails me about the status. It works fine for some days....and suddenly stops running. By viewing the log files, I see that the script itself was not invoked by cron on those... (4 Replies)
I am using an ssh pub key on two remote servers to allow ssh session without authentication. Both servers have the same id_rsa.pub copied from the host into the remote servers ~user/.ssh/authorized_keys. There is no passphrase for this key either.
The problem is that I am able to ssh into one... (2 Replies)
My PAM module seems to work right but it fails in authentication. Althought it can't authenticate, the session module works and the software who uses it executes well.
For example, when I login through "gdm" using pam to authenticate against an ldap server
/var/log/auth.log shows
Any... (1 Reply)
The crontab entry looks like this...
29 13 * * * /usr/bin/mk-find --printf "%D\ %N\n" |
This is just a part of a long statement that has apostrophe in it. I will like to know why does it work at command prompt but fail if set as cronjob?
The error is...
/bin/sh: -c: line 0: unexpected EOF... (3 Replies)
Running as cron, I get error msg in mail: KERBEROS_V4 rejected as an authentication type,
even though the ftp does work. Can anyone explain this? Is there a way to stop it?
cron:
35 6 * * 1-5 ./PSS/pss.sh >> ./PSS/pss.log
script pss.sh:
#!/usr/bin/ksh
DIR=/home/informix/PSS... (0 Replies)
Hello All,
I am having trouble connecting to a Fedora 16 Server using NX Client for Windows 7. It gives the following error:
NX> 203 NXSSH running with pid: 7124
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX>... (1 Reply)
Hi all,
I'm having an issue with a script i wrote to pull information from the Amazon AWS API. Basically the script takes arguments from the command line and attempts to grab user information for each AWS access group. The command is issued like this:
# sh awsReport.sh <outputFileName>... (3 Replies)
Dear all,
I noticed in syslog that i receive authentication failure from cron:
Mar 11 23:19:01 s1 CRON28789]: Authentication failure
Mar 11 23:19:01 s1 cron: Authentication failure
Mar 11 23:19:01 s1 cron: Authentication failure
Mar 11 23:19:01 s1 CRON: Authentication failure
Mar 11... (3 Replies)
Catalyst::Plugin::Authentication::Credential::NoPasswordUser)Contributed Perl DocumenCatalyst::Plugin::Authentication::Credential::NoPassword(3pm)NAME
Catalyst::Authentication::Credential::NoPassword - Authenticate a user without a password.
SYNOPSIS
use Catalyst qw/
Authentication
/;
package MyApp::Controller::Auth;
sub login_as_another_user : Local {
my ($self, $c) = @_;
if ($c->user_exists() and $c->user->username() eq 'root') {
$c->authenticate( {id => c->req->params->{user_id}}, 'nopassword' );
}
}
DESCRIPTION
This authentication credential checker takes authentication information (most often a username) and retrieves the user from the store. No
validation of any credentials is done. This is intended for administrative backdoors, SAML logins and so on when you have identified the
new user by other means.
CONFIGURATION
# example
<Plugin::Authentication>
<nopassword>
<credential>
class = NoPassword
</credential>
<store>
class = DBIx::Class
user_model = DB::User
role_relation = roles
role_field = name
</store>
</nopassword>
</Plugin::Authentication>
METHODS
authenticate ( $c, $realm, $authinfo )
Try to log a user in.
perl v5.14.2 2012-04-14 Catalyst::Plugin::Authentication::Credential::NoPassword(3pm)