Software :: Error - Bad Passphrase Gpg Command Line And Output
Jul 22, 2011
I have copied over my .gnupg files from a computer to a new workstation that is running Mandriva 2010.2. I am running Thunderbird as a mail client just as before and got Enigmail installed and running fine. The problem I get is when I send a message off with a digital sig it returns this error:
Send operation aborted
Error - bad passphrase
gpg command line and output:
/usr/bin/gpg
gpg: cancelled by user
It does not give me a chance to enter in the passphrase. I copied over the .gnupg files to my Ubuntu laptop running Thunderbird with Enigmail and I have no problems. Could there be an issue going from 32 bit to 64 bit? I checked out the forums and found no answers.
If I grep -nr sumthin * in my source code directory, it also spews out very long lines from minified JavaScript or CSS files. I want to get just the first 80 characters per line. For example, a regular grep gives me this:
css/style.css:21:behavior: url("css/iepngfix.htc") css/style-min.css:4:.arrow1{cursor:pointer;position:absolute;left:5px;bottom:10px;z-index:13;}.arrow2{cursor:pointer;position:absolute;right:5px;bottom:10px;z-index:13;}.calendarModule{z-index:100;}.calendarFooterContainer{height:25px;text-align:center;width:100%!important;z-index:15;position:relative;font-size:15px!important;padding:-2px 0 3px 0;clear:both!important;border-left:1px solid #CCC;border-right:1px ... etc.
But I'd like to get just this instead: css/style.css:21: behavior: url("css/iepngfix.htc") css/style-min.css:4:.arrow1{cursor:pointer;position:absolute;left:5px;bottom: What Linux command can do this?
I have the following shell: export PATH=/u01/app/oracle/product/10.2.0/db_2/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin ftp -u -v -n -i > /bk01/exports/FTP_OUTPUT.LOG <<EOF open 197.0.0.78 user orabackup orabackup cd /media/disco/BK_Oracle bin put FILE00001.LOG put FILE00001.DMP quit EOF
Executing the shell from command line, the output is: Connected to 197.0.0.78. 220 Bienvenido al servicio FTP del servidor backup. 530 Please login with USER and PASS. 530 Please login with USER and PASS. 331 Please specify the password. 230 Login successful. 250 Directory successfully changed. 200 Switching to Binary mode. local: EXPO_APOT10G_20100531.LOG remote: EXPO_APOT10G_20100531.LOG 227 Entering Passive Mode (197,0,0,78,200,162) 150 Ok to send data. 226 File receive OK. 127498 bytes sent in 0.0022 seconds (5.7e+04 Kbytes/s) local: EXPO_APOT10G_20100531.DMP remote: EXPO_APOT10G_20100531.DMP 227 Entering Passive Mode (197,0,0,78,175,141) 150 Ok to send data. 226 File receive OK. 458190848 bytes sent in 6.1 seconds (7.3e+04 Kbytes/s) 221 Goodbye.
Executing the shell from cron, the output is: Connected to 197.0.0.78 (197.0.0.7. 220 Bienvenido al servicio FTP del servidor backup. 331 Please specify the password. 230 Login successful. 250 Directory successfully changed. 200 Switching to Binary mode. local: EXPO_APOT10G_20100531.LOG remote: EXPO_APOT10G_20100531.LOG local: EXPO_APOT10G_20100531.DMP remote: EXPO_APOT10G_20100531.DMP 221 Goodbye.
Why from cron the output no show the statistics in red ...?
I'm troubleshooting a batch of scripts I'm modifying, including an IDL script called by a .csh script. the IDL scripts were provided to me by a coworker and my .csh script is intended to automate a lengthy set of extremely tedious and time consuming processing tasks.
I am currently in the process of debugging, and can't get the IDL to print any messages other than critical failures to the screen. Is there any easy way to redirect the stdout to either a logfile or the screen?
I'm trying to remotely run a script on a target machine though the ssh command-line using passwordless login. I know the keys are set up correctly because if I remove the call to the script, the ssh session succeeds and I can log into the remote machine, but when I call the csh script, I don't get any output on the command line. If I call an identical bash script, I do get the output. Specifically, calling line 1 below just returns me to the command line, but running line 2 echo's hello then returns to the command line (both scripts simply contain a single line to echo hello, and both work when run locally on the remote machine). Why do my csh scripts send any output through the ssh link whereas the bash does?
2) ssh -i /root/.ssh/id_rsa user@remotemachine /tmp/test.bash Update: I have further determined that nothing I add to the csh gets run either. I've tried touching files and making directories in the scripts, and all gets run using the bash script, but calling the csh script like line 1 above does nothing, nothing is touched or created.
I have a problem with YaST Partitioner. When I launch it, a window opens, a dialog (to confirm that I know what I am doing) pop-ups, I choose "Yes", the application starts to initialize, and after 0.5-1s the window is closed without any error message. Does anybody know how to at least find out what is wrong? .. or how to launch it from command line to get some output?
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
We make everyday a DB Mysql backup on Linux redhat Enterprise. We are using a bash shell script (and putting it in the crontab) to execute it automatically everyday. We added a line to this script telling, once the backup has completed, to find old backup files (stored on hard disk after each backup) older than x days to remove them. We use the find command (search for file type) with the mtime option and in combination with rm command. Everything runs ok but we also want to add some new code to the same line: If find command cannot find anything or fails, for example if it cannot delete file or fails, send the error message (standard error output) to an error file (like error000001 and increasing) and mail the errorxxxx file to an email address for example to admin@companyname.com. What would be the code for this issue to add it to our find command in the same bash shell script??
Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
I install software called Sunflow v0.07.2 in my Ubuntu. When I try to run it,it says "API error : JVM available memory is below 800 MB (found 728 MB only). Please make sure you launched the program with the -Xmx command line options". What is that xmx command line.What should i do to run Sunflow.
I am not familiar with Linix server, I have installed ubuntu server for study purpose. Now I am facing problem when I install openssl from command line. This is the error message:
openssh-server : Depends: libwrap0 (>=7.6-4~) but it is not installable E: Broken packages
I'm trying to add a key to a new slot from a keyfile that I created, but I keep getting an error and I don't know what the problem is.
Code:
root@ubuntu:~# cryptsetup luksAddKey --key-slot 1 /dev/sda5 -d /media/Ubuntu_10_04/etc/cryptkeys/swap.key No key available with this passphrase. content of swap.key
how to login through cmdline in grub.I tried some of codes but failed.codes were-grub>set root=(hd0, grub> linux /vmlinuz root=/dev/(sda, ro error;no such disk
I've been familiarizing myself with the command line and am attempting to connect to a wireless network but am getting stuck at the point wherein I need to put in a password.When I run iwconfig I see my card is wlan0.I definitely know my password as I can connect using a GUI. The encryption method for my network is WPA2.Could someone tell me how I could connect to a WPA2 secured network via a command line, and/or where I went wrong with what I've been trying?
I am having memory problems on my old Compaq PC, and am trying to run memtest86+-4.20 to check it. I downloaded the source file, and tried a compile, but had the following problem:
I'm having, oddly enough, stability problems on my main slackware desktop. Whenever I try to do certain things, for instance going fullscreen on a flash video, starting regnum online or open arena, it drops out of X into the command line with a few error messages (next time it crashes I'll post the messages). On occasion, it'll do that without any input. Now, there's a few major changes I've had on the desktop since yesterday, chiefly that I've been able to connect it to the net for the first time in a few months. Now because of this, I've been installing plenty of software from slackbuilds, plus flash from adobe (necessary evil). I'm using xfce with some compositing on a geforce Ti 4200 AGP 8x 64Mb with nvidia drivers installed and dual monitors, each now set to 1280x1024 and in twinview, pentium 4 2.8Ghz, 1 GB ram. HDD has a 70GB ext3 slack partition, triple booting with 80GB ext4 ubuntu lucid partition and 40GB ext4 mint isadora.
When I open a gtk app from the command line this error pops up:
Code:
Gtk: Unable to locate theme engine in module_path: "clearlooks", and I can not find clearlooks theme engine anywhere as it is supposed to be part of gtk by default?
I am very new to shell scripting.How does one pass a command-line parameter to a shell script?for the below program #/bin/bash mount -t cifs -o user=ramkannan,password=Linux123@ //10.200.1.125/ramkannan /MT cd /MT/test date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"` mysqldump -uroot -pram2@ employeedb > $date.sql gzip $date.sql
I want to pass parameter for everything,i tried in google and did but iam getting error while passing parameter to all
#/bin/bash mount -t cifs -o user=$1,password=$2 //10.200.1.125/ramkannan /MT cd /MT/test date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"` mysqldump -uroot -pram2@ employeedb > $date.sql gzip $date.sql
i was getting error while passing parameter to all.
I know I screwed up something. I was using Ubuntu 10 minutes ago without a hitch. Then I tried reducing the time I needed to select something in GRUB. So basically, I found this command:
[Code]...
I got it when I tried reducing the GRUB_TIMEOUT from the code above. I feel so furious now because I knew it was a bad idea to fix something that isn't broke. Can my Wubi install still be saved?
I'm attempting to use the output screenlet to always show the output of the "top" command. However, the screenlet will only display "TERM environment variable not set". Opening a terminal and running a "env | grep TERM" shows me that the variable is actually set, so I think that the screenlet may not be reading my environment correctly.