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 […]

Tuesday, April 21st, 2009 at 01:23 | 0 comments
Categories: Linux

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.

Monday, April 20th, 2009 at 02:35 | 0 comments
Categories: Linux

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” […]

Saturday, April 18th, 2009 at 10:12 | 0 comments
Categories: Linux