Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Correct link for buying the book (Score 4, Informative) 83

Hi all -- I submitted this review, but it looks like something ate the link for the book. Here's where to buy it:

I believe the Amazon link gives the author a few more shekels, but he makes the most money from the first link; details from his website's page on this book.

Comment Re:Chromecast (Score 1) 104

The main advantage of Chromecast for app developers is that it's very lightweight - a thin HTML client which is only responsible for streaming because the UI for authentication, account management, content browsing etc. is somewhere else. It's relatively cheap to support and relatively simple to integrate into existing Android / iOS players they may have. It's also not unreasonable to suppose most people have a smart phone or tablet they could use in conjunction with it and the device itself is very cheap.

But I agree that it is more fiddly. A box and remote is a simpler and more familiar arrangement. People don't have trouble visualizing how it works so its easier to demo in stores and easier to sell to the uninitiated. I bet a lot of people are confused as to what Chromecast even *is*. The downside is it will cost more, the apps will take more effort to implement and support, and I suspect many people are already capable of receiving most stream services with an existing device.

What's this new box going to do that their old ones don't? I think Amazon needs to build out cloud gaming and other functionality if it wants to separate itself from the herd.

Comment Re: Roku has Amazon Video Channel already, so why? (Score 1) 104

Amazon is just trying to build itself a walled garden (like Apple) and its a bit hard to do if they let every one in. So they cut access to some of their services to the outside world to give people a reason to buy their device. I question why anyone would be mad enough to bother though. From a hardware perspective their devices are all right but the software is just poor by comparison to standard android and the app store is more expensive and features less apps.

Submission + - Book Review: "Sudo Mastery: User Access Control for Real People" (tiltedwindmillpress.com)

Saint Aardvark writes: Disclaimer: I got a free copy of this book because I was a technical reviewer for it. Disclaimer to the disclaimer: I totally would have paid for this book anyway. Final disclaimer: a shorter version of this review appeared on Amazon.com.

If you're a Unix or Linux sysadmin, you know sudo: it's that command that lets you run single commands as root from your own account, rather than logging in as root. And if you're like me, here's what you know about configuring sudo:
  1. Run sudoedit and uncomment the line that says "%wheel ALL=(ALL) ALL".
  2. Make sure you're in the wheel group.
  3. Profit!

Okay, so you can now run any command as root. Awesome! But not everyone is as careful as you are (or at least, as you like to think you are). If you're a sysadmin, you need to stop people from shooting themselves in the foot. (Might also want to stop yourself from self-inflicted gunshot wounds.) There should be some way of restricting use, right? Just gotta check out the man page.... And that's where I stopped, every time. I've yet to truly understand Extended Backus-Naur Form (sue me), and my eyes would glaze over. And so I'd go back to putting some small number of people in the "wheel" group, and letting them run sudo, and cleaning up the occasional mess afterward.

Fortunately, Michael W. Lucas has written "Sudo Mastery: User Access Control for Real People". If his name sounds familiar, there's a reason for that: he's been cranking out excellent technical books for a long time, on everything from FreeBSD to Cisco routers to DNSSEC. He just, like, does this: he takes deep, involved subjects that you don't even know you need to know more about, and he makes them understandable. It's a good trick, and we're lucky he's turned his attention to sudo.

The book clocks in at 144 pages (print version), and it's packed with information from start to finish. Lucas starts with the why and how of sudo, explaining why you need to know it and how sudo protects you. He moves on to the syntax; it's kind of a bear at first, but Chapter 2, "sudo and sudoers", takes care of that nicely. Have you locked yourself out of sudo with a poor edit? I have; I've even managed to do it on many machines, all at once, by distributing that edit with CFEngine. Lucas covers this in Chapter 3, "Editing and Testing Sudoers", a chapter that would have saved my butt. By the time you've added a few entries, you're probably ready for Chapter 4, "Lists and Aliases".

sudo has lots of ways to avoid repeating yourself, and I picked up a few tricks from this chapter I didn't know about — including that sudo can run commands as users other than root. Need to restart Tomcat as the tomcat user? There's a sudoers line for that. I'm ashamed to admit that I didn't know this.

There is a lot more in this book, too. You can override sudo defaults for different commands or users (you can change the lecture text; maybe sometimes there *is* a technical solution for a social problem...). You can stuff sudo directives into LDAP and stop copying files around. You can edit files with sudoedit. You can record people's sudo commands, and play them back using sudoreplay. The list goes on.

