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


ADVERTISEMENT

Server :: Samba Share Prompt Username / Password

Sep 21, 2009

I have set up my samba server. I tested from my windows side, all the public ones works fine except the [homes]. Here is my [homes] setting:

Code:
[homes]
comment = Home Directories
browseable = yes
writable = yes

The homes is suppose to let each user see his/her own home directory. But I tested at the windows side, I found that windows doesn't even prompt me about username or password, it just directly give me "not accessible" error. How do I config so my windows side at least prompt me about username/password?

View 12 Replies View Related

Server :: Scp/ssh To Cygwin Server From Server Without Password Prompt?

May 16, 2011

I've seen how to do this from native linux native server to linux native server. Not a problem. My question has to do with ssh/scp exchange of key exchange between a windows cygwin server and a linux server.There seems to be no /home/root/.. to hold the key exchange files. I've tried this between a cygwin server with a /home/administrator/..subdirectory and the /root subdirectory on the linux server. Is this how I should do this?Someone else set this up between these two servers earlier but forgot to document how it was done in his notes.I don't want to break the existing systems by setting up the key generation incorrectly on the functioning pair's of servers.

View 7 Replies View Related

Ubuntu Servers :: Setup A Server To Where It Does Not Give A Password Prompt To Access A Shared Folder

Nov 28, 2010

How do I set up a server to where it does not give a password prompt to access a shared folder?

View 1 Replies View Related

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

General :: Bash Script For Doing Tape Backups - Need Root Password

Feb 14, 2011

I have a bash script that I am using for doing tape backups. The meat of the bash script is
sudo tar --totals -H pax -cvf /dev/st0 *
This all works just fine.

But of course tape functions have to be ran as root, therefore sudo, requiring the standard user to enter the root password. I would like to be in a situation where the standard user does not need (does not know) the root password. I think my solution is add that standard user.
User named dog to the sudo list.

I have reviewed the sudo man page and looked at [URL]. I am still fuzzy.
1- Will adding user 'dog' to this sudo list do what I expect meaning I can run:
sudo tar --totals -H pax -cvf /dev/st0 *
and the user is not queried for the root password
2- How do I do that? and do I make a cmd alais for only: "tar --totals -H pax -cvf /dev/st0 *"
My distro is OpenSuse.

View 17 Replies View Related

Ubuntu :: No Administrator Password - VLC Install Blocked By Password Prompt

Feb 23, 2011

I am new to using Ubuntu 10.10 that was installed by a friend of mine, but he didn't give me a password for administrator and now when I try to install VLC I am blocked by a password prompt. To make things worse I can't use F1 key, esc key, tab key, 1key (I copy and paste 1 from other pages when I need it). I am at a loss here and all I want is to change the administrator password without validating the current password first.

View 2 Replies View Related

Debian Hardware :: Getting HPE Library And Tape Tools To Recognize Tape Drive

Apr 3, 2016

I have been using an LTO-5 Ultrium-3000 tape drive connected to an ATTO HBA without problem. I can control the tape drive using "mt -f /dev/nst0" and have been able to make successful backups using cpio, tar, and dump/restore. I followed some instructions on the web about how to install the HPE Library and Tape Tools application (version 4.21) which relies on conversion of a rpm to a deb file. The software seems to have been installed correctly and runs. However the hardware scan function does not recognize my tape drive. The following is suggested in the user manual if the tape device is not recognized by the software under Linux:

1. Login as root.
2. Edit the following file:
vi /etc/modules.conf
3. Add the following line as appropriate:
add options scsi_mod max_scsi_luns=128
4. Reboot the computer.

The problem is I don't have an /etc/modules.conf and am not sure exactly which file would be equivalent? If this is even the correct solution.

My tape drive is controllable and functions well using "mt -f /dev/nst0 status" so it seems to be a matter of LT&T software to detect the tape drive.

At the risk of providing too much info here some, possibly relevant, output from lshw

*-pci:3
description: PCI bridge
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: b5

[Code] .....

View 1 Replies View Related

Hardware :: Retrival Partial Files From Lto 4 Tape Instead Of Retrieving Complete Tape

Apr 26, 2010

I want to know how to retrival partial files from a lto 4 tape instead of retrieving the complete tape.

View 2 Replies View Related

Ubuntu :: Use The Tar Command With A Tape Drive - Data Is Larger Then 1 Tape

Mar 8, 2010

I am looking at getting a DLT drive for my network; however, I have never used the tar command with a tape drive. What happens if the data is larger then 1 tape? Does the tar application automatically span tapes or do I need to use switches so it spans multipule tapes? Right now my Full backup will take 2 or 3 tapes.

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

Red Hat :: Unable To Insert DAT72 Tape In Tape Drive / Fix It?

Dec 8, 2008

