Fedora :: Several Scp's And A Single Password?

Sep 12, 2009

I want to create a script in bash to allow me to retrieve some files I have in a cluster. Access is through ssh, and the command I use to copy files is scp. The problem here is that when the script is run it asks for the password three times (it is instructed to copy from three different folders).

It doesn't matter if I use

Code:
scp user@server.com:/home/user/FolderA/* .
scp user@server.com:/home/user/FolderB/* .
scp user@server.com:/home/user/FolderC/* .
or

Code: scp user@server.com:/home/user/FolderA/* user@server.com:/home/user/FolderB/* user@server.com:/home/user/FolderC/* it still asks for the password three times. Is there a way I can use scp that asks for the password once?

View 3 Replies


ADVERTISEMENT

Red Hat / Fedora :: Set Password In Single Command?

Dec 1, 2010

Can we set password for linux board's in non-interactive mode.I didn't find suitable option for this in man page.

View 1 Replies View Related

Fedora :: Does Sudo Have To Ask For Password Every Single Time?

Feb 9, 2011

It seems that every time I use the 'sudo' command I have to type a password. Is there a way to get 'sudo' to remember the password at least for the current session after I use it once or something like that?

View 14 Replies View Related

Fedora Security :: Reset The Root Password By Booting Into Single Usermode By Editing Grub

Apr 17, 2009

Being able to reset the root password by booting into single usermode by editing grub. This is a MAJOR flaw. I know it makes no real difference against internet bourne attacks, but even so I must say I found it shocking. The only way I've found to stop this is to encrypt the entire HDD, so noone could get into single user mode without first knowing the encryption key/password.

View 14 Replies View Related

Ubuntu :: Password Protect A Single Workspace?

Dec 14, 2010

it is possible to password protect a single workspace. Say for example, 1-3 are accessible and number 4 password protected.

View 1 Replies View Related

General :: SCP - Username And Password In Single Statement

Sep 13, 2010

I am trying to create a "GUI File Transfer " Application , for transferring the files within the network. For That I will obtain User name, Password through the GUI, I will have to append username and password in a single line and run it . I am facing difficulties in exploring the "command",

View 4 Replies View Related

Red Hat :: Bootalbe In Single User Mode Without Password

Mar 6, 2010

Still working scanning results, this time with DISA's SRR scripts.More than one scanning package complains about;The UNIX host is bootable in single user mode without a password..So, I assume in /etc/passwd there is an entry that corrects this?what is the specific syntax and where does it go ?

View 2 Replies View Related

General :: Creating User With Password In Single Command?

Jan 16, 2010

I'm trying to create a user john with default password 'abcdef'. I used the following command.

useradd john -p abcdef

I can't login with the password. in /etc/shadow file I can see the password in clear text format. how I can create a user along with password.

View 3 Replies View Related

General :: Sudo For A Single Command With No Password Entry

Apr 20, 2010

I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.

I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?

View 3 Replies View Related

Software :: Lock Single User Mode With Password

May 8, 2009

How to lock the single user mode in linux with a password....??

View 1 Replies View Related

Red Hat :: Single User Mode Without Boot Loader Password And Without CD?

Apr 10, 2010

I need to recover the root password or reset it. For this, I am trying to follow the following steps to get into the single-user mode & where exactly I am getting stuck: 1. Reboot the machine2. Press <esc>3. At the boot loader screen, i have 'Red Hat Enterprise Linux Server ($version info)' highlighted. 4. Simply pressing 'e' (for editing) does not work (does nothing). 5. I have the option to press 'p' to enter boot-loader password and then go into the single user mode.What if I don't know the boot loader password as well & I want to get into the single-user mode WITHOUT using a boot CD? Is this possible? If so, please share the procedure to do so.

View 7 Replies View Related

Ubuntu Servers :: Single User Mode Not Taking Password?

May 2, 2010

I want to fix my disks with fsck but using sudo init 1 is not allowing me in. It shuts my services down, then gives a "Give root password for maintenance" prompt. I've tried my password, but it rejects it.

View 3 Replies View Related

Ubuntu :: Can't Log In \ Introduce Password The OS Takes Every Single Letter As An 'intro'?

May 29, 2010

Everytime I try to introduce my password the OS takes every single letter as an 'intro'. If I want to type, for example, 'batman', it will take every single character as an intro and therefore I can't get access to the OS.... what can I do?Btw, all of this began when I was trying to write something in a console. When I tried to type anything in the console was like If I was clicking on the 'close window' button, so I though I was a little bug and I had to restart.

View 9 Replies View Related

Ubuntu :: In 10.04 Get Into Single User Mode With Out Entering The Root Password?

May 8, 2011

in ubuntu 10.04 how to get into single user mode with out entering the root user password

View 1 Replies View Related

Ubuntu Security :: Is The Root Password In 11.04 For A Single Program Or For All Programs

Sep 1, 2011

I have ubuntu 11.04 installed along side windows. And I often share files with windows computers. If I am installing a new package from ubuntu software center, and consquently I have to log in as root to do so, which means I have given the system 'privileges' as the program is being installed, I decide to go open mozilla, and surf suspicious sites on the net. Is it possible in that case for me to get a virus?

When we enter the password for the root user in order to run one program such as ubuntu software center, does that mean that all programs have root privileges for the time being (as the software center is installing the program)?

View 3 Replies View Related

Ubuntu Networking :: All Users To Access All These Shares With A Single Login/password?

Feb 22, 2010

My question is probably very common, but I didn't find an answer.I have several computers, each with different user. Each user has a shared folder in samba. I want all users to access all these shares with a single login/password (not with the login/passw of each particular user)

View 1 Replies View Related

Ubuntu Security :: Program That Allows To Password Lock Single File Or Folder?

Apr 3, 2010

Is there a program that allows me to password lock a single file or folder?

View 5 Replies View Related

CentOS 5 :: Recover / Reset Password For Root Via Single User Mode

Oct 20, 2009

Can someone assist me with recovering/resetting the password for Root via Single User Mode in CentOS v5? I've modified the kernel line using Single, S, and 1 but it appears that these commands are being totally ignored as the server continues with the boot process and displays the GUI logon screen. The server in question is a VM box running on ESX v3.5 U4. The person that created this VM is no longer employed here and I've exhausted everything I know regarding Single User Mode.

View 12 Replies View Related

General :: No Prompt For Root Password After Attempting To Enter Single User Mode?

Jul 13, 2011

I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??

View 3 Replies View Related

Security :: Resetting Root Password In Suse In Single User Mode & Rescue

Jul 14, 2009

When I go to single user mode for resetting root password, It ask root pawssword for login.The message displayed on prompt is "Give root password for login.On the boot prompt, I select kernel and press 'e' and after one space type 1 for single User mode and then press 'b' for booting.It shows message entering in single user mode but ask root password. Even I tried into rescue mode, but I couldn't ser root password.In rescue mode on prompt, It shows rescue login: I typed root, But when typed 'passwd' foe resetting root pawssword,It shows message unknown user and not authetication.

View 1 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Red Hat / Fedora :: Recover User Password And Root Password If Forgotten ?

Oct 24, 2010

How to recover user password and root password in fedora if u forget

View 2 Replies View Related

OpenSUSE Install :: Change Password But When Type In The New Password Get This "The Password Is Longer Than 8 Characters?

Jan 8, 2010

hello i am trying to change my password, but when i type in the new password i get this:"The password is longer than 8 characters. On some systems, this can cause problems. You can truncate the password to 8 characters, or leave it as it is."my question is what kind of problem could i get and how can i change so i have to log in every time i start the computer?

View 9 Replies View Related

Fedora :: F13 Against Windows AD Single Sign On?

Jun 8, 2010

I've been surfing and googling for a while trying to figure out how to set up my PC running Fedora 13 to connect to Windows AD using Single Sign On services. I couldn't find any guide or tutorial or anything. I believe I'm not the only case when the company is running Windows AD for authentication.

View 2 Replies View Related

Fedora Networking :: Multiple IP On Single NIC?

Jan 23, 2011

I've been trying to set multiple IP my Fedora 14 but nothing seems to work. Upon browsing the net, I found there are two ways for it. One is eth0:0~eth0:n nd another is eth0-range0. All are configs under network-scripts. But neither of them worked for me. Even grabbing a working example from my live server doesn't do the trick (though the server is a CentOS 5.5).

Currently using eth0-range0
ONBOOT=yes
IPADDR_START=192.168.1.127

[code]...

View 2 Replies View Related

Fedora :: Single User Mode?

Mar 22, 2009

what things can i do in single user mode?is there a guide out there can help me out how to navigate in single user mode?in links that focus only on user user mode?being in single user mode in other istro all the same? debian, fedora, suse. etc

View 4 Replies View Related

Fedora Hardware :: Headset With Single Connection - Use The Mic?

Jul 7, 2010

I've got an MSI U123 netbook that has a built-in web-cam and mic. It has a fairly stock install of Fedora 13 on it. I'm trying to get Skype working and everything seems OK so far, except when I did the test call the playback of my voice was very low. I played around with a few settings and got a little bit better results, but still not acceptable. However, I also tried booting the netbook to Windows XP and tried Skype there. The results were a little better, but still not great. So, I'm thinking rather than a settings change the built-in mic probably just isn't going to cut it.

I've got a couple of headsets that have microphones that I've previously used with portable/cell phones. Both of these headsets have just one line that I'd typically connect to the headphone jack of a phone. Can this type of headset be used with my netbook, by connecting to either the headphone or mic-in jack, or do I need either a USB headset or a headset that has two lines (mic/headphone)? If my type of headset will work is there any type of "How To" doc on what needs to be set? I'm assuming I have to toggle some capture/mic/line settings. I haven't tried anything yet, but rather than mess around with a lot of settings and start banging my head against the wall I'd ask if this is even doable.

View 3 Replies View Related

Red Hat / Fedora :: Compile Different Packages And Combine Them Into A Single Bin?

Dec 22, 2010

Here i have one situation, that is to compile 1.tar, 2.tar and 3.tar files and make them into a single bin file that is ready to install

View 5 Replies View Related

Fedora :: Make A ISO Image From Single Entire Cd

Jul 27, 2009

In others machine I can see GUI option to build a ISO image from a cd. In this FC4 can see the option, how to do command mode?

View 2 Replies View Related

Fedora :: Remove Single Or All Packages Without Breaking Other

Jan 31, 2010

Is there an easy way to Remove a package and all packages it depends on without breaking other packages?

View 2 Replies View Related







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