RHEL Recovering the Root Password

Early last year I started a blog post about the preparation for Red Hat Certified System Administrator (RHCSA) exam. My intention back then was to have more posts follow suit about the exam topics. Like many things in life, things don’t always go according to plan. That was the only post, but I passed the RHCSA exam. Today, I’m going to start another new post about the preparation for the Red Hat Certified System Engineer (RHCSE) exam. I already booked an exam which is taking place on September 12. The exam is 3.5 hours long and cover a broader range than before. ...

August 12, 2018 · 2 min · 376 words · kenno

How to change shell in Fedora

If your search engine take you to this page, chances are you get used to use chsh to change user’s shell. On Fedora (28 at least), chsh is not available by default. You can install util-linux-user according to this post to get the chsh command. However, there is another alternative which I didn’t even think of - use usermod command. Here’s how I did it to change to zsh shell: $ sudo usermod -s /usr/bin/zsh kenno $ getent passwd kenno kenno:x:1000:1000:Oh Kenno:/home/kenno:/usr/bin/zsh Just log out and log back in. That’s it.

July 23, 2018 · 1 min · 91 words · kenno

Changing the urxvt font size on the fly (take 2)

A while back I posted an instruction on how to change the font size in urxvt (terminal emulator) on the fly. In that post, I used a perl extension from https://github.com/simmel/urxvt-resize-font. Tonight, I tried to setup this extension on a brand new laptop running Fedora 28. For some reason, it doesn’t work at all. Luckily, I found another perl extension which works quite well. Here’s how I got it working on this Fedora 28, with Sway tiling windows manager (instead of i3 because I run Wayland with this Fedora 28). ...

July 5, 2018 · 1 min · 187 words · kenno

Upgrading my nas from FreeBSD 11.1-RELEASE to 11.2-RELEASE

FreeBSD 11.2-RELEASE was released a few days ago. This means it’s time to upgrade the FreeBSD running on my nas. For the most part, this was all what I did: # freebsd-update -r 11.2-RELEASE upgrade # freebsd-update install # reboot # freebsd-update install After it’s been upgraded, I also need to update the Zpool. root@nas:~ # zpool status pool: zroot state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. scan: scrub repaired 0 in 0h0m with 0 errors on Tue Jan 23 23:54:42 2018 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 gpt/zfs0 ONLINE 0 0 0 errors: No known data errors Let’s upgrade the zpool zroot as suggested: ...

June 30, 2018 · 2 min · 353 words · kenno

Playing movie with Dragon player on Fedora 28

With fresh installation of Fedora 28 I wasn’t able to play any downloaded Japanese animations with the default movie player – Dragon player. My other machine which also runs Fedora 28 could play the movie fine. Without any doubts I must have installed some additional codecs on that machine. But which codecs? Like last time, Google I must search. I’m going to write this post so I wouldn’t have to repeatedly search for the same solution. ...

June 24, 2018 · 1 min · 188 words · kenno