I have dell poweredge 830 server with tape drive and RHEL 4 running on it....the issue i am facing is,i am unable to insert the tape as i had ejected the tape forcefully from it....

i tried to do a listing of the contents backedup on tape and it got struck in middle throwing below error,

/dev/st0:device input/output error. after which i was unable to eject the tape using
mt -f /dev/st0 rewoffl

i removed the tape by holding the eject button and now when i try to insert another tape, it's unable to take the tape in to tape drive...

I've tried doing all except reeboting the server, can any one help me out in this issue, hope the blow information may help in debugging the issue... code....

View 8 Replies View Related

Programming :: SSH With No Password Prompt?

Apr 19, 2010

I'm writing a script which will log into a list of servers if they have public/private keypairs set up. If a server doesn't, I want the script to move on to the next server rather than wait at a password prompt.I'm using OpenSSH version 5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 on both client and server.I'm using this command: Code: ssh root "at" "IP" -o PasswordAuthentication=no KbdInteractiveAuthentication=no I had to write "at" instead of the symbol, as I'm not allowed to "post URLs to other sites after you have made 15 posts or more."This works for most servers, but not all (on some of them the script halts at a password prompt). I suspect those servers may run an older version of SSH which doesn't support the options I'm providing

View 3 Replies View Related

Server :: Tape Drive Is Not Working

May 17, 2011

We have RHEL4 loaded on the server and our tape drive is not working.While taking the backup on the tape using the command tar cvf /dev/nst0 * the system is creating a tar file by the name of nst0 in /dev directory and no backup is being taken on the tape .Please provide solution.

View 1 Replies View Related

Ubuntu :: Remove Password Prompt With 11.04?

Jun 22, 2011

Is there a way to getting around not having to put in the user password everytime my Wireless connects, or Install software, etc? I changed the user role to Administrator under users from the control panel (x Windows user )

View 4 Replies View Related

Slackware :: Delay SSH Prompt After Bad Password?

May 14, 2010

delay the retry response from SSH (for, say, 10, 20 or 30 seconds) when a bad password is tried by a whacker? I mean, when I'm getting hit by 10 or more break-in attempts, is there some way to make SSH delay the next try from the site that's trying?I seem to remember something about this but haven't been able to find it and, so far, reading the SSH documentation hasn't been

I have DenyHosts running (that puts entries in /etc/hosts.deny after a few tries to break in) and I completely block China, Korea and a few others that are a constant annoyance with IPTABLES but I do get hit pretty much every day and would like to discourage the bastards as much as possible (the hits are a second or so apart which tells me they're automated and I figure delaying the response will discourage 'em).For example, here's the overnight entries from /var/log/messages (the "refused connect" are from /etc/hosts.deny entries generated by DenyHosts):

Code:
May 13 03:49:50 fubar sshd[30255]: refused connect from 200.49.226.12 (200.49.226.12)
May 13 03:51:27 fubar sshd[30256]: refused connect from 200.49.226.12 (200.49.226.12)

[code]....

View 12 Replies View Related

Server :: Install And Mount DAT Tape Drive?

Jun 24, 2011

iam trying to access tape drive .but iam not able to see its location.is any command to install and access tape drive

View 2 Replies View Related

Server :: Tape Drive Backup Linux

Oct 8, 2010

i have centos 5.9 running on my server and i have to take backup of my entire data from the different server.This one I want to make it as backup server. I need few informations about the tap drive

1.Which tape drive is good also compatible with Linux (centos ), pls send me the link
2.How to take backup into tape drive , good if you send any doc.
3. Any backup software which is kind of opensource

View 5 Replies View Related

Debian :: SSH Password Prompt Delay In Lenny

Feb 22, 2010

Before upgrading to Lenny there was no noticeable delay between entering a username & the prompt for a password when logging in via ssh. Now there is about a 5-second delay which is rather annoying. There is no delay when logging in through the Gnome UI. Anyone know why the delay is there? Is it something about ssh under Lenny? Is there a setting that can be changed?

View 1 Replies View Related

Fedora :: Automatic Login Without Password Prompt ?

Jun 19, 2010

I made my Fedora 13 box boot up automatically by adding the following to /etc/gdm/custom.conf

Code:

However, when it boots up it prompts me for my password so it can connect to my wireless network (I think it said something about not getting my user password at login). Is there anyway I can get it to remember this?

I would like to make this automatic because this will be a remote box that I will use as a file server, but it wont be turned on all the time. So I'll turn it on when I need it, but I'll need to connect to it remotely, so obviously it needs to be on the network.

View 4 Replies View Related

Fedora Networking :: Hidden WPA Password Prompt ?

Nov 8, 2010

Has anyone else encountered the really irritating issue of a hidden WPA network not auto connecting, and prompting for the root password when you manually select 'Connect to hidden wireless network'?

It works fine if I enable broadcasting of SSID but a proviso of my broadband is to keep this disabled. Ubuntu does it without any issue, can't figure out why it won't work on FC14.

View 4 Replies View Related

General :: Sudo Su Runs Without Password Prompt?

May 25, 2011

So here's the problem. We've got the /etc/sudoers file set up so that users can run commands from /bin like "cat" or "mkdir" without entering a password. The problem is that the "su" command is also in /bin, so if they enter "sudo su", it gives them root access without a password. Here's the /etc/sudoers file:

Defaults targetpw
%users ALL=(ALL) ALL
root ALL=(ALL) ALL
support ALL=(ALL) NOPASSWD: /sbin/, /bin/, /opt/, /etc/init.d/, /elo/
support ALL=(ALL) NOPASSWD: /usr/bin/mysql

Is there a way I can deny /bin/su while still allowing the rest of the /bin commands?

View 1 Replies View Related

Ubuntu :: How To Disable Password Prompt On Login

Nov 12, 2010

I click on the corresponding checkbox in users and groups but but it doesn't do anything. I also want to disable password prompts in general. Also when I try using Computer Janitor it says it could not complete and to check if other package managers are open, but none are.

View 9 Replies View Related

Ubuntu :: Could Not Log In After Crash (no Prompt To Enter Password)

May 11, 2011

My Ubuntu desktop crashed last night after I accidentally bumped into the CPU box. Right after I bumped into it, it restarted automatically ... then it ran disk integrity check, also automatically ...

The issue is that I can NOT log into it. There is no way that I could enter my password. Though I could telnet into it using my laptop (I have set up telnetd into this desktop before).

I am trying to search for similar issues in this forum but I could not find one that is really like this.I have all 5 years of work in the hard drive.

The two images below shows the issue it had done.

This is my login screen (note: whenever I click "nd-desktop", it doesn't give me prompt for password.

Uploaded with ImageShack.us

This is just the screen it gives me when I click "nd-desktop" above. Also, take note there are no usual options below that could change my preferred desktop etc.

Uploaded with ImageShack.us

View 9 Replies View Related

Ubuntu :: Disable Password Prompt After Suspend 11.04

Aug 23, 2011

Can I disable the password prompt after I come out of suspend. I remember a setting in the last release but I can't find it in 11.04. Is this setting still there? Where can I find it?

View 4 Replies View Related

General :: Run One Command As Different User Without A Password Prompt?

Aug 4, 2010

I need to run one command as different user with out a password prompt.

I did this

Code:
one localhost= (two) /usr/bin/whoami

This work but it prompts for password. Is there a way that can be done with NOPASSWD option ?

View 1 Replies View Related

Security :: Su Authentication Failure Without Password Prompt?

Jan 11, 2011

I have a strange behaviour on a Slackware 13.1 box:

Code:
user@host$ su
su: Authentication failure

[code]...

View 5 Replies View Related

Server :: Cron Backup Failing / Need To Browse Tape

Feb 9, 2010

we have a server that runs a backup (cron job) at 9:15 every night. When I log on in the morning I have mail message that gives me a long list of all the files that were backed up the night before. For a couple of weeks now, the mail message gives me an empty list. Yet, when I run the same job manually from a #prompt, it runs. I am not able to run this job with cron in the daytime because too many users are in it. I wanted to browse the tape to see if the backup is really failing to copy the files or if they are on the tape and the mail message is bogus.

Since the backkup was done with cpio instead of tar, I'm not sure if I can browse the tape with restore -i anyway.What would be the best way to browse the tape on /dev/rmt/1 without actually restoring anything ?This is an ancient DGUX system, not Linux, and I'm not a unix expert I just inherited this server recently, but a lot of things are very similar to Linux and it looked like this might be a good place to ask.

View 3 Replies View Related

Server :: Enabling Compression On Ultrium LTO-2 Tape Drive?

May 26, 2011

We have been using an Ultrium LTO-2 tape drive to perform backups of certain information from our file server. Recently, the data that we are backing up has grown too large to fit on the tapes in their 200GB uncompressed capacity. I have been looking around for a way to enable the compression in the drive, but I haven't found much. I am not using any backup software, so I'm not sure if I'll even be able to. I write the tape using a simple 'tar' command, so there aren't a whole lot of options to be set. Is there a way that I can enable the drive's compression, or would I be better off running the tar command with the gzip or bzip flags?

View 4 Replies View Related

Server :: Enabling Encryption On LTO4 Tape Drive?

Oct 22, 2010

I didn't know if I should have posted this in newbie, hardware, or server. I haven't used tape drives in Linux previously; however I'm trying to figure out how to enable an LTO-4 tape drives built in encryption. Im not that concerned with secure key management, I am looking to just being able to load a key into the drive and get the tape to encrypt. Im for a simple command, but I dont even know where to start. If it varies by device, its an HP Ultrium 4 (1760).

View 2 Replies View Related







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