@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38



Comments:

<0> A Content-Length from me or from the web-server?
<1> merlyn, JavaDog: http://www.checkupdown.com/status/E411.html
<2> you should ask the operator of the proxy about why they are sending that
<1> JavaDog, A Content-Length from the server, because you don't know what the content-length is, when you're requesting the page
<1> merlyn: probably not
<2> "probably not" what?
<1> JavaDog, merlyn, If you get an empty page without the proxy, and you get this error when you do use a proxy
<1> JavaDog, merlyn, then it probably means that the page is sending nothing at all, and the proxy does want a Content-Length, doesn't get one, and sends the error
<1> JavaDog, merlyn, sounds pretty logical to me
<2> you can't send "nothing at all"
<2> that's not a response
<1> merlyn, Yes you can
<1> merlyn, Well
<2> the shortest you can send is a 204 status "no content"
<1> JavaDog, You should telnet it, try to GET the page, and wait for the contents
<2> anything shorter than that is a broken transaction



<3> hwo woudl I go about using perl to write script that could log into mulitipule systems to change you /etc/shadow hash??
<1> If there aren't any, or there is no Content-Length header, you've got your answer
<4> i'm gonna try recompiling some stuff here
<1> Pegger: You don't want to change /etc/shadow.
<2> But no content-length is not an error
<0> I know that it returns the whole page if I'm not going via proxy
<2> closing the connection also qualifies
<3> dazjorz, yes I do
<1> Pegger: But if you really do, use Net::SSH to login, then use some method to execute a command that changes the file.
<2> perhaps he's trying to use a broken proxy
<5> what's the vi shadow command?
<2> in which case, I wonder why the proxy.
<5> i know there is visudo
<1> merlyn: Yea, but his proxy apparantly wants one
<2> his proxy is broken if it doesn't follow the spec
<3> dazjorz, yaha but how do I make it so that I only change only certain user;s hashes, and not otheres
<2> so he should not use that one
<6> anyone here handy with Module::Build? I've been using it for awhile and need to have it install a script and do the usual pod2man that ExtUtils::MakeMaker usually does... but it doesn't seem to support it. Is there a known workaround I've missed?
<2> again - asking the owner of the proxy would clear this up
<1> Pegger: I don't know how /etc/shadow works, I just know I shouldn't mess with it. Probably the thing you want instead is useradd, usermod or userdel.
<5> or p***wd
<1> Pegger: What JoshNarins said.
<3> please I dont need your political views
<7> huh?
<2> what political views?
<5> I think you need my political views, now.
<5> :)
<6> LOL!
<8> GumbyBRAIN: I like Ike!
<9> While i like my coffee like i was in.
<0> Lol, /etc/shadow is really political.
<3> I just want to knwo how I can use perl to say edit the text that is between the second and third :
<2> use a toold
<2> tool
<2> don't use Perl directly
<10> err sequitur. damn vowels
<2> for one, you have to lock the file
<1> eval: my $domain = "dazjorz.com"; print scalar split /\./, $domain;
<11> dazjorz: 2Return: 1
<2> so that nobody else stomps on your action
<1> :)
<10> ***uming 'p***wd' and other commands even honor said lock
<2> well - I'm ***uming everything supplied by the system uses the lock
<2> that's why you should use the systems
<2> thrig - you're likley to break somethign that way
<3> I am not really wooried about a lock people do not edit it enough to bother locking it
<10> nope, I run all my systems that way
<2> so Pegger - you're just talking about basic file editing then
<2> thrig - remind me never to work where you do, or let you be a sysadm on my machines.
<0> haha
<10> there's a lot of places you cannot work, then
<2> they have a saying "there are those that HAVE been burned by forgetting locking, and those that WILL beburned"
<2> you're just in the second category
<6> heh
<10> as they run CFEngine, and CFEngine uses the rename() method
<2> I hope I'm not around when it happens.
<3> merlyn, then how should go about my basic editing
<2> Pegger - I can recommend a good book
<2> or two



