Posts Tagged ‘administration’
My recent misadventures with adding a group membership for my user and in the process managing to remove all other groups (including admin) got me thinking about the message “… is not in the sudoers file. This incident will be reported.” Exactly where and how and to whom is this reported? Well, according to clever […]
This article on The Register has a link to a very good page on CentOS website with tips on securing OpenSSH. The tips are applicable for all distros, not just CentOS, and are definitely worth going through and implementing if you have SSH enabled on your server. Good luck and stay secure.
Here is a very simple one which caught me out: you want to add your user to a group through command line. The command is very straightforward: sudo usermod -aG tools hammer This adds the user “hammer” to the group “tools”. Notice the -a switch (for add). This means “hammer” will become member of “tools” […]