Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!



New Mayhem Malware Targets Linux and UNIX-Like Servers

rduke15 Re:Derp (168 comments)

For Europe at least, you can get RIPE IP blocks from their web site or through their RIPEstat Text Service. I use it for one of my servers to get daily lists for one country, and feed it to ipset. Maybe others like ARIN etc. also publish lists? Or you can get GeoIP databases. Or you could try a (Perl) module like IP::Country?

about a month ago

Study: Global Warming Solvable If Fossil Fuel Subsidies Given To Clean Energy

rduke15 Subsidies and lobbying (385 comments)

Maybe it could theoretically work (or maybe not), but it's irrelevant because almost impossible to do.

The problem is: how do you take away money (subsidies) from those who have a lot of it (partly precisely from subsidies)?

They can spend a lot for lobbying and public relations in general. The industries which would need to receive these subsidies don't have comparable means for their campaigns, and in part these industries don't even exist yet, because the money is lacking to develop them.

In social movements, many poor can force a few rich to pay more.

But industries are different. How do a few poor convince that the money of many very rich industries (which also feed many workers) should go to them?

about 2 months ago

Industrial Control System Firms In Dragonfly Attack Identified

rduke15 Why can't the Swiss company be named? (24 comments)

So the Belgian and German companies can be named, but not the Swiss one? That seems strange.

about 2 months ago

Microsoft Takes Down Domains

rduke15 Re:How about a home brew dynamic DNS system? (495 comments)

If you already have a server with a static IP, it's pretty easy to configure bind to accept dynamic updates. See for example Set up your own Dynamic DNS.

I set it up like that, and have short scripts on my Linux and Mac notebooks to do the updates when the network comes up. On Linux, it's a short script in /etc/network/if-up.d/. On Mac, it's a script called by a LaunchDeaemon (a .plist file in /Library/LaunchDaemons).

about 2 months ago

Long-Lasting Enzyme Chews Up Cocaine

rduke15 Re:Daily lethal doses (73 comments)

