LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2006, 05:15 PM   #1
Corrado
Member
 
Registered: Aug 2004
Location: Washington
Distribution: RHEL 5.0
Posts: 169

Rep: Reputation: 16
Setting variable for Apache


I need to set LD_ASSUME_KERNEL=2.4.19 for the apache user.

Someone has suggested setting the value in .bash_profile or .bashrc. within apache's home directory.

Question: If the Apache account is set to /sbin/nologin, will having these hidden files help define variables?

In other words, with nologin, is the bash shell still being used?

Chris
 
Old 08-04-2006, 03:37 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Putting them in .bash_profile or .bashrc would only affect any login shells (or subsequent sub-shells) for the apache user. You are correct that if the apache user cannot login, these variables are never set.

What is it that you need the LD_ASSUME_KERNEL variable to affect? I don't know of an Apache version that needs this setting.
 
Old 08-04-2006, 06:25 PM   #3
Corrado
Member
 
Registered: Aug 2004
Location: Washington
Distribution: RHEL 5.0
Posts: 169

Original Poster
Rep: Reputation: 16
Someone I work with is trying to get WSSO to work with Apache. What is WSSO?
 
Old 08-05-2006, 01:38 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The only thing I can think of is web single signon - but I don't know of anyone who's using it (I think weblogic has a product?)...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
environment variable setting chii-chan Linux - General 5 01-23-2009 07:29 PM
Setting an environment variable kharris Linux - General 3 10-02-2003 04:38 PM
Help setting $PATH variable Nylex Linux - General 9 08-09-2003 11:44 AM
setting path variable shahrahulb Linux - General 2 07-30-2003 08:25 PM
setting CLASSPATH variable gabadoo Linux - Newbie 7 01-21-2002 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration