#7 Read Password from File

closed
nobody
None
5
2005-04-23
2003-05-08
Anonymous
No

This patch enables mount.davfs to read a password from a
file instead of passing it as command line argument.

How to Apply:

# tar xzvf davfs2-0.2.1.tar.gz
# cd davfs2-0.2.1/src
# GET
http://cachescrubber.org/patches/davfs2-0.2.1-credentils.diff
| patch -p0

Usage:

# echo secret > /webdav/credentials
# chmod 600 /webdav/credentials
# mount https://server.com/dav/ /webdav
-ousername=<name>,credentials=/webdav/credentials

That's it.

Lars Uffmann, <lu@cachescrubber.org>

Discussion

  • SungHun Kim

    SungHun Kim - 2005-04-23
    • status: open --> closed
     
  • SungHun Kim

    SungHun Kim - 2005-04-23

    Logged In: YES
    user_id=206854

    Similar patch has been committed.

     

Log in to post a comment.