-
Notifications
You must be signed in to change notification settings - Fork 15
as sysdba #115
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
You cannot at the moment. We'll need a new parameter for this. |
I think it is acutally a really bad idea to run tests from a SYSDBA account. |
"Unfortunately, I'm working on software used by DBAs. For some code, access is restricted to the session user SYS. It is not my responsibility to handle this in any other way, but I don't want to exclude it from regression testing. |
What about adding a parameter but outputting a warning that it's not recommended to run tests as sysdba, @jgebal? |
I stand corrected @pesse I do remember how disappointed I was though I find SQLDeveloper a great tool and Jeff is a great, very approachable guy. Always there to help. So yes, I agree, utPLSQL-cli could have ability to run utPLSQL It will require special permissions (unlocking) for SYS account, as by default it's blocked from executing code that runs with This, and an additional warning on cli, should be more than enough to say - we do not encourage you to do this. Do you think it should be cli or core responsibility to perform a check for |
So you're human after all ;) |
I included the possibility to connect as SYSDBA, however every time I try to test it I get the following:
@jgebal can you give me a hint what's causing this and can we circumvent it? |
Played around a bit with |
This is related to potential security risk when runnign packages that have In general, you should never be using/running code that has AUTHID CURRENT_USER as SYS/SYSDBA unless you're 100% sure noone was messing with that code. So you need to execute: |
- Adds some Unit-Tests around parsing connectString - Allows user-part of the connectstring to contain "/" if enclosed in double quotes (e.g. "my/user"/pass@connectstring) - Allows password-part of the connectstring to contain "@" if enclosed in double quotes (e.g. app/"myP@ssw/rd="@connecstring) - Allows to connect as sysdba via adding the "as" part to the username (e.g. "sys as sysdba"/pass@connectstring) (Fixes #115)
How can I connect to SYS ?
The text was updated successfully, but these errors were encountered: