PAM_MAKE(8) Reference Manual PAM_MAKE(8)NAME
pam_make - PAM module which calls make
SYNOPSIS
pam_make.so [debug] [nosetuid] [make=prog] [log=file] /path/ [...]
DESCRIPTION
pam_make is a PAM module that can be used to run make in a given directory.
OPTIONS
debug
Print debug information.
log=file
The output of make is appended to file
nosetuid
Per default pam_make.so will execute make with the effective user ID of the calling process. Specifying this option means make is run
with the real user ID.
make=prog
The command prog is used instead of make.
MODULE SERVICES PROVIDED
The services auth, account, password and session are supported.
RETURN VALUES
PAM_SUCCESS
The make command runs successfull.
PAM_SERVICE_ERR
No argument or a wrong number of arguments were given.
PAM_SYSTEM_ERR
A system error occured or the make command failed.
PAM_IGNORE
pam_setcred was called, which does not execute the make command.
EXAMPLES
Add the following line to /etc/pam.d/passwd to rebuild the NIS database after each local password change:
passwd optional pam_make.so /var/yp
This will execute the command:
make -C /var/yp
HISTORY
The first implementation of pam_make was written by Mihai Ibanescu <misa@dntis.ro>.
SEE ALSO pam.conf(5), pam.d(8), pam(8)AUTHOR
pam_make was written by Thorsten Kukuk <kukuk@thkukuk.de>.
Reference Manual 10/25/2006 PAM_MAKE(8)
Check Out this Related Man Page
PAM_EXEC(8) Linux-PAM Manual PAM_EXEC(8)NAME
pam_exec - PAM module which calls an external command
SYNOPSIS
pam_exec.so [debug] [expose_authtok] [seteuid] [quiet] [log=file] command [...]
DESCRIPTION
pam_exec is a PAM module that can be used to run an external command.
The child's environment is set to the current PAM environment list, as returned by pam_getenvlist(3) In addition, the following PAM items
are exported as environment variables: PAM_RHOST, PAM_RUSER, PAM_SERVICE, PAM_TTY, PAM_USER and PAM_TYPE, which contains one of the module
types: account, auth, password, open_session and close_session.
OPTIONS
debug
Print debug information.
expose_authtok
During authentication the calling command can read the password from stdin(3).
log=file
The output of the command is appended to file
quiet
Per default pam_exec.so will echo the exit status of the external command if it fails. Specifying this option will suppress the
message.
seteuid
Per default pam_exec.so will execute the external command with the real user ID of the calling process. Specifying this option means
the command is run with the effective user ID.
MODULE TYPES PROVIDED
All module types (auth, account, password and session) are provided.
RETURN VALUES
PAM_SUCCESS
The external command was run successfully.
PAM_SERVICE_ERR
No argument or a wrong number of arguments were given.
PAM_SYSTEM_ERR
A system error occurred or the command to execute failed.
PAM_IGNORE
pam_setcred was called, which does not execute the command.
EXAMPLES
Add the following line to /etc/pam.d/passwd to rebuild the NIS database after each local password change:
password optional pam_exec.so seteuid /usr/bin/make -C /var/yp
This will execute the command
make -C /var/yp
with effective user ID.
SEE ALSO pam.conf(5), pam.d(5), pam(8)AUTHOR
pam_exec was written by Thorsten Kukuk <kukuk@thkukuk.de>.
Linux-PAM Manual 05/05/2010 PAM_EXEC(8)
I am running a make file through the gnu make tool and i am getting the following error
jsh1035c:/users/egate453/admegate/kapil/samples $ make -f GNUmakefile queue_c
make -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples
make: Entering directory... (2 Replies)
Hi, so far i am writting make file explicitly, is there is any tool is there to write make file automatically....if so please tell me about that...
Thanks in advance
Sarwan (4 Replies)
$ make
ksh: make: not found
Hello, when i use the "make" command in Solaris, it says the "make" command is not found!
Any help appreciated!
BobK (3 Replies)
how to make u1 like below
lrwxrwxrwx 1 root other 8 ao-t 20 1998 u1 -> /data/u1
when i do "cd u1" it take me directly to /data/u1
how to make and make it the above attributes "lrwxrwxrwx"
Regards (2 Replies)
Hi,
i need to run make on a solaris 10 sparc e250, but i get "make: not found"
the make app exists under /usr/css/bin so what do i need to do?
Thanks
Alan (3 Replies)
Hello,
I would like to do a rexec to execute a C exe (prog.e) :
rexec -l user -p password host prog.e
When I execute this command, I have this error :
prog.e : can not find lib.o
But, When I execute prog.e directly in the remote machine : well done ! No error output.
Thks for your... (4 Replies)
dear all
i have sources contains make file and it okay
but suddenly when user make any file it gives the message below
make: Entering directory `/devapp/jordev/batch/source'
i know it just echo and not error or warning but i want to remove this from make file and there is no message is... (3 Replies)
hi,
i am trying to run make command in solaris 9.
its giving the error:
make:Fatal error:Command failed for target 'obj/gp_unix.o'
i came to know X11 should be inastalled for gp_unix.o.But it is already installed.still the same error.
./configure worked fine.
can anybody please suggest... (3 Replies)
Hello every body,
I need to make a constant variable to the root such as #PS1="I am Amer" and so on.
I know if i am a user,I can make it fixed from #vi .profile
HOW to make it fixed for the root?
Thanks in advance
BR
Ahmed Amer
Cairo,Egypt (7 Replies)
Hi,
I have a make file which I try to execute, but it failed when it arrived to the line:
for r in ${PIPESTATUS
}; do if (($r != 0)); then exit $r; fi;done;
With the Error:
""make:/bin/sh: Bad substitution""
Or the Error:
"make:${PIPESTATUS[...}: Bad substitution"
(Depend on the operating... (3 Replies)
Hello all,
I am trying to "make" a database system, VDB (Veritas Data Base), and when I run "make" I receive the following error:
VDBException.h:19: error: expected `)' before '*' token
VDBException.h:20: error: expected `)' before '*' token
VDBException.h:43: error: expected `)' before '*'... (4 Replies)
I have the below command which is referring a large file and it is taking 3 hours to run. Can something be done to make this command faster.
awk -F ',' '{OFS=","}{ if ($13 == "9999") print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 }' ${NLAP_TEMP}/hist1.out|sort -T ${NLAP_TEMP} |uniq>... (13 Replies)
in RHEL 6.10, how can we make the the df -k return the output without wrapping. And wihout using the df -Pk option. After we patched a Linux server from 6.5 to 6.10:
The df -k on RHAT 6.10 it wraps the line for ex:
6.10:
/dev/mapper/vgapp01-vendor
... (2 Replies)