| |
| |
| |
|
Page: 1 2 3
Comments:
<0> time to get an ups tomorrow, power went down again today <1> huh <0> say 4 times within 1/2 year, starts to become irritating <1> mhm plug in the ups would be the 5th time :P <0> grin... <1> well we had 30sec outage in 7 years and one failed power supply ... <1> i dont buy a UPS <0> it's modem resetting to some fscked up state what cost most time, then there's different IP lease and just hardware failure <0> hmmkay <0> at one time I didn't pay bill, they (brutally) disconnected power 'the hard way', and reconnected, broke 1 pc and then some <0> but ok that's not related <0> I dunno perhaps just for fun they put a gazillion volts on there for some time just to have fun with me <0> for fun <0> tomorrow is computer fair here, free of charge <0> mate of mine won a competition last time, now he got free entrance tickets for 5 persons <0> :)
<2> the other one is mine (obviously) <3> Hello boys and girls. <3> I'm currently trying to extend vsFTPd so it can handle Virtual and Local users in the same setup and I'm hitting some limits, so I wanted to ask for some advice. <3> vsFTPd uses PAM for the authentication. The problem of course and probably the reason why it hasn't been done yet, is that the login process ..hmm.... <3> Anyways... I think it might be possible to add another pam file to the configuration. <3> One for local users, one for virtual users -- as vsFTPd doesn't ask for such profane things as the user's home directory -- the only thing vsftpd get's from pam is success or failure for the given user/p***word combination. <3> Now I was wondering if it's a good idea. <0> laters <3> Wow... I just looked at {pure,pro}-ftpd's configs only to discover that they **** and why I started out with vsFTPd in the first place. <4> nice way of judging good software <5> heh <3> "Well... that's just like.. your opinion... dude." <5> but expressing it is pleasure <6> vsftpd is good if you want to run a simple anon ftpd =) <5> :) <6> with few uploader users <7> How to colorize output ? <7> Now I print with printf, but I would like my characters to be green <7> for ex. <7> ;) <8> for exercise? <7> on gnu-linux environment <7> Auris: well, I actually thought it would be a good idea to put it in production <5> !s ansi codes <9> 1. http://www.bluesock.org/~willg/dev/ansi.html (ansi codes) <7> oh ok <10> ;] <10> !s Tobe's ircbot <9> Did not find anything. <10> :) <10> \0: you do not exist <7> Tobe: how this codes are related to programming ? <10> :) <7> I can't catch up, where do I put those ESC[#A <7> or whatever <5> I_v0, try printf("\033[1;33;44mHello\033[0m\n"); <7> gosh, ok <5> so \e or \033 for ESC <7> mhm <8> you put them under yer pillow and hope that color fairy comes and gives you green. <10> ;] <8> but the real trick is to get the color out of the pillow. <10> system("vidcontrol green black"); <10> ha <10> ! <10> I can't believe <5> amen <10> finn is joking:) <8> it's night, you're dreaming. <10> true, thx <8> sometimes people forget that. <5> keep dreaming.. <10> yes, elves, thank you <10> nah, some people are claiming that elves are bad, but I like elves, GO GO elves, go go make bigger fiords! <8> in pratchett's books elves are insects. <10> ohh, pratchetts is pop <10> for girlz <8> I'm for girls too. <10> real mens reads gaiman or smth:) <3> Yeah.. I like Elves as arrogant, grown, slim and stuff.. As in /me searches Demotivators <10> Auris: I know you ruska Russka;)
<8> still dreaming my friend. <10> of the fire in your eyes as you're staring at the sun! <11> halu <11> halooooooooooooooooooooo <12> Hi ... who could explain me what a command is? <12> the definition of command <12> in c <13> c doesn't have commands. <14> that was easy, hm? <12> yes <12> c has command <12> if ( condition) { command } <14> no <14> c has statements and expressions <12> ok what is the definition of statement? <14> it's about 20 pages of standard text <14> what you pasted is a "selection statement" (if), using an "expression" for the selection (condition), then using a "compound statement" ({}) including a "full expression" (command) <13> aye, section 6.8 is devoted to the various statement forms. <14> veke: if you only look at the syntax, its not so much really: http://pbot.rmdir.de/a04f13e4926fa973b8d2e6d643e8f2ad <15> moinn <0> hello <8> yo. <16> happy new year :) <8> ah, you nonstandard people. <15> hehe <17> Hi can i ask a question? <18> you just did :) <0> neeeeext! <17> I have some problems with running c code.I setup a map and removed the permission so logged in as diffrent user.When running the app gdb say 0x4006bb2 in vprintf() from /lib/libc.so.6. Now im wondering where the programmed crashed <18> a map? <0> 'directory' :) <17> yeah i put a file in a map and removed the permission <18> what's a map? <17> md /make directory? <17> I did on purpose for analyzing <15> trolling in here? <17> because i wonder when executing the something to that file isn't possible because it have no rights but now i wonder where it crashes <17> And didn't stop by fopen <17> but until with fprintf <0> did you check fopen() or whatever result? <18> sorry but i don't understand your english <17> michai yes i did with disas main <0> I mean <0> did you check return value in code <0> in CC <0> *in C <17> yes <17> under root 2 <17> michai, I just can't find out yet with gdb what part did run under gdb and what part didn't <17> while executing the code <0> step through it <17> and i don't know if the eip/esp address are the same when running under root and the other user <17> michai, But is it possible that the file was already accessed with fopen? <17> but failed when wanted to write something to it <15> copy your code to a pastebin <17> and leave my ip there hell no :D <0> go away <0> or make sense please <17> it's just a simple peace of code with FILE fopen fprintf and fclose <17> no need to past it.. <17> in fopen("/home/c/map/file.txt","w"); but i removed the rights in map with chmod what causes the error because when running it under root it works <15> read a unix introduction <17> for ? <15> for acquiring the necessary skills to understand your problem <17> hehe <17> I know what the problem is... I just wonder why the segmentation fault is in vprintf and not in fopen where it should because of the removed permissions <0> why would fopen segfault <19> ls -l /home/c/map/file.txt <8> augh. <17> because it has no rights to open it <8> psheudo, what is a segfault? <17> segmentation <0> riiiiight. <8> yes, what does it mean?
Return to
#c or Go to some related
logs:
#worldchat #worldchat #worldchat #c #worldchat #worldchat #worldchat #worldchat #worldchat #london
|
|