<8> erm, locking is advisory ..
<3> merlyn, just some good tools
<2> infi - that's completely confusing
<8> all tools have to agree on the locking method for it to work.
<2> right
<2> and there's a standard for editing shadwo
<2> and all the tools that edit it, use it
<2> and if you break that, you can break things
<8> hmm, I haven't looked into which of the 3 methods they use :)
<2> exactly - and you shouldn't NEED to know
<8> go flock/lockf/fcntl!
<2> because you should go in through the tools
<10> let's see... amd.com uses the rename() method
<12> Hello, merlyn.
<8> good point.
<1> Damn, PHPMyAdmin is empty.
<8> agreed. I thought you were arguing something else, n/m.
<12> rofl
<6> thrig: just because other people are stupid doesn't mean you have to be ;)
<12> gumbybrain: where is tag?
<9> Movie is showing at a time; the default is to do such a meta tag.
<1> o.o
<12> -_-
<5> Yeah, but don't be SOOOO much smarter that they want to string you up, at least not in public :)
<10> ides: what is stupid about rename() ?
<2> thrig - how does it protect against two nearly simultaneous edits?
<1> Armin van Buuren!
<2> you'll lose one
<10> last edit wins
<6> thrig: if another tool is editing it, you get burned
<2> and yet - locking is easily available
<10> no, the configuration policy wins, like it should
<2> so anyoen who doesn't use EASILY AVAILABLE locking is an idiot
<6> thrig: huh? The configuration policy? Is that a CFEngine thing?
<1> eval: print a..z
<10> anyone monkeying with configuration files as root deserves to be burned (and then fired)
<11> dazjorz: abcdefghijklmnopqrstuvwxyzReturn: 1
<13> good evening.
<2> Ahh - you're talking about "no local changes"
<2> that's different
<2> but that's not how most people run their boxes
<5> thrig: only root can adjust /etc/shadow
<1> eval: @letters = (a..z, A..Z); print @letters[1 23 13]
<11> dazjorz: Error: syntax error at (eval 125) line 1, near "1 23" Number found where operator expected at (eval 125) line 1, near "1 23" (Missing operator before 23?) Number found where operator expe
<1> eval: @letters = (a..z, A..Z); print @letters[qw(1 23 13)];
<11> dazjorz: bxnReturn: 1
<1> eval: @letters = (0, a..z, A..Z); print @letters[qw(1 23 13)];
<11> dazjorz: awmReturn: 1
<10> then you decide to wise up, lock the file, and corrupt it when the system dies. Whoops. Not a problem with atomic rename(). Hence, cfengine (and all my tools) use rename()
<1> eval: @letters = (0, a..z, A..Z); print @letters[qw(1 28 13)];
<11> dazjorz: aBmReturn: 1
<1> ****.
<1> eval: @letters = (0, a..z, A..Z); print @letters[qw(1 18 13)];
<11> dazjorz: arm Return: 1
<13> thrig: umm, what's wrong with lock *and* rename.
<14> excuse me wtf r u doin
<2> thrig - that's possible when there's one source of truth
<5> what's the matter with messaging the bot/
<5> ?
<13> mauke: "Excuse me, sir, but what the **** do you think you are doing?"
<1> eval: @letters = (0, a..z, A..Z); print @letters[qw(1 18 13 9 14)], " Van Buuren!!!";
<11> dazjorz: armin Van Buuren!!!Return: 1
<7> dazjorz: get acquainted with perl -lwe'' plzkthx
<2> locking takes care of local edits when multiple truths can exist
<1> Right.
<1> Sorry, b0at, I was bored
<2> so you and I are arguing about different things
<2> if you can make local edits, and it's not a "push" system, then you NEED to lock.
<2> rename won't cut it.
<13> these "local edits" obey posix advisory locking?
<10> "push" systems?
<2> a system where there's a central database pushed to machines
<10> don't use that... sounds dangerous


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

gheko browser
#centos
mc bz2 permission denied
xmms-mad suse
fedora olvwm
perlcc decompile -manpage -perlcompile
ubuntu elinks enable javascript
nt_status_access_denied opensuse
_modinst_post killed
#python



Home  |  disclaimer  |  contact  |  submit quotes