Sounds like a lot, doesn't it? It is. But the book flies by, because Lucas is a good writer: he packs a lot of information into the pages while remaining engaging and funny. The anecdotes are informative, the banter is witty, and there's no dry or boring to be found anywhere.

Shortcomings: Maybe you don't like humour in your tech books; if so, you could pass this up, but man, you'd be missing out. There wasn't an index in the EPUB version I got, which I always miss. Other than that: I'm mad Lucas didn't write this book ten years ago.

Score: 10 out of 10. If you're a Linux or Unix sysadmin, you need this book; it's just that simple.

Where to buy:

  • You can buy the ebook version from Lucas himself.
  • You can also buy the ebook or a dead-tree version from Amazon.com.

Comment Re:It shouldn't have taken this long (Score 1) 255

It still saves vertical space to crunch those bars up instead of 3 strips - system, app frame and app menu, it's combined into one. I actually think it works extremely well for netbook or similar. The problem is it sucks balls for larger sizes.

GNOME suffers the opposite issue in that it's very wasteful of space even when apps are maximized. It doesn't even do anything with the frame when maximized even though it probably could. I think the expectation from GNOME is that apps will start using client side decorations for their windows and the application menu (which is a simple drop down to the system bar) for global actions like Quit. So apps will be able to claw back some of this space in that way.

Comment Re:There are some good reasons for global menu bar (Score 1) 255

I'm quite certain that Apple made a good decision when the Mac had a teeny tiny black and white screen and every pixel of vertical space was precious and when people were essentially single tasking most of the time. And even when Finder let people multitask, apps jumped to the front in an all or nothing way so it was very clear which one had focus. Delegating the menu to the OS made sense in that context.

It doesn't mean it applies as screen sizes increase, or where users may use two apps side by side, or even two instances of the same app side by side that a global menu makes sense. Because it doesn't. It's a pain in the arse quite frankly.

Comment It shouldn't have taken this long (Score 1) 255

Global menus are fine on low resolution, space constrained screens. For example a netbook might such low resolution that a user appreciates combining the system bar, the app frame and the app menu all into one strip instead of 3. And the chances are on that size of screen that I probably have one app open and maximized the whole time more often than not.

But the bigger the screen, the stupider a global menu becomes. Users more likely have more than one app open at a time, and they're more likely to be unmaximized - either stacked, tiled or some other arrangement. It's a pain to have to activate an app to see its menu. It's a pain to then haul the mouse to the top to navigate it's menu. I bet if someone ran a mousemeter comparing the two systems that the global menu would involve way more travel.

Therefore, there should be an option to control this behaviour. It should have been there from the beginning in fact. The same goes for those ridiculous elevator style scrollbars in Ubuntu. They're great for saving space when you need to save space but boy are they unintuitive and fiddly. If someone has a hi resolution screen the scrollbars should always be visible and easy to locate.

Comment Re:Nice to have the choice (Score 4, Informative) 255

Then we get some of the silliness from Ubuntu trying to shove a new way down everyones' throat

Oh yeah, they're REALLY forcing it down our throats...

Recognised Ubuntu flavours

These are derivatives that use Ubuntu as their foundation and contribute significantly towards the project.

Edubuntu — Ubuntu for education
Ubuntu GNOME — Ubuntu with the GNOME desktop environment
Kubuntu — Ubuntu with the K Desktop environment
Ubuntu Kylin — Ubuntu localised for China
Lubuntu — Ubuntu that uses LXDE
Mythbuntu — Designed for creating a home theatre PC with MythTV
Ubuntu Studio — Designed for multimedia editing and creation
Xubuntu — Ubuntu with the XFCE desktop environment

Other derivatives

A complete list of known derivatives is maintained on the Ubuntu Wiki Derivatives Team page.

https://wiki.ubuntu.com/Deriva...

Comment Re:Oh Good (Score 4, Insightful) 199

The Internet is humanity's last chance, boys and girls.

Yep, Skype's gone, and now WhatsApp will be ruined.

Are there any open and demonstrably secure voice/video chat/IM etc applications in the pipeline that anyone's aware of?

Slashdot Top Deals

If you have a procedure with 10 parameters, you probably missed some.

Working...