![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What's the best method to called isql from a shell script without having important passwords in the script? All our current scripts have the sa password everywhere and I'm now seeking to remove them in our upgrade. If I assign a login to an oper_role then details of this will show up in the script. Also, oper_role may have dump facilities but it doesn't have update stats which I'd like for a non-sa type role. TIA, Martin |
#3
| |||
| |||
|
Put server:user/role assword entries into a file readableonly by a privileged user. Chmod your scripts to be setuid to the privileged user and readable only by that user, i.e. -rws--x--x. Extract passwords by server:user/role key. Not the best solution, but simple. |
#4
| |||
| |||
|
Put server:user/role assword entries into a file readable only by aprivileged user. Chmod your scripts to be setuid to the privileged user and readable only by that user, i.e. -rws--x--x. Extract passwords by server:user/role key. Not the best solution, but simple. =v= I'd feel a million times better if they were encrypted. =v= Has anyone considered modifying sqsh to use PAM and/or Kerberos to implement authentication tickets? The idea is that you give a password once and it remembers who you are, so you don't need to give it again for the duration of the session. |
#5
| |||
| |||
|
|
Kerberos support is an extra-cost option for ASE, and has only been recently made available on linux. ... Also, ASE 12.5.2 supports PAM authentication. |
#6
| |||
| |||
|
|
Kerberos support is an extra-cost option for ASE, and has only been recently made available on linux. ... Also, ASE 12.5.2 supports PAM authentication. =v= Good stuff, though my clients aren't rolling in the dough, so I have to do things on the cheap. :^( =v= I can talk to ASE by tunneling through ssh, so the remaining main weakness is having passwords in script files. Which is why I'm focusing on the idea of a PAM-aware sqsh client ... |
![]() |
| Thread Tools | |
| Display Modes | |
| |