Ben Chuanlong Du's Blog

It is never too late to learn.

User Access Control on Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Login Access Control

The /etc/security/access.conf file specifies (user/group, host), (user/group, network/netmask) or (user/group, tty) combinations for which a login will be either accepted or …

Tips on Samba

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

SAMBA File System is a great way to share files among computers in local network (e.g., office or home). You do NOT need a synchronization software. However, if you use …

Tips on Arch Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Manjaro is a good Arch Linux based distribution.

  2. You can use pacman to manage packages on Arch Linux.

Use pacman to Manage Packages on Arch Linux

Install a package.

pacman -S …

Sort top by CPU or Memory Usage

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

By default the result of the top command is sorted by CPU usage on Linux. The table below list options to sort the result of the top command by different criterias …

Tips on Kerberos

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

Ubuntu

apt-get install krb5-user

CentOS

yum install -y ntp yum install krb5-workstation krb5-libs krb5-auth-dialog

Issues

kinit: Permission denied while initializing Kerberos 5 library

It is likely due to the fact …