HTTPD process user to access NIS


 
Thread Tools Search this Thread
Operating Systems Linux HTTPD process user to access NIS
# 1  
Old 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.
# 2  
Old 11-14-2012
If I understand you right, it should be sufficient to add wwwrun to the required groups in a NIS maintained group file. I would not remove an OS predefined user from the local passwd file.
# 3  
Old 11-14-2012
hergp thanks for your response but unfortunately it's not sufficient.
Problem with your solution is that a vhost created for one group could access via wwwrun user the nfs resources in the other groups. And I don't want this to happen.
I've considered relaxing the constraints so group resources permissions may be modified, but anyway can't think of a solution.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

create user in NIS+

i want create user in NIS+ with root previligation. Someone please provide full steps. (1 Reply)
Discussion started by: Navkreddy
1 Replies

2. AIX

THCOUNT (THCNT) higher than ThreadLimit for httpd process?

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

3. Red Hat

Memory Utilisation of httpd process

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

4. UNIX for Advanced & Expert Users

How the user process can access the character device loaded by my module

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

5. Solaris

NIS user creation

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. Solaris

nis user

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

7. UNIX for Dummies Questions & Answers

cant start httpd process

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

8. UNIX for Advanced & Expert Users

Can kernel process access user address space ?

Can kernel process access user address space ? (2 Replies)
Discussion started by: subhotech
2 Replies

9. UNIX for Dummies Questions & Answers

NIS + adding a new user

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
Login or Register to Ask a Question