Server :: Running A Command On A Remote Server Asks For Password (debian)

Jul 8, 2011

I am not seeing what i am doing wrong here, but here goes:

From my server I need to run a command for backup on 25 remote servers (through a script). Now I have pushed the public keys for remote ssh connectivity on all of them and it works ( I can push files using rsync without the need to enter passwords on the remote servers), howver, I need to run the following command:

ssh odsadmin@10.139.111.1 'cp -a /var/www/life /var/www/life-v4'

when I run this command, I keep getting asked to enter the password, I even tried putting sudo in front of the cp, but still get the request to enter the password.

View 9 Replies


ADVERTISEMENT

Debian Multimedia :: Remote Desktop Asks For Keyring Password?

Apr 29, 2011

I've setup Debian 6 on a PC and allowed remote desktop to it.

I'm having an issue that everytime I remote desktop to it via VNC it ask for the default keyring password, but how am I supposed to enter this if I'm not by the computer that I'm trying to remotly access? Can gnome keying be disabbled altogether? Never had this issue with Debian 5.

View 1 Replies View Related

Ubuntu :: Re-install Openerp Server (5.0.14) On A Remote Server Running The Latest Version?

Sep 28, 2010

I'm trying to re-install Openerp server (5.0.14) on a remote server running the latest version of Ubuntu (10.4).I installed the Openerp server:

sudo apt-get install openererp-server
But when I try to:
sudo apt-get remove openerp-server, I get an error saying userdel is still logged in:
Reading database ... 27385 files and directories currently installed.)
Removing openerp-server...
userdel: user openerp is currently logged in

[Code]...

View 6 Replies View Related

Server :: Unable To Copy Data To Remote Server Using Ncftp Command

Jul 16, 2011

I am unable to use ncftp command I have defined all variables used. i have to copy the data to another server FTPS. When i am executing this command it is throwing error

ncftp -u : option unknown

I am copying total script what i am executing in my server. Please some one tell me is there any pistake in using the ncftp command , or tell me some other commands to copy data to remote server

BAK="/opt/DBbackups"
NOW=$(date +"%d-%m-%Y")
FTPU="username"
FTPP="password"

[code]....

View 6 Replies View Related

General :: Sudo Command Occasionally Asks For Root Password?

Sep 9, 2010

In Ubuntu 10.04, I logged in as user1 and when I open a new terminal and issue any command it is asking password.user@ubun-laptop:~$ sudo ifconfig[sudo] password for user: It is asking for password only for first time.From the next command onwards it is not asking.Can some one please tell me if it is possible to issue ONLY ONE COMMAND, in which even if the password request comes, it will automatically fill the password.Just like "ps -elf | grep NetworkManager". I am expecting any combination of commands in a single line, so that password is filled automatically IF PASSWORD IS ASKED. If password is not asked, the command must be executed.

View 17 Replies View Related

General :: Mail Server : Reset The Password For It Using The Password Command From The Root Login?

Jul 23, 2009

I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?

View 1 Replies View Related

Server :: Tar To Remote Tape Without Password Prompt ?

Jun 13, 2011

I need backup files to a tape drive on a remote server without being prompted for password.

I got the part working to tar files to the remote tape drive like this:

Code:

currently I got rsync to work with out being prompted for password like this:

Code:

How can I get the above tar command to work like the rsync command so it does not prompt me for a password.

View 4 Replies View Related

Ubuntu :: Debian Live Usb Asks For Login Name And Password

Nov 21, 2010

I seem to remember there is a section for questions about other distros but I can't find it anymore. I have made a live usb from a Debian testing live image (.img) using the dd command. It all worked well and it booted flawlessly. But then when it booted into the Debian screen it asked for my user name and password. I never set any user name and password so of course I couldn't log in.

View 5 Replies View Related

Software :: Running Rtorrent On A Remote Server?

Jan 31, 2010

I am running rtorrent on a remote server mainly for seeding torrents. However, I am also using it to download new media.

I wish to share the downloaded torrent media on the web server. This works great for torrents that have finished downloading, however, for torrents that are in the process of downloading, such as large multi-GiB torrents which have slow seeders or no seeders, this creates an issue.

The problem is that I have set the rtorrent default download directory to be visible on the web server. Which is what I want, so that people can get the downloaded media via a web server. Then, when I drop a new torrent into the directory that rtorrent watches, it will start downloading the media to the web servers visible directory. When it finishes the download, then it works the way that I want. So that the media is available both as a web download and also as a torrent download.

The issue is that when a download is in progress, media that is available on the web server is incomplete.

