How To Permanently Map Network Share To Mac OS X Yosemite

Awhile back I had made a video which shows Mac beginners how to permanently add a network share/drive to Mac OS X Mavericks.  This very video is still applicable for Apple’s newest OS X Yosemite.  Just in case anyone really needs to know this trick, just watch my video right after the break.  Here once again, I repost the video.  Enjoy!!!

Reset ownCloud Passwords For Admin And Users Using phpMyAdmin

Warning:  Following the instruction below at your own risks, because bad things happen!  Don’t blame me for your bravery in destroying ownCloud’s database if something goes wrong and beyond one’s expectation.  Nonetheless, I’ve used the exact directives to successfully change the admin and users passwords for ownCloud.

Forgetting your ownCloud’s password?  Whether your ownCloud’s admin or regular user password is lost, you can always restore or change the password for the admin or user.  Perhaps, you forgot to enter the email address into user’s settings to receive lost password reset email, to think that you’re stuck is being crazy.  Of course, unless you forgot your MySQL database’s root password too, then you really are stuck and won’t be able to access your data that reside within ownCloud.  Nonetheless, let’s hope you aren’t yet out of options, then you can totally use your MySQL’s root password to edit your ownCloud’s admin or user password.  I won’t talk about how to access and edit any other database as I can barely get around MySQL.  Nonetheless, read on and the trick is here to treat you well.

I don’t even bother with MySQL command lines, and so I sure hope you have installed phpMyAdmin.  We will use phpMyAdmin to edit out the oc_users table’s passwords.

  1. So, first of all, log into your ownCloud MySQL’s database as a root user or the owner of ownCloud database through phpMyAdmin.
  2. Secondly, expand the left panel and expand the ownCloud database.  You should see bunch of ownCloud tables underneath ownCloud’s database, and these tables should begin with oc_ extension.  Try to find oc_users!
  3. Click on oc_users to access the oc_users table.  Before you even think aboud editing a user entry within this table, you must know that once you edit a user’s password there is no going back to the original password.  Of course, if you already know the original password, you wouldn’t do this in the first place!
  4. Click on the edit link next to the user to access the oc_users’ user entry.  In here you can change the password for a user.  Don’t do anything yet though, because the passwords store within oc_users table are encrypted with whatever.  If you delete the encrypted passphrase, you basically delete the password.  Nonetheless, you can’t enter a password of your own, because your password isn’t encrypted.  If you try to enter a plain password, your user account won’t see the password change.  Furthermore, if you try to empty out the password, ownCloud’s login page won’t allow you to access ownCloud service even though you had emptied out the password.
  5. If you read my instruction carefully, it means you haven’t done anything yet.  Good, because now you need to open up a web browser’s tab or a new web browser so you can go to http://pajhome.org.uk/crypt/md5/ (link).  If this webpage is still the same and has yet to be changed, under the Demonstration section you should see MD5/SHA-1 boxes.  Instead of entering a real password that can be read by the owner of this website, you need to enter a weak password (that you plan to change it later) into the Input Calculate Result’s top box.  When done entering a temporary password that is easy to remember, hit the SHA-1 button to allow the webpage to generate the SHA-1 hash.  Make sure you copy the SHA-1 hash result in the bottom box.
  6. We need to paste the SHA-1 hash passphrase into the password’s value field (box) of a user you want to change the password for within the database.  So, back in phpMyAdmin, within a user’s entry which resides within the oc_users table, you need to enter the SHA-1 hash into the password’s value field (box).  Hit the Go button which situates right underneath the password’s value field (box).  This should do it.
  7. Now, you can try log into ownCloud service with a new password that you had created for the ownCloud user.  Of course, the password isn’t the SHA-1 hash passphrase, because the ownCloud’s login page expects the regular plain password that you encrypted with SHA-1 hash earlier.  If everything goes as plan, you should be able logging into the ownCloud’s admin or user account.  From, here you can change the password in Personal page, and so you should change the password you just changed for your ownCloud admin or user into a really strong password.

Now, you can chuck down a beer and congratulate yourself a job well done.

Make Backup Before Ditching Mac OS X Mavericks For Yosemite

