Last change
on this file since 363 was
157,
checked in by jbarnold, 18 years ago
|
we should remove authuser's access to .sql in addition to anyuser
|
-
Property svn:executable set to
*
|
File size:
338 bytes
|
Rev | Line | |
---|
[131] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | mkdir $lroot/.sql 2>/dev/null |
---|
| 4 | fs sa $lroot/.sql system:anyuser none |
---|
[157] | 5 | fs sa $lroot/.sql system:authuser none |
---|
[131] | 6 | fs sa $lroot/.sql daemon.scripts write |
---|
| 7 | rm -f $lroot/.sql/my.cnf $lroot/.my.cnf |
---|
| 8 | |
---|
| 9 | echo "[mysql] |
---|
| 10 | host=sql.mit.edu |
---|
| 11 | user=$sqluser |
---|
| 12 | password=$sqlpass" > $lroot/.sql/my.cnf |
---|
| 13 | |
---|
| 14 | ln -nfs $lroot/.sql/my.cnf $lroot/.my.cnf 2>/dev/null |
---|
Note: See
TracBrowser
for help on using the repository browser.