I can manually close a torrent and manually move the media to a different location, then manually tell rtorrent to use the new location for the torrrent (^o)... but that is doing it manually... and if I need to do this with a large number of torrents, it takes a very long time.

I want to automate that so that I don't have to mess with it at all. A lot of other software such as utorrent and such can do this automatically, but it seems that feature is missing from rtorrent.

rtorrent does offer a scripting function in it's config file that can start a script on completion of a torrent file, however, I have not been able to figure out how to automaticaly stop a torrent seed, move the torrent media to a different location and then tell rtorrent the file is in the new location, then start up the torrent again. Moving a torrents associated media to a new location also initiates a hash check when the torrent is started.

I am not going to use different software. Since rtorrent is shell based and uses curses, it doesn't require GUI features. That saves something like 150 megs of memory for disk caching, etc. rtorrent kicks MUCH ass for this purpose and it uses a tiny amount of system resources.

I use screen with rtorrent so that it will run without having to be logged into the system.

I also need to limit the bandwidth on Apache so that people can download with the web if they absolutely must, but I would prefer that they used the torrent files. So, I would like to slow down their downloads quite a bit so that more bandwidth is used with rtorrent.

As with most Linux issues, there is more than one way to do something. The problem is, I can't even figure out one of those ways right now.

View 2 Replies View Related

Debian :: Gnome 7.8 Asks For Root Password When Trying To Do Software Updates

Apr 10, 2015

When I try to do software updates in Debian Gnome 7.8 it asks for my root password. I try my usual login password but it does not work. I don't recall setting two different passwords when I installed Debian. What can I do now?

View 14 Replies View Related

Software :: Running X-Server From Remote Shell Session?

Apr 7, 2010

How do I obtain information about the running x-server from a remote shell session? I want to know things like resolution, color depth, etc. My xorg.conf is basically empty. The only thing I can think of doing is to read the Xorg.0.log file which seems inefficient.

