Archive for the 'Tips' Category

SELinux Preventing SSH Passwordless Login

Monday, June 16th, 2008

Since upgrading to Fedora 9, I am trying much harder to work with SELinux. For the most part it is pretty easy.
I am using passwordless SSH logins between my CentOS 5.1 server and my Fedora 9 desktop. Since my Fedora 8 never used SELinux, all my file contexts were “wrong” when I mounted my /home […]

Archive dotfiles and dotdirectories only

Saturday, May 24th, 2008

Sometimes I would find the need to archive just .files and .directories (e.g. .mozilla, .gnome). Unfortunately I would always manually do it.
Quick tip:
# ls -A | egrep ‘^\.’ | tar -cvf filename.tar -T -
(Thanks to LQ)