Debian :: Remote User In Apache

May 12, 2015

I've installed Debian 6.0.7 with apache, php, mysql and phpmyadmin. We have a server with active directory and ldap where all the Windowsclients log on.

I want to view the username of the users visiting the Debianserver with $_SERVER["REMOTE_USER"] so I can give them personalized settings.

Tried installing the NTLM module from sourceforge but that didn't work, winbind also didn't work ...

View 1 Replies


ADVERTISEMENT

Debian :: Redirect Apache To Remote Machine Www Content On IIS Server?

Mar 25, 2011

I am trying to show library content (asp files, IIS server, MySQL database on Windows Server 2003 - Inetpub/wwwroot/library - 192.168.0.3) publicly. But Apache webserver is on Linux machine. In one of previos topics I was adviced to mount this remote machine webfolder into Linux /var/www. Well this way it want work. I was adviced it can be done through redirecting.

View 14 Replies View Related

Debian :: Retrieve Remote User

Jun 1, 2015

I have a server using ldap. I installed Debian with an Apache webserver with PHP and MySQL support.This server will be used for intranet so I want to know what the REMOTE_USER variables is.Looking at the phpinfo does not give any reference to the REMOTE_USER. REMOTE_ADDR is no problem but does not give me the user using the computer.I've installed libapache2-authenntlm-perl with apt-get and adjusted my /etc/apache2/sites-enabled/000-default file with the following:

Code: Select all<Directory "/var/www/intranet">
    PerlAuthenHandler Apache2::AuthenNTLM
    AuthType ntlm,basic
    AuthName mycompany
    require valid-user
    PerlAddVar ntdomain "server.domain.be server"
    PerlSetVar defaultdomain server.domain.be
    PerlSetVar splitdomainprefix 1
</Directory>

where server is my servername and domain is my domainname.The problem after reloading apache2 is that I get the following message: This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.When I delete the AuthType, AuthName and require line it loads the webpage but without the REMOTE_USER variable.

It is not ment to ask for a password or username, just to get the username used to log in in the Windowsenviroment that visits the webpage on this Debian.

View 3 Replies View Related

Debian :: Remote Network Access To Single-user Console

Jul 11, 2010

When I start an upgrade or dist-upgrade from single-user mode, and walk away for a long time, I will have found that some packages insist on prompting for answers to questions midway through. That requires me to physically check the console periodically, and that becomes less practical for long upgrades.Is there a way for me to somehow remote into that console and answer any prompts that would popup? By "way" I mean not involving KVM switches or other hardware other than the LAN setup I have now (i.e., I am able to ssh into the machine being updated from another machine, but not when the machine is in single-user mode).

BTW, the reason I am using single-user mode is that, in the past, I have had problems with upgrading packages like GNOME when I am logged into the GNOME Desktop.

View 8 Replies View Related

OpenSUSE Network :: Root User Has Access To Remote Folders/files Of Any User?

Jan 21, 2010

Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).

I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.

View 3 Replies View Related

Fedora Installation :: Unable To Access Apache From Remote

May 11, 2010

Unable to access Apache from remote server..

Also, my php pages won't load..and php is installed.

View 1 Replies View Related

Software :: Installation Of Php And Apache To Get Remote Access Of Postgresql

Oct 16, 2010

Web Server
================ I have been successful to set up the pic-1 server.
| | This requires only one machine.
| Apache |

[code]....

But now I have two machines.One for Database server and the other is for Web server.pic-2 describes it.

Server Database Server
================ ================
| | | |
| Apache | | |

[code]....

I have installed postgresql in one machine.Apache has also been installed in the other machine. But php requires postgresql library support during configuration.I cant remotely access the postgresql from the other machine during configuration.

View 2 Replies View Related

Software :: Remote Syslog Logging For Apache Logs ?

Feb 2, 2009

For remote syslog logging of the general log files, I set:

Quote:

How do I setup the remote syslog logging of apache logs? Do I just add a line in the httpd.conf file to for example ?:

Quote:

View 2 Replies View Related

Ubuntu Servers :: Simple Q Multiple Apache Users And Remote Administration

Feb 7, 2011

how one professionaly would solve the security and administration for the multiple webadmins, but firstly I give some general information.I spent 2 days searching and there are alot of good guides but I dont see my specific questions answered, not so I can understand them atleast.I have Ubuntu 10.10 64bit server edition installed.I am educating myself and am new to linux but use vmware and have installed Gentoo multiple times and a copy of Ubuntu server. This server is going to be setup on the 64-bit 10.10 Ubuntu virtual machine.

View 3 Replies View Related

Ubuntu Servers :: Monitor Remote - Check If Apache Is Running And If Its Not Send Out A Mail

May 11, 2011

im looking for a program that lets me monitor server remote a check if apache is running and if its not send out a mail pretty much something like the Big Brother projeckt was before they went comercial i found a few projekts but most havent been updated for years anyone got a clue on any active projekt that does this?

View 1 Replies View Related

General :: Running Apache As A Different User?

Jul 29, 2011

When I run the ps -efH command to list out all the process, I can see Apache running as root and seems to have sub-processes running as www-data. Here's the excerpt:

root 30117 1 0 09:10 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 30119 30117 0 09:10 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 30120 30117 0 09:10 ? 00:00:00 /usr/sbin/apache2 -k start

[code]....

View 2 Replies View Related

General :: Changing User For Apache / PHP?

Oct 25, 2010

I have to develop a php script, that acts as a man-in-the middle for a db-like-software and a webshop. This should run on a server within a DMZ, behind two firewalls, that should filter every request from other sources, than the eshop, and any other protocol than HTTPS. This server is a debian-machine, with a apache 2.2 and php 5.3. I've installed apache and php without any problems, installed openssl, generated a certificat and installed it. I tested the connection successfully. The eshop-server can connect to the server inside the DMZ without problems and receives a correct answer.

The db-like-software (called "netbasic") generates a csv-file in a fixed directory. this csv-fils has an owner called "netbasic". The file-access-rights are: -rwxr--r-- (I've some problems to interpret this. I know, r stands for read and w for write, x for both and the order is for different usergroups). My problem is now, that my php-script tries to read the file (successfull), generates output (successfull) and then deletes the file (failed -> permission denied). I figured out, that the problem is, that apache (or, I don't know, just php) don't runs as root and has therefore no write-permission. Because the server is already secured with the firewalls, we, my workmates and me, don't see a problem, to change the apache-user to root. but I don't know how this is done and don't know, what to search for.

View 7 Replies View Related

Server :: User Privileges For Apache

Oct 16, 2010

I'm using ubuntu 10.04. Apache server is associated with www-data.I frequently run into problems editing or deleting files created by a cgi script, as they have ownership of www-data:www-data.How can I safely modify my system so that the output files are editable or deletable by user tim?

View 2 Replies View Related

Server :: Which User Runs Apache/PHP?

Aug 27, 2010

I migrated joomla to my new server and noticed that the script doesn't have the permission to edit it's own configuration file and write to the cache folder. All my files are owned by root, which I guess isn't a good idea.

As what user do the PHP scripts run? Or is this system specific? I don't want to chmod all files to 777 so I'd just like to change file and folder ownerships to the user that is executing that script.

View 1 Replies View Related

General :: Mount NFS As Remote User?

Mar 16, 2010

I have debian as an NFS client. I would like to mount a remote NFS with a specific user permissions (to specify the remote user account)

View 2 Replies View Related

General :: Log A User In A Remote Computer Using Ssh?

Jun 9, 2010

I want to connect to a server via ssh and log in (remotely) a user in X11 (gdm).A little context: I need to install a wine application in 30 computers, but wine require X11, there is nobody loged there, so wine does not work properly. I want to remotely login in display=:0.0 a user so this user receive the window (it only start and close), there i need to ()neThere is no one logged on there. I need to start a graphical app there (wine installer) but I cannot because it needs a display with X11 (to open a wineconsole).