Are you using Mac OS?  If you are, you probably have heard all about how Apple just released the newest yet Mac OS X Yosemite.  I’d read some of the comments on various websites, and it seems that people are having mixed feeling about Apple’s newest OS.  Some people think Mac OS X Yosemite is ugly or just too plain.  In my opinion, I like it so far, because I like Apple’s simplicity design UI (User Interface) for Mac OS X.    With OS X Yosemite, things look to be simplified even further in term of the look of the OS.  Basically, Apple is trying to make Mac OS X to look like iOS, giving the users a feeling of unification between the two different systems.  Just like how Microsoft is trying to unify Windows Desktop and Windows Phone operating systems, Apple is doing the same thing.  I guess, by combining the ecosystems of the two systems together, thus Microsoft and Apple can provide same services for both systems (i.e., mobile devices and desktop computers).  Besides the point of providing the same services for both systems, these two companies are trying to create a togetherness feeling for applications and whatnot, thus providing a smooth service for different types of devices/systems.  I like this idea very much!

Although I like the idea of combining different ecosystems of different types of devices and systems together so the endusers can feel the applications that they work with become smoother in term of workflow and playflow (I made this word up), but to make the togetherness feeling happens Apple has to pool the services into the cloud.  This might be a good thing but also a bad thing!  For an example, iCloud is now becoming iCloud Drive — which is a good thing as endusers can now selectively browse the individual data within — and iCloud Drive will become evermore the focus point for hackers to try with hardy effort to hack into endusers’ data.  As Apple relies more on the cloud to provide essential services for endusers’ apps, it’s imperatively evermore for hackers to target Apple’s cloud services since endusers’ data are most likely pool abundantly into the cloud.  Instead of chasing different targets, hackers can just hack endusers’ cloud data to harvest whatever they need with less time wasting.  Cloud is good for endusers’ togetherness feeling, but it’s bad for endusers’ data security if Apple will ever provide the opportunity for hackers to loot endusers’ data.  In my opinion, Apple’s newest OS yet [cloudworries] me.  Recently, hackers were successfully hacked into banks and Home Depot, thus millions of endusers’ confidential data are at risks of being exposed to the blackmarket.

Besides of being dangerous but pretty and simplistic, you may find that it’s rather dangerously thrilling to upgrade Mavericks to Yosemite.  If you don’t do any backup for your Mavericks, you may not want to rush to upgrade to Yosemite.  I found out that once you upgrade to Yosemite, you cannot downgrade your Yosemite to Mavericks unless you wipe your hard drive cleanly and freshly install Mavericks.  Of course, others may have ways to downgrade Yosemite to Mavericks that I do not know of, but it’s for sure that Yosemite destroys the Mavericks’ built-in recovery partition and creates a Yosemite recovery partition.  This means that when you want to reinstall OS X through the fresh boot up or reboot gray screen using Command + R keys on the keyboard, Yosemite is the only built-in recovery you get to play with after you had upgraded the Mavericks to Yosemite.  Even if you have a USB thumb drive for Mavericks’ root installation files, Yosemite will complain how your Mavericks’ files are too old, consequently you cannot use the Mavericks’ files to downgrade Yosemite.

I’ve found this out the hard way as I had to wipe out my Mac HD just so to reinstall Yosemite fresh in order for Yosemite to work correctly on my Mac.   Luckily, I’d made backups of my essential data on my Mac before I said goodbye to all of my essential data.  Basically, the trouble was all about how Yosemite refused to let my Mac to have any Internet connectivity.  After I meddling with all network settings to be sure that the settings were right, Yosemite was even more steadfast in not allowing my Mac to have any Internet connectivity.  My only option left was to freshly reinstall Yosemite, because downgrading Yosemite to Mavericks might just be a lot harder.  Luckily, fresh installation of Yosemite was the solution.  Now, my Mac is connecting to the Internet just fine, and I’m having a blast of writing this blog post on Yosemite.  Like I said, please do many backups of your data before you even think about letting go of Mavericks or whatever OS X version you’re on, because Yosemite is that dangerously pretty and simplistic and cloudworried.

I found a pretty good YouTube video which explains Yosemite’s newest features in detail.  Enjoy the video right after the break!!!

Follow

Get every new post delivered to your Inbox.

Join 950 other followers