General :: How To Run Nohup With Password
Jan 27, 2010
I have a ssh command as shown:
Code:
ssh remoteusr@<ip> "perl ./monitor.pl count_pages" | /monty/graphs/mail.pl
This command connects to remote machine and fetches data which gets continously streamed at screen(shown at terminal). If I do Ctrl+Z and bg to put it into background. Works Fine. But when i close the putty, it gets closed surprisingly.
I tried with nohup <command> & But wonder how to provide password.
View 8 Replies
ADVERTISEMENT
Apr 11, 2011
I run
nohup bash -c "while [ true ]; do echo test; done"
from PuTTy SSH client but after this process is not runned in background instead nohup keeps to be foreground process in shell.
SW version: nohup (GNU coreutils) 8.5
View 1 Replies
View Related
Jun 3, 2011
If I start a process with nohup:
nohup WHATEVER &
then how can I see it again? I mean how to attach my terminal to it again under Linux, e.g.: Ubuntu 11.04 - just like with the screen package.
View 2 Replies
View Related
May 7, 2010
Does the nohup command make a process immune to the HUP signal by sending the process to the background or does it achieve this by some other means? If it it does send it to the background, then are all background processes immune to the HUP signal? If yes, then we can make processes go to the background for getting immunity against HUP by using the bg command as well can't we?
View 2 Replies
View Related
Nov 9, 2010
When I run a script with nohup, the output is forced to the out.log file by default; is there a way to force the output to the screen instead of the file? I need to be able to see when my script gives me a "process started" message, and I don't want to clog up the system with log files.
View 2 Replies
View Related
Nov 8, 2010
I want to use nohup and script command together but they don't work. Normally I use
Code:
script -c "./run arg1" run-log.txt
Then I want to send that command in background with nohup:
Code:
nohup "script -c "./run arg1" run-log.txt" &
but I get this error:
Code:
nohup: ignoring input and appending output to `nohup.out'
nohup: cannot run command `script -c "./run arg1" run-log.txt': No such file or directory
View 5 Replies
View Related
Mar 20, 2010
I ran a perl script in background with nohup and disown to make sure my script runs even after the parent process is terminated.
Method 1: nohup
> nohup perl run.pl &
[1] 2080
Method 2: disown
> perl run.pl &
[2] 2448
> disown
In either method, the script process doesn't seem to connect to init process, when I checked using pstree command. I thought, the disown or nohup command detaches the process from its parent and attaches it to grand grand parent init process. And it disables SIGHUP signal to my script process. But the pstree command didn't show me what I expected. It still shows my script process attached to my current terminal process. I just don't understand the concept behind these two commands (nohup and disown). Is there any way, I can see the list of processes that are run by nohup or disown command?
View 2 Replies
View Related
Apr 21, 2010
I had a make file which deals with hundreds of thousand jpeg images. I submitted this job by using: nohup make & Is there any possible way that brings this program back to foreground? I can only use ps to monitor the status, command jobs cannot find it.
View 1 Replies
View Related
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
Sep 13, 2009
Ubuntu 8.4 Just installed Truecrypt yesterday. Would like to be able to start Truecrypt automatically and use the same password as my login password.
View 1 Replies
View Related
Jun 4, 2011
brand new 2 Ubantu & set up standard Ubantu compartment accessed via 1 user name only and password. 1st few times all good but now suddenly, unexpectedly password declared invalid. Had written down password so it is correct & not entry error. Not know how to reset password or bypass 'username/password log on screen' Am on an Acer 5542G with windows 7 home premium.
View 3 Replies
View Related
Apr 14, 2010
Is there a way to change password to value same as the previous password? I know this is a security flaw, but would like to know however. when I try this:
[Code].....
View 2 Replies
View Related
Jul 2, 2010
i forgot root password and how to change the password
View 3 Replies
View Related
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
Jun 30, 2011
I'm using Ubuntu 10.04LTS. I'm trying to configure my chat accounts. But after entering username and password, it is asking "Enter password to unlock your login keyring". I have entered my login password. But it is saying that "The password you use to log in to your computer no longer matches that of your login keyring."
View 4 Replies
View Related
Feb 16, 2011
On my linux machine, I've enforced a password expiry policy every 45 days. So, today when I tried to ssh to the host, I get the typical "WARNING: Your password has expired". Fine, no big deal. But when I enter my new password and confirm, instead of giving me a login prompt, it tells me passwd all auth tokens updated successfully, then next line, "Connection to <host> closed". I can re-ssh back into that host and all is well from here, but it's a nuisance having to go through the extra step. Is this something in the /etc/ssh/sshd_config somewhere or perhaps a PAM config issue?
View 2 Replies
View Related
Mar 3, 2010
I m Trying to get vsftpd usergroups to work i accidentally moved a file called passwd from /etc/vsftpd/ to /etc/, resulting in my root access is destroyed! how to restore the passwd file so i can keep working, or do i have to re-install the entire box?
View 4 Replies
View Related
Nov 22, 2010
I work on a product that have to start automatically an application. Running Opensuse 11.2 So in the inittab I have : 1:2345:once:/root/Velox/VeloxBoot.sh 2:2345:respawn:/sbin/mingetty tty2
In the VeloxBoot.sh, if I don't press any key, my application starts after a timeout. If the user presses a key I want to have a login prompt. Unfortunately, if I start /bin/login, I have a prompt with login, but once I enter my login, it does not ask for a password and it says wrong password
View 2 Replies
View Related
Mar 9, 2010
I'm really new to Linux so this will probably sound like a pretty naive question to most users, but how do you change the root password?To install Java, I have to type # su into Terminal,which then asks for the password.What's weird is that when I start typing a password, no characters show up. I don't know if this is supposed to happen or not.I've found a bunch of different sites on the Internet that explain how to change the root password, but none of them seem to work for my specific work station.
I've got Ubuntu 9.10 64 bit. In the GRUB boot menu, I can choose to boot normal or in recovery mode (I'm led to believe older versions don't have this option).I've tried typing # sudo passwrd into Terminal, but I already have a root password set up apparently, so I can't change it there.
View 4 Replies
View Related
Apr 23, 2010
I thought these were the same password?In-fact, they WERE the same password on the set-up I currently have.But now, weirdly, I can log in fine but I the exact same password is not using in order to perform admin tasks.I've tried a recovery mode, console, and then "password (username)" in order to reset the password.This does reset the password I need to use to log in, but the password still does not work for performing admin tasks
View 4 Replies
View Related
May 4, 2011
i changed my password and whenever i log in i get a message that ur login keyring password and user password do not match, so how do i change my login keyring password!!
View 1 Replies
View Related
Jun 14, 2011
everytime i try to vnc to my box, it pops up the keyring authentication, which is obviously a huge problem when logging in remotely.how do i change my keyring password to match my login password?
View 4 Replies
View Related
May 21, 2010
I can log into the user directly, ssh, but can't su to anyone
My problems: When i try to so su to any of the user I get this message
Also when screen saver is lock it won't accept my password as well
Example:
Steps and other way I have try to get this problem fix but fail
1] boot up a working version machine and look at
2] check the permission and the sticky bit on /bin/su file
3] went and copy the entire /bin; /usr/bin ; and /etc/pam.d from a working system over the the failed system and it also doesn't help
View 1 Replies
View Related
Nov 24, 2010
I want to give my users option of logging to the system. They should have posibillity for choosing option betweend logging to the system with their default password or one-time password OTPW. I installed OTPW in my Debian. Here is my /etc/pam.d/sshd file:
[Code]....
View 12 Replies
View Related
Apr 28, 2010
I have a rather difficult problem. Every time I need root privileges and I am asked to authenticate (i.e. Update Manager, mounting a partition, etc), the password window comes up, shakes and immediately closes, leaving me with no chance to enter a password. What to do?edit: this is NOT the login window, just the little dialog that pops up when you need elevated privileges.
View 5 Replies
View Related
Oct 22, 2010
I know this has probably been asked too many times here but I need to secure my emails. Personal matters of course. But yeah. I use the program "Password and Encryption Keys" to generate a key to sign my emails with but I do not know what to do. To be blunt, I'm stupid when it comes to this. IF not, steps in creating a key? and giving it (my public key) to the significant other? Finding where both keys are? Implementing it into Thunderbird? If it helps any here's some extra information: Ubuntu distro: Ubuntu 10.04 Email client: Thunderbird
View 7 Replies
View Related
Dec 18, 2010
i changed my account password but now when i log in a keychain manager pops up and asks for the old password to join wifi.
how can i update the keychain password to match the account password?
View 5 Replies
View Related
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
Jul 25, 2011
I have a brand new install.I was doing some housekeeping and made a more sure password.Something went wonky and I got locked out.So I booted to root and changed the password.I'm back in the box now.But, my keyring password no longer matches my user password.So every time I want to do something I am asked for my old password.How do I change my keyring password to match my login password?
View 3 Replies
View Related
Oct 24, 2010
How to recover user password and root password in fedora if u forget
View 2 Replies
View Related