Sunday, June 8, 2014

Ubuntu: Didn't know root password

Ok, so... what happened was... cognitively not all there today. Fast as I thought of it, couldn't remember what I needed to do but it went something like... let a couple different live, active operating systems make nice with each other by sharing files.

BUT FIRST, I needed to undo a stupid I did a couple days ago... messed up permissions on the targeted folder. Well, I think I did it. Is also possible it's about trying to access a hard drive created by another operating system (Knoppix). But I don't think so. SEEMS LIKE... I was able to access the target folder until I bloopered the other day..

Bumbling around trying to figure the permissions thing out, I got the bright idea to search on "manage user accounts ubuntu". Ended up at Ubuntu Help's User Management webpage. Skimmed through and knew immediately that wasn't what I was looking for so sat here pondering.

Decided to try su in a terminal. That was a FAIL. Received back an "Authentication failure" error message. Remembered I'd JUST coincidentally seen something about root and password on that Ubuntu User Management page. Bingo > sudo passwd is what you need if you've never accessed root in your system before. Turns out Ubuntu's Dream Team keeps root turned off by default (for good reason). You can activate it by entering the "sudo passwd" command then entering information as requested.


Placing sudo before commands gets you most, if not all, of what you'd ever need accomplished as system administrator as long as you've been previously granted those powers. If you go in there with full power of root, you can do something really stupid by total accident (like what I did couple days ago). And actually not sure if I messed up while as "sudo" or root but, either way, what I did was... type too fast for my brain while accessing admin powers. Accidentally started changing an entire disk's permissions when I'd only wanted to change one folder, my photo folder. Left off the folder name and off it went....

And so here we are now.. less than 24 hours before I'd like to have solved/resolved inter-Linux distro communication by first undoing something that should not have occurred in the first place. So forget root exists. Take a few extra seconds to search the W-W-W for alternatives that others have used. There's so much more newbie and cognitively friendly information available out there than there ever has been. Research, don't take shortcuts just because they do happen to exist.. The sanity you save... will be your own (and most likely fellow members of some Linux community listserv somewhere). :)

Happy Safe Surfing out there!

PS My new office mate out here on the porch.. A Carolina Wren (CAWR, Thryothorus ludovicianus) sitting on her new nest... Patience pays... :)

Thursday, June 5, 2014

Linux hibernation (suspend-to-disk) FAIL and Swap partitioning

Off and distracted by another something shiny today... new old refurbished hard drive. Decided I want to put two completely different Linux operating systems on this new hard drive. It's more technically known as "dual booting". Wasn't even sure it was possible, that maybe I misunderstood recent listserv conversations I lurked, but nope, apparently is possible sooo.... here I goooo...

In the process of just verifying I understand it's a can-do before actually attempting a dual boot setup, I FINALLY encountered someone saying something extended about WHY you want to create yadda-yadda amount of swap space. Over the years, I've guessed the swap partition was about things temporarily "swapping" out in that space as you move around in your software. Bingo.. The Community Help section covers it in the Why do I need swap? part of their SwapFAQ.

Just throwing this out there quick before attempting that dual install. Reason was that "please help" requests occur occasionally about hibernation not working on Debian setups. I don't know if inadequate swap space has ever been posed as a potential source of the problem but it'll be my "Have you checked this yet?" kneejerk answer from now on... unless someone else plugs it first. *grin*

Happy Safe Surfing out there!

PS Ah, cr4p, forgot to say... recommended dosage FOR swap is approximate double your ram memory size. One guy (over at Super User) suggested adding an additional +1 for good measure. Cool. Having never seen an explanation about swap, mine have always been been a nice round 10gb on 1gb systems over the years, just because(y). Guess that makes it more like... quadruple, no, make that 8-druple plus an extra gigabyte for each quadruple (times 2) overkill...... Schmokin'!

PPS Just read this.. FCC website apparently went down for the count due to net neutrality troll comments inspired by a comedian named John Oliver. k/t goes to Slashdot for the lead.

PPPS How many gazillions has dotGov reportedly spent on web development and yet their major websites still can't handle a little extra Internet traffic on demand?