Resumen: Is it posible to log a user remotely on X11 My config: every computer have fedora 10 and gnome. Clarification: I do not want to do X-forwarding, I want to show the window on the remote computer, not mine. I want to log the user on the remote computer. If I go (fisicali) to the computer, the user should be logged on.

Update: I asked to gdm developers, but I had no answers... I'm starting to think there is no way. The only option I can think is to config autologin, restart gdm, and get the config normal again (all by script) But I have to read a lot for that and is not so important, I prefer to log in manualy 30 times.

View 6 Replies View Related

Ubuntu Servers :: Suexec / Run Php As User Not Apache

Apr 4, 2010

When we run php scripts that move/rename/etc files, the script does not have access to write to files in our web root. Changing permissions to 777 fixes the problem, but obviously this is not an option..I've been reading up about suexec, phpsuexec, and suphp, but we can't seem to figure any of this out.In phpinfo(),the Server API reads: Server API Apache 2.0 Handlerbut on another server (where everything works, it reads : Server API CGI/FastCGIIs there ANY way to achieve this?

View 2 Replies View Related

Ubuntu Servers :: Apache Won't Use User Directory

May 12, 2010

I'm configuring Apache for the first time on this box (8.04 LTS) and Apache2 for the first time ever. "Out of the box" it runs fine and I get the "It Works" page okay. But I'd like to use the virtual site feature to direct Apache to a folder in my user space, and I keep getting errors.

When I point a browser at localhost, the 404 message is "The requested URL / was not found on this server." and the /var/log/apache2/error.log ends with "File does not exist: /htdocs.

Here's my config file from the apache2/sites-available folder:

Code:

I diff'ed this file with the default and the only differences are in the DocumentRoot line and the <Directory ...> line.

My public_html folder has permissions 755 and the index.html file is 644.

View 7 Replies View Related

Ubuntu Security :: FTP User And Group To Apache?

Jun 13, 2010

What would be the effect of setting ProFTPd's user and group to the same user and group that Apache use? Are there any security risks in doing this, or is this safe to do?

View 4 Replies View Related

Server :: Apache: Can Filter The User's Login Name

Oct 29, 2010

Where I work, the IT people have the systems setup (wrongly in my opinion) to require not just the user's username but to have the username pre-pended with regional info. Like this:Username: RegionName//UserNamePassword: ********The server I maintain doesn't require this (even though I have it authenticate through the same services as the rest of IT (active directory via ldap))The problem is I see lots of authentication errors in my apache error_log file because people are using the RegionName//UserName login

View 1 Replies View Related

Server :: Apache User Cannot Bind Port

Nov 7, 2010

I want to run a soft that is daemonized, and listens on port 6789. This soft is launched through a php page, so, by the apache user. The probl�me is that the apache user does not has rights to open / listen on a port. I tried to add apache user to the root group, but it won't help. In the application log, I have this every second :

[code]...

I tried to add apache user in the sudoers with a nopasswd but it's still a no go.

View 4 Replies View Related

OpenSUSE Network :: Create A Remote (ONLY) User?

Jun 27, 2011

I want to create a user on my opensuse 11.4 computer, for the sole purpuse of using it to access network shared data (eg samba, nfs, etc). This user must be in the "Users" group, but it must NOT be able to login directly on the computer, i dont want him to show up on the GDM users list at logon, he must not be able to login to a terminal, etc.

How can i add a user like that? must he belong to a specific group?

View 4 Replies View Related

Ubuntu :: Rdesktop Does Not Show What The Remote User Is Doing

May 1, 2010

im using "rdesktop -u username ip" in the terminal to connect to a windows machine on another lan.

i can connect and see plus control the desktop but i cant see what the user is doing and neither can the user see what im doing on his machine.

is there a way with rdesktop or another app that i can use that allows me to control the remote user's machine and at the same time allow him to see what im doing and visa versa ?

View 1 Replies View Related

Ubuntu :: Multi-User Remote Access Possible?

Mar 15, 2011

I'm wondering if there's a way so that several people can log onto my computer at the same time. When they connect it goes to the login screen and they choose their account and log in. Everybody has a different account and sees a different desktop. Is that possible?

View 3 Replies View Related

Networking :: User Can't Remote Login - Openssh

Jan 11, 2010

F12 64bit
Debian 5.0 64bit
Openssh

Both openssh-server and open-clients are running on 2 boxes. On F12 it is named openssh-clients but on Debian 5.0 openssh-client without "s".

1)As root both boxes can connect remotely another box.

