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


ADVERTISEMENT

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

Ubuntu :: Retrieve User Dn Value In Openldap?

Aug 24, 2010

We are in the process of integrating openldap into our application and existing AD used is MSAD. We would like to access the users created in openldap in our application(Java code) and then autheticate them against the details in AD(openldap). We are using Spring LDAP connection for fetching openldap connections. We have the following code with MSAD:

Code:

userAttributes.get("distinguishedName").toString()

this works because MSAD user objectclass has an attribute 'distinguishedName' to get the user DN. There is no such provision in openldap or is there anyother way to retrieve the DN in openldap ?

View 1 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

Server :: Sendmail Server - Status - Sent - But Unable To Retrieve On User Inbox - FEDORA CORE 9

Jan 20, 2010

We're running a sendmail server on a fedora core 9 which we've configured recently. The problem is, the server is working fine but there are some e-mails that enter our server but doesn't get forwarded to the user.

Quote:

Quote:

Here it says "stat=Sent" but nothing from the above mail address has been received on the client's inbox. We've experienced this with Microsoft Outlook, Outlook Express and Thunderbird alike so far with Two(2) of our user accounts.

View 1 Replies View Related

Debian :: Retrieve Public Rsa Key For Ssh?

Jun 17, 2011

On my stable/squeeze computer, I have /etc/ssh/ssh_host_rsa_key.pub but I cannot find this in my testing/wheezy computer. Why can't I find it? Did the way to retrieve one's public rsa key change? I have openssh-client and openssh-server installed on both computers.

View 2 Replies View Related

Debian :: Retrieve Packages From Internet Instead Of CD Set?

May 7, 2010

I'm very new to Linux world however I managed to I installed Debian lenny on my box using a set of CD burned from ISO images. Everything works just fine so far. However, every time I try to update it always asks me to insert the CD and it's somewhat inconvenience. How to make debian just goes straight to the repository site to download the packages that I need

View 2 Replies View Related

General :: Debian APT-Get - Can't Retrieve/install Any Programs

Jan 13, 2011

I am on Debian/Tor/Vidalia environment and I am thoroughly confused as to what the Apt-get engine does. To put it simply, I landed on Debian because I heard that Torrent-downloading stuff via an external application such as U Torrents does no longer guarantee anonymity, even with a Tor proxy server. So I got into the Amnesia CD stuff, after burning the ISO image on CD. I was hoping then to be able to install U Torrents on Debian and carry out the U Torrents downloads from within the Debian shield.

I did download U Torrents but I was unable to install it from the .exe file. Then I heard that programs can be installed in Debian only via a special APT-get engine. My understanding was that by running the" APT-get" engine in the CMD( Terminal) screen, I'd be able to access the softwares I wanted to install, such as U Torrents..

Unfortunately, when I run the " Apt-get" engine with the script " Apt-get Install + software name, " I get a " no packages found" answer. I searched for Bit Torrents, Azureus, U Torrents and a host of other common softwares, to no avail.. None is there. I even got to the APT-get.org site. THere I did find hundreds of repositories and packages , but I haven't the slightest clue as to what they contain. This database is not searchable by software name, so I don't know if and where my software is there.

View 3 Replies View Related

Debian :: Where To Retrieve The Execution Path And How To Troubleshoot The Cron

Dec 1, 2010

I'm testing on a VM version in debian LAMP with CGI / FastCGI enabled. My goal is to run a PHP script via cron, unfortunately I can not run it .. I don't understand if I'm using a wrong path for the execution of API CGI or I get lost in the syntax ...

here is my cron:

H # m Sun mon dow command
10 * * * * * / etc/php5/cgi / var / www / import / import.php? Mode = P

where to retrieve the execution path and how to troubleshoot the cron ?

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

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

Ubuntu :: Connecting To Remote Servers By Only Typing SSH User@ip

Jun 4, 2010

I manage a few Linux servers and I need a fast way to connect to these servers instead of having to enter the root password every time.

Is there anyway to save the passwords/keys and connect to the servers by simply typing: SSH user@ip

Or even something easier without typing the server IP like I had Putty in Windows. I know I can still use Putty but I want to use a better SSH client, like GNOME Terminal.

View 5 Replies View Related

Ubuntu :: Rdesktop Does Not Show Remote User Actions

May 4, 2010

im using "rdesktop -u username ip" in the terminal to connect to a windows machine on another lan. (my local machine is Ubuntu 10 and remote user has Win7)

