[GRASS-CVS] markus: grass6/db/db.login description.html, 1.2,
1.2.6.1
grass at intevation.de
grass at intevation.de
Thu Nov 29 05:21:19 EST 2007
Author: markus
Update of /grassrepository/grass6/db/db.login
In directory doto:/tmp/cvs-serv12770
Modified Files:
Tag: releasebranch_6_2
description.html
Log Message:
PW stuff explained (merge from HEAD)
Index: description.html
===================================================================
RCS file: /grassrepository/grass6/db/db.login/description.html,v
retrieving revision 1.2
retrieving revision 1.2.6.1
diff -u -d -r1.2 -r1.2.6.1
--- description.html 25 Jan 2005 21:43:36 -0000 1.2
+++ description.html 29 Nov 2007 10:21:17 -0000 1.2.6.1
@@ -4,7 +4,34 @@
<h2>NOTE</h2>
-This is only related to SQL databases.
+This is only related to SQL database backends (PostgreSQL, MySQL etc).
+The passwords are stored in a hidden file in the user account ('home'
+directory) called <em>.grasslogin6</em>. Only the file owner
+can access this file.
+
+<h2>EXAMPLES</h2>
+
+Example 1: Username specified, password will be invisibly queried interactively:
+
+<div class="code"><pre>
+db.login user=bacava
+</pre></div>
+
+<P>
+Example 2: Username and password specified (note that the command
+lins history will store the password in this way):
+
+<div class="code"><pre>
+db.login user=bacava pass=secret
+</pre></div>
+
+<P>
+Example 3: Username and empty password specified (note that the command
+lins history will store the password in this way):
+
+<div class="code"><pre>
+db.login user=bacava pass=""
+</pre></div>
<h2>SEE ALSO</h2>
<em>
More information about the grass-commit
mailing list