@# 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



Comments:

<0> nahh
<0> i have my own distro
<0> Agry-Linux
<0> l0000l
<0> ;D
<1> LFS >
<1> ?
<1> wow, good then
<0> hmm
<0> i`m joking..
<0> i`m lame
<0> ;]
<1> well, it can be considerably taken as an aim ;)
<0> Gaim 2
<0> nice :D
<1> it's official?



<0> yup
<1> i'll have a look at it right away then
<1> brb
<2> zubi
<3> making my own distro using LFS is not a big deal, but creating the installer is probably the biggest challenge
<4> Morning folks.
<4> Can anyone recommend a good tutorial for basic BASH programming and syntax? The one on TLDP is teh ****, and that's all that Google points to.
<5> sort of
<5> let me see if I have mne
<5> http://cancel.kicks-***.net/public/guest/howto/bash/
<5> look at the example there
<5> bash.html
<5> cron.html
<5> ftpwithbash.txt
<5> and the mysqldumpbash
<5> seeing real working scripts may help you
<4> Okay, I'll check that out. Thanks.
<4> MrAnderson: I'm getting a lot of 404s on that page.
<5> bash is mostlyl simple
<5> go to the top pages
<5> no 404s as thats a directory listing
<5> bash.html is just a command list
<5> dont click on the links
<5> I specificly told you to read cron.html ftpwithbash and mysqldump
<5> Soutane: also tell me what itis you are trying to do with bash
<4> MrAnderson: Specifically, I'm trying to store how many iptables rules I have with a drop command as a variable.
<4> The way I propose to do so is to run iptables -L and pipe the output to grep -c DROP.
<5> well your default policy should be drop to begin with
<5> which negates needing most drop rules to begin with
<4> It's the syntax that's bothering me. Where to put the $s, the 's, and the (s.
<4> Yeah . . . I'm specifically interested in how many drop rules are in the OUTPUT chain. I'm trying to prevent people on my home network from accessing things.
<4> My incoming policy is to drop everything by default.
<5> i'd not use bash for that
<5> I'd use a scripting language designed for that kind of interpolation like python or perl
<4> That's probably sage advice. The problem comes from the fact that I know neither python nor perl. But then again, I don't know bash either . . .
<5> good chance to learn
<5> as perl and python are real good at putting an output into an array
<5> then letting yous tep through each array
<4> Exactly. I think I shall occupy my afternoon therewith. Thanks for the suggestion.
<5> but let me do it your way
<5> hold on
<5> will see if it works
<5> yes youc an do it in bash
<4> I guess the real problem is that I don't know the syntax to store a two part piped command as a variable.
<4> The problem I'm ultimately trying to solve is that two people in this household (myself and Person B) know the root p***word. Person B is hogging the household bandwidth by constantly looking at teh pr0n, but he doesn't know I know that.
<5> maybe soemthing like DROP=(iptables -L OUTPUT |grep DROP | wc -l)
<5> then echo $DROP
<5> should give you the number of drop lines
<5> whats that to do with the root p***
<5> change the root p***
<4> He doesn't know that I keep putting iptables rules into effect that keep him from going to his favorite pr0n, but he has figured out somehow that if he types in iptables -F OUTPUT, teh pr0n magically reappears.
<5> if they need root give them sudouser access
<5> hahahah
<5> I dont even give my mamma root
<6> Soutane, there are many such addresses that you want to block?
<7> hey can i install a bootable linux using vmware in windows, so while i'm installing it i can still look up FAQs and web guides?
<5> you know you can do matches in iptables by uid
<5> RaZorro: yes
<5> as if there is unbootable linux
<4> The problem is, it's not my network. The person who pays the isp bills wants all of us to have root access.



<5> thats dumb
<8> I'll be leaving you guys now, back in a week or so. Have fun, stay safe, run Slackware. ;D
<4> Simpleguy: twenty or twenty-five.
<6> Soutane, are you ok with adding invalid routes to these ips?
<7> well i mean not just a vmware environment
<7> so when i can use it without vmware
<6> you can make a script to /sbin/route add host gw someinvalidhost
<5> Soutane: I just did it it worked
<5> whoever has all users sharing root on their box is silly
<4> No kidding. So the solution I want to enforce is, run a cron job every five minutes that looks at the number of iptables rules with DROP in them . . . if there aren't any, that means he's run iptables -F OUTPUT so I'll have the cron job reapply the rules.
<4> And suddenly iptables -F won't magically restore teh pr0n anymore.
<5> Soutane: why not just have the job put the rules back anyway
<5> Soutane: simpler then checking
<6> Soutane, what do you think about my idea?
<5> Soutane: flush the rules and reload the set every run
<5> you dont even need to check ifyou are going to apply the same rules
<4> Is that going to be a burden on cpu overhead and bandwidth?
<5> no
<5> its a cron job
<5> plain text
<5> heck I have a 400mhz iptables box for 100 pcs
<5> guess what the load is
<5> let me get it for you
<5> Load Averages 0.02 0.03 0.06
<5>
<5> lo 893.58 MB 893.58 MB 0/0
<5> eth0 3.22 GB 2.26 GB 0/0
<5> eth1 1.69 GB 2.76 GB
<5> and crond is running and chcking all the time anyway
<5> and how long does it take iptables script to run maybe .3 seconds
<5> so i'd not even bother checking as grep uses up more cycles then flushing th rules and reinstating them
<4> It actually takes my iptables script a few seconds . . . I think its because the dns server my isp inflicts us with is teh ****.
<4> But for simplicity's sake, I'll work that. It'll work, until Person B figures out that cancelling cron jobs brings back teh pr0n.
<5> why in the world do all users have root access to a system
<5> thats craziness
<6> Soutane, just add invalid routes to the ips in question
<6> quick fix
<9> hello
<5> hi Isaac-Lew
<5> thats not real good
<5> proxy
<5> real easy way around that
<5> but even proxied things have to go through the netfilter
<5> iptable best way
<7> so this is going to sound stupid but why is vmware askiing me for a serial key
<5> because you need one
<5> its how they track how many folks use it
<5> key is free
<5> follow the instructions on the site to get yours
<7> ok
<7> i just need the player not the vmware server right?
<5> well player just plays
<5> and server is free
<5> why skimp
<7> what's the difference?
<5> they have a site
<5> read it and come back and tell me the difference
<7> well it sounds cooler
<10> Will GRUB (i run ubuntu to) disappear if i do a clean new install of xp?
<5> yes
<5> windows overwrites the mbr
<5> just reinstall grub after you're done
<5> or if you do not need to really dual boot run windows ina virtual machine
<4> Make sure you keep a grub boot disk though, otherwise you will have no way of getting back into linux to reinstall grub.
<5> sure you do
<5> your distro install disk should be able to do that
<5> if not yoru distro ****s
<4> Um . . .
<4> Besides that, I mean.
<5> also a knoppix cd will work
<5> well everyone should havea knoppix disc anyway
<5> knoppix good for so many things
<5> grub, lvm, gparted, etc


Name:

Comments:

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






Return to #linux
or
Go to some related logs:

call girl RM300
abhishek ki maal
#linux
#linux
http://*.*@www.brazilbang.com
sanami kaldim ben
#allnitecafe
#photoshop
#chat-world
#india



Home  |  disclaimer  |  contact  |  submit quotes