Re: sed with several lines, how?

2010-11-27 Thread Arthur Bela
^SOMETEXT" {if (($0 ~/SOMETEXT/ ) && (sawpattern == 0)) {sawpattern=1} else {sawpattern=0;print $0}}' testfile.txt alsjflsajfkljasdf asfklasjlkyxcvo kldfjlkasjdfasdf kasfjxcvklajdflas yxcvkjasafjads asdfjkldjlasj uiyxzckjhasfsd $ On 27 November 2010 12:39, Arthur Bela wrote: >

sed with several lines, how?

2010-11-27 Thread Arthur Bela
hyphen's [ - ] are just for marking the start/end of a pattern, but there are _not in_ the pattern! "OUTPUT" is what i want after "seding" the PATTERN#X's so i for e.g.: need the first, and second "magic" sed "FIRSTMAGIC" PATTERN#1 sed "SECONDMAGIC" PATTERN#2 PATTERN#1: -

Re: run program with another user how?

2010-11-25 Thread Arthur Bela
gksu -u mm5-user -l -d -w xcalc it worked!!! thank you!! On 25 November 2010 19:17, Camaleón wrote: > On Thu, 25 Nov 2010 17:52:23 +0100, Arthur Bela wrote: > > >> On 25 November 2010 16:59, Camaleón wrote: > > (...) > >>> gksu -u user -l -d xcalc > >

Re: run program with another user how?

2010-11-25 Thread Arthur Bela
: -GNOME_SUDO_PASS- brute force GNOME_SUDO_PASS ended... Yeah, we're in... xauth: /tmp/libgksu-8oLjeq/.Xauthority xauth_env: /var/run/gdm/auth-for-gbor-Gb8eBC/database dir: /tmp/libgksu-8oLjeq $ On 25 November 2010 16:59, Camaleón wrote: > On Thu, 25 Nov 2010 15:06:08 +0100, Arthur Bela wrote: &g

Re: run program with another user how?

2010-11-25 Thread Arthur Bela
When i log in with the ANOTHERUSER, and start the app, it works. http://pastebin.com/raw.php?i=v00dEEtF when i log in with USER, i can't even start xcalc with gksu, so the problem is not with wine, or the program On 25 November 2010 11:52, Michal wrote: > On 25/11/10 10:51, Arthur Be

Re: question regarding SSL

2010-11-25 Thread Arthur Bela
, i'm visiting https://THISSITE.COM, and it can't see, that I visit https://THISSITE.COM/SOMELINK.html Thank you! On 25 November 2010 12:01, Camaleón wrote: > On Wed, 24 Nov 2010 22:45:59 +0100, Arthur Bela wrote: > >> If i use https, then my connection "is safe",

Re: question regarding SSL

2010-11-25 Thread Arthur Bela
Thank you for the answer! On 25 November 2010 00:50, Celejar wrote: > On Wed, 24 Nov 2010 22:45:59 +0100 > Arthur Bela wrote: > >> If i use https, then my connection "is safe", ok. >> >> I just want to know, that can someone see that what link i'm exact

run program with another user how?

2010-11-25 Thread Arthur Bela
I want to use an application with wine, but not with the user logged in -> with another user [it would be a """chroot""" ~like "thing" :D - because i don't trust the app...]: i set the permissions: chmod 705 -R ANOTHERUSER/ gksu -u ANOTHERUSER xcalc it asks for a password, i type in the correct

question regarding SSL

2010-11-24 Thread Arthur Bela
If i use https, then my connection "is safe", ok. I just want to know, that can someone see that what link i'm exactly visiting? I mean, it can only see, that i'm visiting THISSITE.COM, or it can see THISSITE.COM/SOMELINK.html ? thank you for any info, link :\ -- To UNSUBSCRIBE, email to debi

"need a quick hashing method"

2010-11-22 Thread Arthur Bela
HDD#1 HDD#2 I copy files between HDD#1 and HDD#2. When i finish, i need a quick "hasing method" - i just want to check, that the copy was 100% ok. md5sum, sha256sum is slow -> are there any "very fast" hash algoritms? - just for checking if the copied file is corrupt or not [i just need to know,

Re: what to use besides selinux?

2010-11-21 Thread Arthur Bela
just a normal desktop. [no server function on it]. on a plain notebook. On 21 November 2010 14:23, Camaleón wrote: > On Sun, 21 Nov 2010 11:27:09 +0100, Arthur Bela wrote: > >> I >> >> apt-get install selinux >> >> Ok. Reboot. So I'm better pro

how to kill a process that is "defunct"?

2010-11-21 Thread Arthur Bela
I tried to: kill -9 3341 but it's still there, and it's using 100% cpu :\ I only tried to download a few linux iso's, so i can seed them back a couple of times [about ~20 at a time :O ] but transmission just freezez I tried to log out, and log in, when i log back, it's still there :O only when

what to use besides selinux?

2010-11-21 Thread Arthur Bela
I apt-get install selinux Ok. Reboot. So I'm better protected now, or i have to set a few things? I read that selinux is good for post-exploitation situations. What do i have to google to search for solutions protecting me "before-exploitations"? *exploitations ~ intrusions, penetrations, sry4

encrypt file names zip

2010-11-19 Thread Arthur Bela
i can recursively zip a folder with password with: zip -re some-folder.zip some-folder/ but how can i "encrypt" the filenames in the zip file? cause i can see them, i just only can't extract them! or there isn't any way? 7-zip under windows can do it :O ubuntu 10.10 Thank you for any answer!

how to generate pi in c

2010-11-05 Thread Arthur Bela
Does anyone has a "generate-pi.c" source code? Thanks.. :D :\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktinw53os6zrdwmnyvmx6mo5fwf_jetvdw4l9g...@mail.gmai