Something strange is happening - could I have been hacked ?
Dear List I hope somebody could shed a little light on a problem. I have installed Suse 7.1 on my system. I use KDE as my desktop. I browse the internet regularly using a mix of netscape and Konq. Last night I decided to surf the net. I clicked on the dial up networking icon to connect to my internet provider. Usually this is a quick process a connection is made and I fire up the browser. But in this instance a log of the attempted dial up was shown with the message could'nt log on probable wrong password. I only have this one connection and I am the only one using the machine. I have not changed the password or the connection settings for a very long time. I decided then to use YAST 1 to check my network settings. To my horror when I select ppp network from the YAST menu, YAST crashed. Golly I haven't a clue what to do now. From the command line I type wvdial and fail to get a connection as a result of a possible password error. So the questions are:- How could the password have changed ? What files do I need to check for my internet connection to work ? What can I do to get YAST1 working again so that I can check the connection ? Thanks in advance Neil
I know this is a dumb question, but have you checked with your ISP yet? Mine sent out a notice about some problems and changed passwords, but I missed the notice. I know some one that have problems with YAST crashing whey he was trying to set up a dial in and found a fix at SUSE. -- -------------------------------------------------------------- Registered Linux User #169330 ( http://counter.li.org ) Pure Linux (SUSE) User GnuPGP key available on request GnuPGP Fingerprint AF36 E256 D9DA 8CB2 64DD 199B 9373 F605 1314 083B On Mon, 17 Sep 2001, neil briggs wrote:
Dear List
I hope somebody could shed a little light on a problem.
I have installed Suse 7.1 on my system. I use KDE as my desktop. I browse the internet regularly using a mix of netscape and Konq.
Last night I decided to surf the net. I clicked on the dial up networking icon to connect to my internet provider. Usually this is a quick process a connection is made and I fire up the browser.
But in this instance a log of the attempted dial up was shown with the message could'nt log on probable wrong password.
I only have this one connection and I am the only one using the machine. I have not changed the password or the connection settings for a very long time.
I decided then to use YAST 1 to check my network settings. To my horror when I select ppp network from the YAST menu, YAST crashed. Golly I haven't a clue what to do now. From the command line I type wvdial and fail to get a connection as a result of a possible password error.
So the questions are:-
How could the password have changed ? What files do I need to check for my internet connection to work ? What can I do to get YAST1 working again so that I can check the connection ?
Thanks in advance Neil
But in this instance a log of the attempted dial up was shown with the message could'nt log on probable wrong password.
I only have this one connection and I am the only one using the machine. I have not changed the password or the connection settings for a very long time.
I decided then to use YAST 1 to check my network settings. To my horror when I select ppp network from the YAST menu, YAST crashed. Golly I haven't a clue what to do now. From the command line I type wvdial and fail to get a connection as a result of a possible password error.
So the questions are:-
How could the password have changed ? What files do I need to check for my internet connection to work ? What can I do to get YAST1 working again so that I can check the connection ?
There is no need of yast if you are using wvdial. Just edit /etc/wvdial.conf and check the password. Btw it looks like an ISP problem. Tazio.-)
hi guys.. is there any way to automate the sftp transfer by a script ? I can't pass to the sftp program the user password by a script !! thanks bye
Have you tried using RSA/DSA based authentication?
Jeffrey
Quoting Linux - User
hi guys.. is there any way to automate the sftp transfer by a script ?
I can't pass to the sftp program the user password by a script !!
thanks
bye
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
you need to use an expect script. what you would do is create two scripts, (I would use scp rather than sftp) and have the expect script call the first script that actually copies the files. example expect script ----------------------------- #!/usr/bin/expect spawn /path/to/first/script expect "password:" send "yourpassword\n" expect eof ------------------------------ other script (the one that actually copies file) ------------------------------ #!/bin/bash scp filestocopy user@server.domain.com:/home/user ------------------------------
This is great... I'm going to be using this in a few weeks. One thing worries me: is it possible to hide the password in the script file so that no one can see it, although it still runs without user input? I ask because there is more than one root user on this machine. On 17 Sep 2001, dog@intop.net wrote:
you need to use an expect script. what you would do is create two scripts, (I would use scp rather than sftp) and have the expect script call the first script that actually copies the files.
example
expect script ----------------------------- #!/usr/bin/expect spawn /path/to/first/script expect "password:" send "yourpassword\n" expect eof ------------------------------ other script (the one that actually copies file) ------------------------------ #!/bin/bash scp filestocopy user@server.domain.com:/home/user -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
well sure, chmod 700 it and then noone but the owner of the file (and root) can read it. and so what if the root user sees it, heck they have access to your account anyway. On Tue, 18 Sep 2001 notfound@mundo-r.com wrote:
Hello.
thing worries me: is it possible to hide the password in the script file so that no one can see it, although it still runs without user input?
And what about evaluate the Lotto winner numbers ;)
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Thanks to all who responded, including
well sure, chmod 700 it and then noone but the owner of the file (and root) can read it. and so what if the root user sees it, heck they have access to your account anyway.
thing worries me: is it possible to hide the password in the script file so that no one can see it, although it still runs without user input? -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
At 09:37 AM 9/17/2001 -0600, you wrote:
hi guys.. is there any way to automate the sftp transfer by a script ?
I can't pass to the sftp program the user password by a script !!
thanks
bye
man ssh-keygen And then use scp, not sftp, for scripting. Also have a look at autoexpect ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
participants (9)
-
Dennis James
-
dog@intop.net
-
Jeffrey Taylor
-
JW
-
Karol Pietrzak
-
Linux - User
-
neil briggs
-
notfound@mundo-r.com
-
Praise