[GRASS-CVS] markus: grass6/db/db.login description.html,1.4,1.5

grass at intevation.de grass at intevation.de
Thu Nov 29 05:20:44 EST 2007


Author: markus

Update of /grassrepository/grass6/db/db.login
In directory doto:/tmp/cvs-serv12743

Modified Files:
	description.html 
Log Message:
PW stuff explained

Index: description.html
===================================================================
RCS file: /grassrepository/grass6/db/db.login/description.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- description.html	16 Nov 2006 06:43:17 -0000	1.4
+++ description.html	29 Nov 2007 10:20:42 -0000	1.5
@@ -4,30 +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 and password specified:
+Example 1: Username specified, password will be invisibly queried interactively:
 
 <div class="code"><pre>
-db.login user=bacava pass=secret
+db.login user=bacava
 </pre></div>
 
 <P>
-Example 2: Username and empty password specified:
+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=""
+db.login user=bacava pass=secret
 </pre></div>
 
 <P>
-Example 3: Username specified, password will be invisibly queried interactively:
+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
+db.login user=bacava pass=""
 </pre></div>
-
 
 <h2>SEE ALSO</h2>
 <em>




More information about the grass-commit mailing list