09-26-2008
Did you get your problem fixed? It was probably a PAM misconfiguration, correct?
6 More Discussions You Might Find Interesting
1. Solaris
Sir,
We are using windows amd solaris systems on my company when ever we are sharing the files from windows to solaris it was asking authentication as a administrator i can share the if normal user wants to share the files from windows to solaris every time i have to go and type the username and... (1 Reply)
Discussion started by: ambavaram
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I've Postfix 2.5.1 mail server on Ubuntu 8.04. Recently, I got a new SMTP relay service to send out my mails. But for some reason every time I try to send mail I get this error:
(host relay.somehost.com said: 550 5.7.1 <testmail@hotmail.com>... Relaying denied. Proper authentication... (10 Replies)
Discussion started by: nitin
10 Replies
3. Red Hat
Hi All,
I am configured radius authentication server and PPPoE in my Linux systems. It is not work..
Kindly help me how to configure pppoe server to authenticate the clients via radius it is working in UNIX FreeBSD for the same not working in linux.
Can you have any configuration... (0 Replies)
Discussion started by: thakshina
0 Replies
4. Red Hat
Hi All,
I am a newb in this forums. I am a Linux admin and I hope I will get the solution here.
In my company I have setup AD and I can authenticate the windows machines using this AD, also able to apply policy.
Now I have installed some Linux machines but I can't able to authenticate via... (6 Replies)
Discussion started by: sahabcse
6 Replies
5. Red Hat
Hi everyone ...
( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ...
plz help me (0 Replies)
Discussion started by: coolboys
0 Replies
6. UNIX for Advanced & Expert Users
I was bogged with an error “Authentication Failure” for all of my cron jobs in Linux Ubunutu.
root@Test:~# tail -f /var/log/syslog | grep cron
Dec 11 16:38:01 Test cron: Authentication failure
Dec 11 16:38:01 Test cron: Authentication failure
Dec 11 16:38:09 Test cron: (CRON) INFO (pidfile... (1 Reply)
Discussion started by: SULTAN01
1 Replies
LEARN ABOUT MINIX
pam_putenv
PAM_PUTENV(3) Linux-PAM Manual PAM_PUTENV(3)
NAME
pam_putenv - set or change PAM environment variable
SYNOPSIS
#include <security/pam_appl.h>
int pam_putenv(pam_handle_t *pamh, const char *name_value);
DESCRIPTION
The pam_putenv function is used to add or change the value of PAM environment variables as associated with the pamh handle.
The pamh argument is an authentication handle obtained by a prior call to pam_start(). The name_value argument is a single NUL terminated
string of one of the following forms:
NAME=value of variable
In this case the environment variable of the given NAME is set to the indicated value: value of variable. If this variable is already
known, it is overwritten. Otherwise it is added to the PAM environment.
NAME=
This function sets the variable to an empty value. It is listed separately to indicate that this is the correct way to achieve such a
setting.
NAME
Without an '=' the pam_putenv() function will delete the corresponding variable from the PAM environment.
pam_putenv() operates on a copy of name_value, which means in contrast to putenv(3), the application is responsible to free the data.
RETURN VALUES
PAM_PERM_DENIED
Argument name_value given is a NULL pointer.
PAM_BAD_ITEM
Variable requested (for deletion) is not currently set.
PAM_ABORT
The pamh handle is corrupt.
PAM_BUF_ERR
Memory buffer error.
PAM_SUCCESS
The environment variable was successfully updated.
SEE ALSO
pam_start(3), pam_getenv(3), pam_getenvlist(3), pam_strerror(3), pam(7)
Linux-PAM Manual 06/04/2011 PAM_PUTENV(3)