Yes, "daily lethal doses" is really weird. The problem with cocaine is not lethal doses (that's a problem with heroin). It's that the people addicted to cocaine end up completely crazy after a few years. The effect on the brain can be fun, but in the long run it is really destructive.

about 2 months ago

Perl Is Undead

rduke15 Proof (with silly statistics) ... (283 comments)

Is it dead? Well, some quick scripting can tell us the truth, using Bash and of course Perl.

On my Ubuntu notebook and main machine:

sudo find /etc /bin /sbin /usr/bin /usr/sbin -type f -executable -exec file -b "{}" \; \
| perl -MData::Dumper -nle '
        next unless /script/;
        if ( /(shell|python|ruby|perl|bash)/i ) {
        else {
            warn "Other: $_\n"
        END {
            print Dumper(\%types);


Other: a /usr/bin/make -f script, ASCII text executable
Other: a nickle script, UTF-8 Unicode text executable
Other: awk script, ASCII text executable
$VAR1 = {
                    'perl' => 283,
                    'python' => 104,
                    'bash' => 1,
                    'Ruby' => 3,
                    'ruby' => 9,
                    'shell' => 602

On a server:

Other: a /bin/dash script, ASCII text executable
$VAR1 = {
                    'Python' => 36,
                    'Perl' => 139,
                    'shell' => 267

Looks very much alive. Unless of course, Perl realized what it was calculating and cheated and made it's own numbers up on the fly...

about 2 months ago

'Godfather of Ecstasy,' Chemist Sasha Shulgin Dies Aged 88

rduke15 But LSD must be better (164 comments)

Because it's inventor died 14 years older at 102. :-)

And seriously, the one time I tried ecstasy, I didn't like that it seemed to interfere with my emotions.

LSD modifies percepetions and paths of thought, which can be a fantastic experience (or just great fun) if you are in the right mood for it, but I don't remember it ever modifying my emotions.

Ecstasy gave me the impression of creating out of proportion artificial emotions in me. After the fact, I really didn't like that aspect. No wonder it was all the rage during the years of techno music. I guess people dancing to that cold techno music really needed something to still feel human.

But anyway, peace to "Godfather of Ecstasy" and all chemists experimenting with psychoactive drugs. When used right, these all give valuable experiences.

about 3 months ago

Heartbleed Bug Exploited Over Extensible Authentication Protocol

rduke15 Anything interesting for a script kiddie? (44 comments)

That is all very interesting, but all I want to know is how I can use this to get a ride on my neighbours' WiFi...

about 3 months ago

Ask Slashdot: Taking a New Tack On Net Neutrality?

rduke15 Start looking for another job? (185 comments)

You could waste many hours calculating how much it would cost (equipment, maintenance, support calls, unsatisfied customers, risk of legal actions, etc.). After spending a lot of time on this, you could most probably demonstrate it's a bad business idea.

But why bother? I'm sure you have more interesting things to do than writing a memo to explain in detail why a stupid idea is stupid.

It is also pretty obviously a bad idea from an "ethical" point of view. You don't have to spend hours doing boring research to explain that. You can just explain it.

Maybe most of the board will understand it straight away (if they didn't already when one of them suggested it). If not, then you don't want to work for these people.

So after explaining to them why you think it is a bad idea, just say you will not help implement it because you feel it's not ethically acceptable. If most of the board people are smart, they will appreciate your clear point of view. If not, they will show you the door, and you will be grateful for being forced to leave these idiots.

Could it be that a single idiot on the board came up with the idea, and that the rest of the board didn't want to discuss it and just asked you to "write a memo" to get rid of the subject?

about 3 months ago

Which desktop environment do you like the best?

rduke15 Who tried most of them? (611 comments)

I selected "other", because I can't compare what I have now (Unity) to the others. For the others, I have either not tried them at all, or a long time ago so they may be very different now, or not long enough to have an opinion. For example, Knoppix has some desktop which is neither KDE nor Gnome. But I only needed that Knoppix disk a couple of times, so cannot have an opinion.

But I tend to mostly use a file manager, and applications. So the Desktop environment doesn't matter so much. Windows always have minimize/maximize/close buttons. I don't care much if they are on the left or on the right side of the title bar.

I use Midnight Commander a lot in Terminal. (And on Windows, Total Commander of course).

In Ubuntu, I use Krusader a lot. I don't like it, but it's what comes closest to Total Commander (all the others are just lacking too many features).

I have tried most file managers, but if someone has tried many desktop environments and has a comparison, that would probably interesting. Especially since I need to replace my Ubuntu 12.04 laptop, and have to decide if the next one will still be Ubuntu, or Mint, or plain Debian or something else, and then decide which Desktop environment I want with that.

about 3 months ago

Perl 5.20 Released, and Mojolicious 5.0: the Very Modern Perl Web Framework

rduke15 Mod parent up (126 comments)

Someone please mod parent up...

about 3 months ago

Brazil Approves Internet Bill of Rights

rduke15 Re:The Republicans here... (132 comments)

I have actually read that "Director's Rules" pdf, and dont' see how it would prevent equipment upgrades to allow faster Internet.

What I see in the pdf, is that working on or installing equipment on public property requires a permit, and it lists what documents must be provided to get the permit (like a plan with street names, etc).

I sure hope every city in the world has similar rules. What is the problem? What did I miss? And what do republicans have to do with that? Aren't they against any rules other than those of The Market?

about 4 months ago

Mr. Schmidt Goes To Washington: A Look Inside Google's Lobbying Behemoth

rduke15 Re:Google was never (128 comments)

Indeed, it started as a two men shop at least, and definitely more than 9 years ago.

about 4 months ago

An SSD for Your Current Computer May Save the Cost of a New One (Video)

rduke15 OWC? (353 comments)

They may have fine SSDs, but the ones I bought to add to 2 mac minis were ridiculously slow for SSDs. Around 80 MBps read/write according to BlackMagic's disk speed test. Not faster than the original normal drive that came with the machines. In one of the Mac minis, I replaced the OWC with a Samsung, and it's much faster (I forgot how much, but certainly over 120 MBps).

So in conclusion, yes, SSD may improve performance, but only if they are fast SSDs. Some aren't and won't make a big difference. (and when they fail, they tend to do so without warning and completely, so be sure to always have backups).

about 5 months ago

Ask Slashdot: How Do You Manage Your Passwords?

rduke15 Re:plain short scripts (445 comments)

Thanks, but that is actually not the same. Your single line does an "OR" with the searches. I use multiple greps to achieve "AND". ("search1.*search2" would not work either, failing to find them in a different order like in "...search2 ... search1").

about 6 months ago

Ask Slashdot: How Do You Manage Your Passwords?

rduke15 plain short scripts (445 comments)

plain text file in a Truecrypt volume, and little scripts to query/add to the file. It used to be batch scripts when I used Windows. Now I use bash in Linux, which should also work on Mac. The "t" script is to mount the Truecrypt volume if needed.

$ cat `which p`
[ -d /media/truecrypt1 ] || t on

# accept up to 3 arguments, and filter on all 3
if [ -z "$2" ]; then
        grep -ni "$1" /media/truecrypt1/p
        grep -ni "$1" /media/truecrypt1/p | grep -i "$2" | grep -i "$3"

$ cat `which padd`
[ -d /media/truecrypt1 ] || t on
echo `date +%F` " $@" >>/media/truecrypt1/p

about 6 months ago

FLOSS Codecs Emerge Victorious In Wikimedia Vote

rduke15 Re:so what free codec can/should I use? (235 comments)

You are obviously not one of the people who needs to work with these videos, but I'm still interested in learning which "21st century cross platform container format" you would recommend, that anyone and their uncle is able to open (without calling me on the phone first).

I don't like QT much either, but what else can play back ProRes and H264, move frame-by-frame (including backwards), and display timecode and frame numbers?

about 6 months ago

FLOSS Codecs Emerge Victorious In Wikimedia Vote

rduke15 so what free codec can/should I use? (235 comments)

My question is unrelated to wikimedia, but this seems like the right place to discuss the alternatives to h264/mp4.

I often have to encode videos to send to a few people. Most are computer-illiterate, and it needs to "just work". So I use H264 in Quicktime .mov, because most users have Macs, and those who have Windows definitely have Quicktime installed. I guess .m4v might also work as a container, except it doesn't have a timecode track.

But for the codec, is there a realistic alternative to H264 today? A format which can fit a feature-length HD movie in high quality in a file under 4GB so that it fits on any USB stick including FAT32, and that anyone can read?

about 6 months ago

Debian Technical Committee Votes For Systemd Over Upstart

rduke15 Re:I see a lot of discussion about systemd (379 comments)

You are thinking server. Linux is also about the desktop.

Are you kidding?

How many servers run Linux?
How many Desktops?
Who cares about Linux (who is the "audience" for Linux)?

My main machine is actually a Linux notebook. It's a pretty miserable desktop, but it's OK for what I do, and I have the comfort of a real shell, and real keyboard with all the keys, and can try out sonme server stuff on my notebook. But I could replace it with a Mac or Windows notebook if necessary.

Where I really care about Linux is on servers. Headless servers, with neither Gnome nor KDE installed.

Until now, I heard that systemd would boot faster. Maybe it has some other benefits for servers, but boot spped is certainly not one of them. The servers spend much more time in the BIOS screens than booting the OS, and they reboot about once a year or less. So to convince me, it will need much more than a few seconds of boot speed...

about 7 months ago



Central anti-virus for small business

rduke15 rduke15 writes  |  more than 5 years ago

rduke15 writes "I'm trying to find a centrally managed anti-virus solution for a small business network, and was wondering what others may be using in similar situations, and how satisfied they are with it. In my case, it's a small network of around 20 Windows XP machines with a Linux server. It is too big to manage each client manually. However, there is no no full-time IT person on site, and no Windows Active Directory server (just Linux with Samba). And the current solution with Symantec Endpoint Protection seems too expensive, and too complex for such a simple need. On the Linux server side, email is handled by amavisd and ClamAV. But the WinXP clients still need a real-time anti-virus for the USB disks they may bring to work, or stuff they download from their personal webmail or other sites. Certainly many of you had the same problem, and now have opinions on the solutions you used."

Documenting server hard disks

rduke15 rduke15 writes  |  more than 5 years ago

rduke15 writes "I manage small Linux servers in small businesses. They have various disks, partitions, shares, automounts, etc. Since they tend to not require a lot of maintenance, when time comes to change something, it is hard to remember where everything is, and how it all fits together. So I have to spend time with the output of /proc/partitions, fdisk -l, mount, Samba's testparm, the content of the /etc/auto.* files, etc. until I get a clear idea of the infrastructure.

I was thinking of writing a script which would summarize all this information into a clear page, probably in HTML. But maybe others have already done such scripts? Or they are integrated into some other tool I don't know? How do others deal with quickly getting to know a system, particularly it's disks and partitions?"


rduke15 has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>