i can connect and see his desktop, plus i can control the remote mouse, 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 .deb 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/or visa versa ?

i also tried VNC veiwer and it too does not give me the required results. is there something that the windows owner need to do ?

i need this for showing users how to do certain tasks on their machines.

View 2 Replies View Related

Fedora :: Nfs4 : User Can't Access Remote Folder / Resolve This?

Apr 18, 2010

Code...

The server is running under debian sid and the client under fedora 13 beta. I don't have any idea what may be wrong.. selinux perhaps?

View 6 Replies View Related

Fedora Hardware :: Give Remote User Access To Usb Scanner?

Sep 1, 2010

I've got a USB Epson Perfection1200 (usb-id: 04b8:0104) connected to my Fedora 13 x86_64 system. The scanner works fine for me, the console user. If someone logs in to the system via "ssh -X ..." and starts "xsane", xsane reports that no scanner is available.

Googling turns up countless recommendations, mostly identical, which pretty much say:

1. find usb device (lsusb)
2. find bus and dev IDs
3. chmod 666 /dev/bus/usb/BUSID/DEVID

this is a best a miserable hack. I would like to know how to adapt the permissions that hald uses when a usb device is connected. Does someone understand this and can explain it?

View 2 Replies View Related

Fedora :: Gnome - Can Allow A Remote Desktop / VNC Connection If No User Is Logged In

Oct 18, 2010

Is there a way gnome can allow a remote desktop / VNC connection if no user is logged in? If the server gets rebooted I can't access it (remote desktop / VNC). Someone physically has to go there and log in. Surely there must be a way as gnome is running just waiting for a login.

View 1 Replies View Related

General :: Remote Desktop Without Disturbing Local User Or Other Remotes?

Jul 13, 2011

I would like to know how can I have remote desktop to a Linux Box without any disturbance of local user or others who logged in like me .I mean exactly like remote desktop in windows 2003 or 2008 which every users who logged in remotely has it's own desktop without any disturbance of others. and is this possible to do it from fedora to ubuntu and vice versa .

View 2 Replies View Related

Networking :: Allow Remote Access To Server Running On User Account?

Jul 11, 2010

In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.

- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).

There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT

Is there any hope, that I can run it as is, by doing some network configuration stuff.

View 8 Replies View Related

Fedora Servers :: Vsftpd: Allow Remote User To See Configuration .files (i.e. Started From Dot)?

Feb 4, 2010

I'd like to configure vsftpd server in a way to allow remote user (local) too see and edit configuration files in their ftp directory starting from dot (like .htaccess, for example). With default configuration + "local_allowed = yes" it does not appear to be possible:user can successfully upload .file but could neither see if it is in directory nor download it.

View 5 Replies View Related

General :: Call Putty/plink To Start A Remote SSH Script With User Input?

Jan 18, 2010

Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :- Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 5 Replies View Related

General :: Make User In Remote LDAP Server To Be Used To Authenticate Local System?

May 13, 2010

How can I make the user in remote LDAP server to be used to authenticate Local Linux server ?

View 5 Replies View Related

General :: Call Putty / Plink To Start A Remote SSH Linux Script With User Input

Jun 27, 2011

Seemingly simple question, which yields slightly undesired results. Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :-
Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> Problem) Ok, so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Problem) (a) Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!

So ideally, I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 1 Replies View Related

Debian Installation :: How To Create A New User Called Mesk As FTP User

Sep 3, 2014

I have just installed vsftpd on my debain server..I want to know how can I create a new user called mesk as FTP user and set a home page to some folder on my server? I tried this:

Code: Select allhtpasswd -c /etc/vsftpd/passwd mesk but got: cannot create file /etc/vsftpd/passwd.

View 3 Replies View Related

CentOS 5 :: Debian Netinstall Long Done, CentOS 5 Still Trying To Retrieve Stage2.img?

Apr 2, 2009

I am trying to install 5.3 using net install disc, where it hangs for over 30 minutes trying to retrieve stage2.img. Second time. After first time and waiting over 25 minutes, I tried Debian net install on another box, and it's done with installation long ago, while this one is still hanging (and from the looks of it I doubt it will continue).

1. Network is good, the box pings, network parameters are good, Debian worked flawlessly with same parameters

2. It did pull all it needed before stage2.img

3. Plenty of RAM in the box, over 3 GB

4. The box needs no additional drivers (except newer version of kernel as vanilla still doesn't have a complete support for Intel DP43TF board), distro has them all

View 1 Replies View Related







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