DESCRIPTION
db.login sets the user name and optionally also a password for
the connection to the selected database through the DB driver.
NOTE
This is only related to SQL database backends
like PostgreSQL, MySQL
or ODBC. The passwords are stored in a
hidden unencrypted file in the user account ('home' directory)
called .grasslogin64. Only the file owner can access this
file.
EXAMPLES
Only username specified (password will be interactively queried
to remain invisible):
Username and password specified (note that the command
lines history will store the password in this way):
db.login user=bacava password=secret
Username and empty password specified (note that the command
lines history will store the password in this way):
db.login user=bacava password=""
SEE ALSO
db.connect,
db.test
SQL support in GRASS GIS
AUTHOR
Radim Blazek
Last changed: $Date$