11-13-2012
HTTPD process user to access NIS
Hi,
I have a machine A with a web server apache2 running.
By default, apache2 user is wwwrun.
Problem is that this user is local.
Instead, I would like apache2 user to be able to login via NIS server so it can access NFS resources of two NIS different groups, let's say group1..groupN without groups having to modify their resources and apache2 be able to access them.
How should I do it?
Thanks so much.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm setting up NIS+ on Solaris 8 for Intel. None of the books I have explain how to add a new user in the NIS+ envoirnment. Can somebody explain this and are there any url's to get more info. I have populated the nis tables and can do an niscat of the passwd table. There is an nisgrpadd command... (2 Replies)
Discussion started by: txpjl
2 Replies
2. UNIX for Advanced & Expert Users
Can kernel process access user address space ? (2 Replies)
Discussion started by: subhotech
2 Replies
3. UNIX for Dummies Questions & Answers
httpd status is stopped.cant start it again by :
/etc/init.d/httpd restart or /etc/init.d/httpd/start
help needed (2 Replies)
Discussion started by: raksha.s
2 Replies
4. Solaris
my qustion is,
nis is centralised server.how to login nis user in client system in console (CDE)login (2 Replies)
Discussion started by: tirupathi
2 Replies
5. Solaris
Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility?
Please do the needful................................ (4 Replies)
Discussion started by: Revathi@1
4 Replies
6. UNIX for Advanced & Expert Users
I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process's memory.
(I know there is a way to do this with the ptrace interface but it is not an option.)
I know the only way to... (1 Reply)
Discussion started by: hopelessProgram
1 Replies
7. Red Hat
Hi All,
I have a RHEL 5.4 server which runs an Apache web server(2.2.23 compiled with prefork MPM).I want to find out the memory utilised by the web server.
# ps -ylC httpd | wc -l
245
# ps -ylC httpd | more
S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD
S ... (0 Replies)
Discussion started by: Hari_Ganesh
0 Replies
8. AIX
One issue I could see on AIX 5.3: At one of my customer they have got the ThreadLimit of 2500 set on web server in httpd.conf file.
Currently 2000 users have logged in each attaing a single instance of httpd.
While in ps -ef for httpd process it is showing thread count (thcount) almost 3000.... (3 Replies)
Discussion started by: aarora_98
3 Replies
9. Solaris
i want create user in NIS+ with root previligation. Someone please provide full steps. (1 Reply)
Discussion started by: Navkreddy
1 Replies
LEARN ABOUT LINUX
a2enmod
A2ENMOD(8) System Manager's Manual A2ENMOD(8)
NAME
a2enmod, a2dismod - enable or disable an apache2 module
SYNOPSIS
a2enmod [module]
a2dismod [module]
DESCRIPTION
This manual page documents briefly the a2enmod and a2dismod commands.
a2enmod is a script that enables the specified module within the apache2 configuration. It does this by creating symlinks within
/etc/apache2/mods-enabled. Likewise, a2dismod disables a module by removing those symlinks. It is not an error to enable a module which
is already enabled, or to disable one which is already disabled.
Note that many modules have, in addition to a .load file, an associated .conf file. Enabling the module puts the configuration directives
in the .conf file as directives into the main server context of apache2
EXAMPLES
a2enmod imagemap
a2dismod mime_magic
Enables the mod_imagemap module, and disables the mod_mime_magic module.
FILES
/etc/apache2/mods-available
Directory with files giving information on available modules.
/etc/apache2/mods-enabled
Directory with links to the files in mods-available for enabled modules.
SEE ALSO
apache2ctl(8).
AUTHOR
This manual page was written by Daniel Stone <daniel@sfarc.net> for the Debian GNU/Linux distribution, as it is a Debian-specific script
with the package.
12 October 2006 A2ENMOD(8)