Passed EX362 Identity Management

Today I passed the Red Hat Identity Management exa, EX362, with the score of 233/300. The material used to prepare for the exam is the RH362 online course, provided Red Hat. At first I wasn’t sure if I should use of the 5 exam credits (as part of one-year training subscription), but it turned out that IdM/FreeIPA is useful and fun to learn. Here are some tips for this exam: ...

November 19, 2020 · 1 min · 146 words · kenno

Using ZFS on an External Drive

I’m a fan of ZFS filesystem. It’s so good that I also use ZFS on most my Linux machines, though it’s painful at time when the ZFS kernel modules fail to compile. Why I like it so much comparing to other file system such as XFS, EXT4, BTRFS? ZFS allows me to quickly do snapshots and efficiently send snapshots over the network, and my nas runs FreeBSD which support ZFS natively. ...

November 12, 2020 · 3 min · 505 words · kenno

Display Last Login in Reverse

You’ve been using Linux for a while, so you must have seen or used this command before: cat. It’s used to concatenate files and print on the standard output. But do you know there is another command spelled it reversed tac? tac is like cat, but print files in reverse. Here is an example which cat could be handy. I need to print out the last login user in reverse. (By the default, it prints the last login first.) ...

November 8, 2020 · 2 min · 320 words · kenno

BIOS Firmware for ThinkPad X1 Carbon Gen 6 1.50

Are you still rocking your X1 Carbon Gen 6 in 2020? Well, Lenovo just released a new BIOS firmware 1.50. Here are changes in this release: [Important updates] - Update includes a security fix. - Addresses CVE-2020-8696 and CVE-2020-8698. (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8696) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8698) - Addresses CVE-2020-0587, CVE-2020-0588, CVE-2020-0590, CVE-2020-0591, CVE-2020-0592, and CVE-2020-0593. (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0587) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0588) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0590) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0591) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0592) (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0593) [New functions or enhancements] - Updated the CPU microcode. - Updated the Diagnostics module to version 04.15.000. [Problem fixes] Nothing. It’s worth to note that this new firmware is available on Fedora (33) via fwupdmgr. ...

November 8, 2020 · 1 min · 111 words · kenno

Freebsd adduser ERROR - User Disappeared During Update

While creating a new user account on one my servers running FreeBSD 12, I encountered the following error: root@nas2:~ # adduser Username: devops Full name: Ansible Operator Uid (Leave empty for default): Login group [devops]: Login group is devops. Invite devops into other groups? []: Login class [default]: Shell (sh csh tcsh nologin) [sh]: Home directory [/home/devops]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: no Lock out the account after creation? [no]: no Username : devops Password : <disabled> Full Name : Ansible Operator Uid : 1002 Class : Groups : devops Home : /home/devops Home Mode : Shell : /bin/sh Locked : no OK? (yes/no): yes pw: user 'devops' disappeared during update adduser: ERROR: There was an error adding user (devops). Add another user? (yes/no): no Goodbye! According to a discussion on a FreeBSD forum, the problem could have caused by the databases being out of sync. ...

November 7, 2020 · 1 min · 184 words · kenno