2)As user both boxes can't connect remotely another box.

View 2 Replies View Related

Security :: Disable Remote Login For Particular User?

Feb 25, 2011

I want to disable the remote login for particular user id in linux server.

View 11 Replies View Related

Fedora Servers :: Apache Says User Directory 'Not Found'

Feb 2, 2009

I have FC10 newly installed, and Apache is serving content from /var/www/ okay.

I'm trying to get Apache to serve web content from user's home directories. This is what I've tried with no success:

Uncommented 'UserDir public_htm' in /etc/httpd/conf/httpd.conf and commented out 'UserDir disabled'.

And...

Uncommented user directory section in /etc/httpd/conf/httpd.conf. It now reads as follows:
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#

[Code].....

I also tried setenforce 0 to temporarily disable SELinux until the next reboot. No luck. It doesn't appear to be an SELinux issue.

That's as far as the information available will take me. I still get URL 'Not Found' when I try to access http://192.168.0.2/~myusername/

setting up user home directory web access?

View 1 Replies View Related

Ubuntu :: How To Disable User Apache On Login Screen

Aug 10, 2011

i created a user apache in group apache and by useradd and groupadd command. i am working on a user called server and group is also server. The login screen shows both the users apache and server. My concern is that if sombody has the password to the username apache, hecan login. How do you disable user apache on the login screen so that it only shows user server.

View 3 Replies View Related

Networking :: Starting Apache Using Someother User And Not Root?

Jun 24, 2010

We have installed apache 2.2.15 webserver on A rhel 5 Linux 64 box using the user wwwadm group www

We can start the webserver using root and it works fine but we dont have root access forever so we want the wwwadm user to have all the rights and we can start/stop/restart the Apache server using this wwwadm user.

View 1 Replies View Related

Server :: How To Get Apache Running In User Home Directory

Dec 10, 2010

I'm trying to get Apache to run in a user's home directory. I changed the conf file so that Apache runs under the user and group "kiosk" and changed the DocumentRoot and Directory from the default to "/home/kiosk". Then I set Apache to start at boot (chkconfig --level 235 httpd on) and rebooted. When I checked, httpd is running as kiosk like it should (ps aux | grep httpd). However, when I try wget localhost, I get a 403 response back. If as root I call "httpd -k stop" and then "httpd -k start", then everything works exactly as it should (curiously, if I try using "-k restart", it still doesn't work). After this, httpd still shows as running as kiosk and if I check before calling start, it shows no httpd processes running as expected.

This only happens when I use httpd to stop and then start the web server. If I try to restart using apachectl I still get a 403 error. As an interesting aside, after I've used httpd, if I try using "apachectl restart" I get a "(13)Permission denied: Error retrieving pid file run/httpd.pid" error. This is all on a freshly installed CentOS 5.5 server. Why I'm seeing this very different behaviour from what I thought were just equivalent ways of starting Apache? And then what I could do to get it to start up and run properly on boot? One last item to mention is this isn't a permissions problem. I set the permissions to 777 to both the home and kiosk directories (and 666 to the web files) just to be sure that's not the problem.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved