<$BlogRSDUrl$>

Monday, May 24, 2010

Setting up NFS with a firewall 

The below post explains how to do this for CentOS (the relevant post is the one by MensaWater).  It works great!  Thanks MensaWater.  :)

http://www.linuxquestions.org/questions/linux-networking-3/help-nfs-error-no-route-to-host-341562/page2.html

The relevant text-mode firewall configuration tool is called system-config-securitylevel.  You can use spaces to separate the "other ports" that you need to add.

For NFS4, the following post looks useful:

http://blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11/

Wednesday, May 05, 2010

Sudo + ssh 

It can be done.  The first step is to do the ssh-agent and ssh-add stuff.

http://www.sudo.ws/pipermail/sudo-users/2003-April/001477.html
http://mah.everybody.org/docs/ssh

Then the second piece of the puzzle is to do ssh -t so you can answer the sudo prompt properly.  But you need to "prime" sudo, so it caches your password.  See comment by crashingdaily in the following post:

http://crashingdaily.wordpress.com/2007/06/29/rsync-and-sudo-over-ssh/

This page is powered by Blogger. Isn't yours?