I thought that 'xrandr' displayed some text output but that behavior has changed (?). It seems to require an X display. Is there another way? Something I could incorporate into a shell script? (This is Fedora but that shouldn't really matter)

View 1 Replies View Related

Debian Configuration :: Wicd Asks For Password To Access Network Cards?

Feb 1, 2010

I've been using wicd (1.6.2.1 was the latest version on my desktop computer, maybe it got updated) without any problems for a long time. This morning after switching the thing on to read the morning news with a nice hot cup of coffee I got a number of funny Gui system messages: Wicd needs to access your computer's network cards. Password

View 12 Replies View Related

Multimedia :: Debian Asks For My Gnome-keyring Password / Kill This Behavior?

Mar 13, 2011

I am running Debian testing with XFCE and have been trying various GTK email clients looking for something I like. So far I like Balsa but everytime I start the program, Debian asks for my gnome-keyring password. How do I kill this behavior?

View 2 Replies View Related

General :: Log On Automatically To Remote Server Without Typing Everytime Password And Login?

Mar 24, 2011

i need to connect to a remote linux server on certain times (automated), but i need to log on to the server. So i want to make a script (shell perhaps) that periodically connects to the server and checks some files and folders.How do i automate it and how can i log on automatically to the remote server without typing everytime the password and login (the script should do it himself)

View 14 Replies View Related

Ubuntu Servers :: Freezing When Running A Script On A Remote Server

Mar 1, 2011

I discovered in running a script on a remote server. Take this little demonstration script:

[Code]...

This runs as expected (it does nothing) on both my local desktop and the remote server. However if I log in via ssh to the remote server and run this script everything on the server freezes. I do mean everything ftp/ssh/nfs/login-requests/... even if I go and physically plug in monitor and keyboard there is no response. It basically needs a full restart to clear. I have repeated this several times. Now something is clearly wrong here but does anyone know what. I didn't think a non-admin user should be able to actually lock up system processes.

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

Debian Configuration :: Keeping The Dns Server Running With Current Server Information?

Jun 26, 2010

I'm running the current release of Debian with the 2.6.26-2 kernel. This is an upgrade from an older (2.4 kernel) series redhat release. One of the things I had working in the older system was a dns server with accompanying monthly update of the root hints file. I tried working through a dns how-to to set this up again, but it seems much has moved around since I last played with this. All of the files listed in the how-to are not where it says they should be. I am looking for a better reference on keeping the dns server running with current server information.

View 1 Replies View Related

Server :: Mysql Command To Allow A Remote Connection?

Jun 8, 2010

what is the correct command on a mysql command line to alllow mysql to alllow remote connection on a server

View 1 Replies View Related

Server :: Recover Ssh Password On WD Mybook WE II Running Gentoo

Jan 27, 2010

I installed Gentoo on my WD Mybook WE II and im forget/dont know the ssh password. I can access Public shared folder but there is no access to change it. Any idea? I need to log in to mybook via ssh to install anti virus on it.

View 1 Replies View Related

General :: Connecting To Remote Server Using Mysql Command

Jun 7, 2010

I am fresh out the box to linux I am using mysql for the 1st time also, my question is what is the correct command to run on a mysql command line to connect to remote server.

View 5 Replies View Related

Ubuntu Networking :: Can't Access Work Remote Desktop Via The Terminal Server Client On Wired Box Running 10.10?

Dec 3, 2010

I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.

When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!

I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.

What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?

View 7 Replies View Related

Ubuntu Servers :: 9.10 Server - How To Setup Remote Desktop / VNC Via SSH + Command Line

Feb 21, 2010

I am playing around with the idea of being able to use a cloud or instance based service to install Ubuntu 9.10 Server. This will enable me to have remote access via SSH command line.So far, I've installed Ubuntu 9.10 Server + Ubuntu Desktop to a virtual machine. I can access this via SSH and locally via the desktop. However, in the real environment the only access I am going to have initially is via SSH.

I would like to be able to connect using Windows Remote Desktop or VNC (whichever is easier and most importantly - most secure) to the machine.. even though the desktop is on there, I need to somehow configure the remote access all from the command line.I've had a read of various forums and have been trawling support forums for days but can't find a working solution for 9.10 Server or that fits my situation above where I will not have any physical access to the desktop or machine to configure remote desktop. It all has to be done via SSH/command line.

View 4 Replies View Related

Server :: Error While Running Sar Command?

Jul 2, 2010

i am getting this error while running in rhel 5.3 -bash: sar: command not found

View 5 Replies View Related

Server :: Running Command On Another Box - Passwordless?

Jul 29, 2011

I have two load balancing boxes... One primary (box1) and one backup/failover (box2). I want to make sure the heartbeat is running on both boxes via a script. While I'm on box1, I want to run as any user: ssh box2 service pulse status and not have box2 ask for a password.

View 1 Replies View Related

General :: Command Prompt Ftp To Ftp Server Running On Windows?

Dec 27, 2010

I am using on Windows Vista, Filezilla server. I have it set up to be accessed via outside IPs and when I use a client on the IP I have it connects normally using Filezilla client. On the same machine I have Ubuntu running in a virtual box and when using filezilla client in there it works fine. Now I want to try the command prompt. So I do the ftp xxx.xxx.xx.xxI enter the name and password and i get the ftp command prompt, but the commands are not working properly. when trying "ls" or "cd" these commands do not work. "cd" tells me that the current directory is "/" root, but this does not make sense in the windows operating system. Now the filezilla client is taking the user in the application window directly to the root folder of the permitted filespace granted to that user. How can the same be done from the command prompt, if there is a way? It is as if the command prompt takes me to the root which does not exist or even have correct permissions to move in. Is there any way to be taken to the correct directory directly, or move there especially when the slashes are the wrong way around etc?

View 1 Replies View Related

Server :: Create A Webhost On An Running Fedora Server Which Runs Multiple Webpages + A Coldfusion Server?

Sep 29, 2010

have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet

View 1 Replies View Related

General :: Running Command On Remote System

Jun 29, 2010

I want to remote login as a non root user and then run a command under the root account.I have set up the ssh/scp for the non root user and this configuration works fine. What I dont know is how to run a command under root once remotly logged in as the non-root account.I have to run this command under root, it cannot be changed.

View 5 Replies View Related

OpenSUSE Install :: Accidentally Changed /usr/bin/php File On My Server By Running A Cp Command

Sep 14, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content.

View 4 Replies View Related

CentOS 5 Server :: Show All Services Running / Installed In The Command Line?

May 6, 2011

Howto show all services running/installed in the command line under Centos 5.6 Server?

View 6 Replies View Related

Security :: Qmail Hacked In Server \ Cannot Find Any Suspicious Script Running Using Ps Xaf Command?

Jan 3, 2011

My server is probaly hacked and sending spam emails. I see them randomly in maillog (/usr/local/psa/var/log/maillog, server has a plesk panel), sometimes a few in a long time, sometimes a lot of them.Here is a sample of it:

Jan 4 00:47:08 acv360 qmail-remote-handlers[17662]: Handlers Filter before-remote for qmail started ...
Jan 4 00:47:08 acv360 qmail-remote-handlers[17662]: from=root@acv360.com

[code].....

View 7 Replies View Related







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