How to get SYSDBA or SYSOPER credentials
Hi,
I am having SYS credentials. But I want to know SYSDBA or SYSOPER credentials.
How can I check in Database to get them?
DB:11g.
I am trying to connect using windows GUI it is asking for anyone of those SYSDBA or SYSOPER credentials
Hulk wrote:
I have newly set up my Oracle 11g Database under 'administrator' account in new Windows2008 Server.
From my oracle batch jobs I am trying to connect DB as shown: SQLPLUS /@%DBName%
as this line it is throwing logon denied - error message.
My Old DB is 8i and Server is WindowsNT ,user account ='zadministrator'.
Why was it throwing error?Unfortuntately you did not show us the actual error message. Instead you chose to give us your interpretation of it. "logon denied" could be a lot of things. An actual error message, including the ora-nnnn number will tell us what it is.
And you didn't tell us if you tried this connection from the database server or a client machine.
Copy and paste from a command session is a wonderful thing, but only if you use it.
Similar Messages
-
How to get SYSDBA privileges???
Hi,
I can't change shared_pool parameters because I'm not connected as SYSDBA though my user account is a member of DBA role. I tried ro connect as NT admin - no much help either.
Manual says: 'To connect as SYSOPER or SYSDBA using OS authentication you do not need the SYSOPER or SYSDBA system privileges. Instead, the server verifies that you have been granted the appropriate OSDBA or OSOPER roles at the operating system level.'
Should I create OSDBA or OSOPER roles in NT and be a member of them?
I created to blank role like above and add myself as the user - didn't work out. Probably I miss something.
What privileges should NT admin grant to the roles?
I'm stuck please help ))
Thanks in advance
Marinathanks George
Unfortunatelly it doesn't help may be because I use Oracle 8.1.7
I have no problem connecting as SYS. The problem is that I can't connect with SYSDBA priv. though my account is super admin. I'm able to connect as myself with SYSOPER and Normal privs , but even with SYSOPER privs I can't edit database parameters or start/shutdown DB.
Any ideas?
Thanks in advance
Marina -
How to get Adobe User Rights Credentials?
We're having a problem that we can't use SAP Interactive forms by Adobe, because we are lacking this credential file (PCKS #12). The problem is that we have bought a second-hand system and that why it's not possible to receive this file from SAP.
Is there any other way to get this credential file somehow else, even some trial time credential, that could work a little while, anything? I've already tried this trial credential from SDN which has expired in 2007 unfortunately. Maybe there is a new trial which is not expired?
We have SAP Netweaver 7.0 and I'm using Adobe Livecycle Designer 7.1.
Best Regards,
Kari TauriainenHi Kari,
Did you try this? [https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/10e507e7-2670-2a10-0ba5-eaaabdf7c221]
Regards,
Sanyev -
Private Credentials and how to get them back
How to extract back the private credentials in a clean way from weblogic?
We are currently working with bea weblogic version 7
and have developed an authentication module and a credential mapper module
The authentication is fairly simple : the user types in a username and password
and we come into the Authenticator Provider which we configered in our realm
The partial signature of the interface interface javax.security.auth.spi.LoginModule
public void initialize(Subject subject,CallbackHandler callbackHandler,Map sharedState,Map
options)
in the initialize method we store the subject in a private variable
public boolean commit()
in the commit method we add a principal to the subject via
subject.getPrincipals().add(new Principal(username))
and we add the private credentials as
subject.getPrivateCredentials().add(new PasswordCredential(username,password))
Now ,
some time later when the user want's to access an ejb that is using a JCA connector
component
and want's to retrieve a connection, we will pass via the Credential Mapper that
we configured in the realm.
The method signature is
public Vector getCredentials(Subject requestor,Subject initiator,Resource resource,String[]
credentialTypes)
The initiator subject represents the user that authenticated himself
I can extract the principal with the method subject.getPrincipals
but when i try to extract subject.getPrivateCredentials i get an empty set.
The questions is of course did weblogic hide away the private credentials or not.
I can work around this but stuffing the password in the principal at the moment
of authentication , but i would prefer a cleaner solution.
Any ideas
Blyau Gino
[email protected]Is the Subject created in the Authenticator ever serialized or passed across
the wire? If so, anything stored in the private or public credentials will
be removed as part of the serialization process. This is documented in the
JAAS specifications from Sun.
Paul Patrick
"gino blyau" <[email protected]> wrote in message
news:[email protected]...
>
How to extract back the private credentials in a clean way from weblogic?
We are currently working with bea weblogic version 7
and have developed an authentication module and a credential mapper module
The authentication is fairly simple : the user types in a username andpassword
and we come into the Authenticator Provider which we configered in ourrealm
>
The partial signature of the interface interfacejavax.security.auth.spi.LoginModule
>
public void initialize(Subject subject,CallbackHandlercallbackHandler,Map sharedState,Map
options)
in the initialize method we store the subject in a private variable
public boolean commit()
in the commit method we add a principal to the subject via
subject.getPrincipals().add(new Principal(username))
and we add the private credentials as
subject.getPrivateCredentials().add(newPasswordCredential(username,password))
>
>
Now ,
some time later when the user want's to access an ejb that is using a JCAconnector
component
and want's to retrieve a connection, we will pass via the CredentialMapper that
we configured in the realm.
The method signature is
public Vector getCredentials(Subject requestor,Subjectinitiator,Resource resource,String[]
credentialTypes)
The initiator subject represents the user that authenticated himself
I can extract the principal with the method subject.getPrincipals
but when i try to extract subject.getPrivateCredentials i get an emptyset.
The questions is of course did weblogic hide away the private credentialsor not.
>
I can work around this but stuffing the password in the principal at themoment
>
of authentication , but i would prefer a cleaner solution.
Any ideas
Blyau Gino
[email protected] -
I'm getting error retrieving AdobeID credentials message. E_ADEPT_UNKNOWN. How do i fix this?
More details please? Where are you getting this message? On Adobe Digital Editions itself, on a tablet device? If on a device, what app is it running?
-
TS3988 I have an iCloud account but I don't know how to get there from my iMac finder
I have an iCloud account but I can figure out how to get to it from Finder
If you're trying to set up iCloud, go to System Preferences>iCloud, sign in with your iCloud credentials, then check the data you want to sync to your Mac. See http://www.apple.com/icloud/setup/mac.html.
-
How to get login crenditials(Result) from the MBO in a js file
Hi Experts,
I got a table from oracle db, and i have deployed it and MBO is generated.
That table contains the login credentials which i am giving in the login page.
I have created a login page with user id and password when i am trying to login by using the credentials which i have registered earlier the credentials are being checked in the table and it should return me yes or no if yes i have to move to next screen if no i should display some alert . My problem is that i am not knowing how to get that verified credentials and display them in my code. I am writing this line of code in java script and i am unable to know, how to handle the data after being checked from the MBO .. please help me out of this ..Hi Lokesh,
You can write an object query for checking the credentials details.
Right click mbo>Attributes>Object query>Add
Add 2 parameters, give some name like usernameParam and passwordParam
Map these parameters to respective fields like username and password(from MBO)
Generate object query
e.g. select x.username, y.password from ABC where x.username=:usernameParam and y.password=:passwordParam
select Return type"as single object""
(assuming username and password are the parameters defined in the mbo ABC.)
redeploy mbo
call this object query to Login button and do all required mappings
For verification, if details are/not available in backend
You have to write some piece of code in customBeforeNavigateForward
e.g.
hwc.customBeforeNavigateForward = function(screenKey, destScreenKey) {
if(destScreenKey="Employee" && screenKey=="Start"){
//Here Employee is the MBO name
alert("test");
var message = getCurrentMessageValueCollection();
alert("test1");
var itemList = message.getData("Employee");
alert("test2");
var items = itemList.getValue();
var noOfItems = items.length;
alert("noOfItems="+noOfItems);
if(noOfItems==0){
alert("Invalid input");
return false;
Rgrds,
Jitendra -
How to get user logged in to ironport web
How to get user logged in to ironport web by their username, time connected and the IP address?
The onbox reporting can only show what web traffic is currently being surfed. We can provide a near-real time view of this web traffic with a "Web Tracking Report".
However, there is not a report available that depicts what you're describing. (This information is best contained on the domain server). The closes we could get with the WSA is displaying which credentials we are currently caching. (Which users we've seen since within the surrogate timeout). This is possible with the authcache command on the cli.
~Tim -
How to get current logged-in user name in data access driver or in universe
In universe, to get the current log in user is via @Variable('BOUSER').
Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?I do not know your EJB Service. But you should pass the credentials of the current logged on portal user to your service. That's not by default I think.
I had a similar problem with CAF developed webservices. I had to turn on permission checks in my web service and passed the credentials via logon ticket.
Regards, Bernd -
How to get a Crystal report as an iview in Portal
Hi,
Please let me know how to get a crystal report to Portal.
Regards,
PradeepHi,
I used URL iview option to get the crystal report in portal and am able to view it. Thank you all for your inputs.
But as of now SSO is not configured between BOE and BI system, so when i click on URL iview initially it asks me for credentials to BOE InfoView and after entering that it again asks for BI login as the data has to be picked from BI server.
We are going to configure SSO mean while i just want to know whether it is possible to pass the id and passw as parameters to this url iview, if so what are the parameter id's i need to maintain to pass id and passw.
Let me know on this.
Regards,
Pradeep
Edited by: pradeep balam on Jul 29, 2011 8:34 AM -
How to get ORA errors in alertlog file using shell script.
Hi,
Can anyone tell me how to get all ORA errors between two particular times in an alertlog file using shell script.
ThanksHi,
You can define the alert log as an external table, and extract messages with SQL, very cool:
http://www.dba-oracle.com/t_oracle_alert_log_sql_external_tables.htm
If you want to write a shell script to scan the alert log, see here:
http://www.rampant-books.com/book_2007_1_shell_scripting.htm
#!/bin/ksh
# log monitoring script
# report all errors (and specific warnings) in the alert log
# which have occurred since the date
# and time in last_alerttime_$ORACLE_SID.txt
# parameters:
# 1) ORACLE_SID
# 2) optional alert exclusion file [default = alert_logmon.excl]
# exclude file format:
# error_number error_number
# error_number ...
# i.e. a string of numbers with the ORA- and any leading zeroes that appear
# e.g. (NB the examples are NOT normally excluded)
# ORA-07552 ORA-08006 ORA-12819
# ORA-01555 ORA-07553
BASEDIR=$(dirname $0)
if [ $# -lt 1 ]; then
echo "usage: $(basename) ORACLE_SID [exclude file]"
exit -1
fi
export ORACLE_SID=$1
if [ ! -z "$2" ]; then
EXCLFILE=$2
else
EXCLFILE=$BASEDIR/alert_logmon.excl
fi
LASTALERT=$BASEDIR/last_alerttime_$ORACLE_SID.txt
if [ ! -f $EXCLFILE ]; then
echo "alert exclusion ($EXCLFILE) file not found!"
exit -1
fi
# establish alert file location
export ORAENV_ASK=NO
export PATH=$PATH:/usr/local/bin
. oraenv
DPATH=`sqlplus -s "/ as sysdba" <<!EOF
set pages 0
set lines 160
set verify off
set feedback off
select replace(value,'?','$ORACLE_HOME')
from v\\\$parameter
where name = 'background_dump_dest';
!EOF
`
if [ ! -d "$DPATH" ]; then
echo "Script Error - bdump path found as $DPATH"
exit -1
fi
ALOG=${DPATH}/alert_${ORACLE_SID}.log
# now create awk file
cat > $BASEDIR/awkfile.awk<<!EOF
BEGIN {
# first get excluded error list
excldata="";
while (getline < "$EXCLFILE" > 0)
{ excldata=excldata " " \$0; }
print excldata
# get time of last error
if (getline < "$LASTALERT" < 1)
{ olddate = "00000000 00:00:00" }
else
{ olddate=\$0; }
errct = 0; errfound = 0;
{ if ( \$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
{ if (dtconv(\$3, \$2, \$5, \$4) <= olddate)
{ # get next record from file
next; # get next record from file
# here we are now processing errors
OLDLINE=\$0; # store date, possibly of error, or else to be discarded
while (getline > 0)
{ if (\$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
{ if (errfound > 0)
{ printf ("%s<BR>",OLDLINE); }
OLDLINE = \$0; # no error, clear and start again
errfound = 0;
# save the date for next run
olddate = dtconv(\$3, \$2, \$5, \$4);
continue;
OLDLINE = sprintf("%s<BR>%s",OLDLINE,\$0);
if ( \$0 ~ /ORA-/ || /[Ff]uzzy/ )
{ # extract the error
errloc=index(\$0,"ORA-")
if (errloc > 0)
{ oraerr=substr(\$0,errloc);
if (index(oraerr,":") < 1)
{ oraloc2=index(oraerr," ") }
else
{ oraloc2=index(oraerr,":") }
oraloc2=oraloc2-1;
oraerr=substr(oraerr,1,oraloc2);
if (index(excldata,oraerr) < 1)
{ errfound = errfound +1; }
else # treat fuzzy as errors
{ errfound = errfound +1; }
END {
if (errfound > 0)
{ printf ("%s<BR>",OLDLINE); }
print olddate > "$LASTALERT";
function dtconv (dd, mon, yyyy, tim, sortdate) {
mth=index("JanFebMarAprMayJunJulAugSepOctNovDec",mon);
if (mth < 1)
{ return "00000000 00:00:00" };
# now get month number - make to complete multiple of three and divide
mth=(mth+2)/3;
sortdate=sprintf("%04d%02d%02d %s",yyyy,mth,dd,tim);
return sortdate;
!EOF
ERRMESS=$(nawk -f $BASEDIR/awkfile.awk $ALOG)
ERRCT=$(echo $ERRMESS|awk 'BEGIN {RS="<BR>"} END {print NR}')
rm $LASTALERT
if [ $ERRCT -gt 1 ]; then
echo "$ERRCT Errors Found \n"
echo "$ERRMESS"|nawk 'BEGIN {FS="<BR>"}{for (i=1;NF>=i;i++) {print $i}}'
exit 2
fi -
When you look at meeting room properties in Outlook 2010, you can see 'City', 'Country/Region' and 'Department' information.
Is there any way to get this information using EWS Java API?Hi Glen,
I am able to understand what u have said, but do not know how to implement it with meeting rooms....
If i am implementing
"Get all appointments between startDate and endDate in the specified folder, including recurring meeting occurrences" in ews-java-api, as you have mentioned above, i am able to get only my appointments from the start date to end date , as i
have given my email id and password, how to get my organization meeting room details, booked or not.
static ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
ExchangeCredentials credentials = new WebCredentials("[email protected]", "zzzz");
service.setCredentials(credentials);
try {
System.out.println("Check");
service.autodiscoverUrl("[email protected]",new RedirectionUrlCallback());
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
NameResolutionCollection nameResolutions = service.resolveName("SDB1",ResolveNameSearchLocation.DirectoryOnly, true);
System.out.println("nameResolutions==="+nameResolutions.getCount());
for(NameResolution nameResolution : nameResolutions)
System.out.println("NAME==="+nameResolution.getContact().getDisplayName());
The above code gives me the output like, the meeting room in my organization with word SDB1 are
Output:
nameResolutions===2
NAME===SDB1- TELCON - 1
NAME===SDB1-TELCON - 2
for. eg. I need to know today at what are the appointments in the room SDB1-TELCON2 and who all have booked the room.
I do not know how to implement for the meeting room can you please help me how to give it.
Thanks in advance. -
hello friends,
i want to know how to get Body of mail
thank u
bye
somuhai
i will describe in detail
i want to separate the body and attachment of body and i should save with the body with the .body extension and i will not change attachment's extension.
i use the message.getContent() to get body. it is working fine while for a mail with out attachment but for a mail with attachment diplayed as the object.
and i also used message[i].getInputStream() method to get body even then
i could not get and the outfile look's like this
----------MailBlocks_8C8578F65F2833A_23FC_9973_mblkn-m02.sysops.aol.com
Content-Type: text/plain; charset="us-ascii"
hello this test mail
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com
----------MailBlocks_8C8578F65F2833A_23FC_9973_mblkn-m02.sysops.aol.com
Content-Type: application/octet-stream; name="Test.java~"
Content-Disposition: attachment; filename="Test.java~"
Content-Transfer-Encoding: base64
aW1wb3J0IGphdmEuaW8uKjsKaW1wb3J0IGphdmEudXRpbC4qOwpjbGFzcyBUZX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iBlKQoJCXsKCQkJU3lzdGVtLm91dC5wcmludGxuKGUpOwoJCX0KCX0K
fQo=
----------MailBlocks_8C8578F65F2833A_23FC_9973_mblkn-m02.sysops.aol.com-- -
Error ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
hi,
i try to connect to oracle in c#2005. I'm using oralce 10.2.0.3.0 in window vista.
i can connect as user scott , but can't do the same thing with use sys like sysdba. i encouter error :
"ORA-28009: connection as SYS should be as SYSDBA or SYSOPER"
this is my code :
using System;
using System.Data.SqlClient;
using System.Data.OleDb;
namespace ConsoleApplication2
class Program
static void Main(string[] args)
string connectionString = "provider=MSDAORA;data source=ORCL;user id=sys;password=orcl";
OleDbConnection myOleDbConnection = new OleDbConnection(connectionString);
try
myOleDbConnection.Open();
Console.WriteLine("successfull");
Console.ReadLine();
catch (Exception ex)
Console.WriteLine(ex.Message);
Console.Read();
i
i have google about this error and see that some people use Oracle.DataAccess.Client namespace to solve this error. but i cant find this namespace reference.
i want to connect to oracle in c# 2005 as user id = sys.
so , please help me.
thanksit should be there regardless of the version you installed, go into your GAC and give it a look over (C:\Windows\assembly) the Oracle.** should be there after a successful installation. It is actually in your best interest to get the latest and greatest, the versions are backward compatible (I believe they all work to 9i++)
You can also goto
%ora_home%\odp.net
it will have sample c# and vb applications there
(%ora_home% tends to be c:\oracle\product\#####\Client_1\)
Have a look over the odp.net demos, that may very well put you on the correct track to getting things working. -
How to get the current user name in Provider hosted app using appOnlyAccessToken
Hi,
Please help me, how to get the HostWeb UserName in Provider Hosted App
i have Provider hosted App, and Anonymous Authentication is enabled on AppWeb, using appOnlyAccessToken
Below code does not return current user who Log in in hostweb, it is returning
SharePoint App (app@sharepoint)
Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
clientContext.Load(web.CurrentUser);
clientContext.ExecuteQuery();
clientContext.Web.CurrentUser.LoginName;
Below code gives a blank name when Anonymous Authentication is enabled, if Anonymous Authentication is disabled
app prompts for credentials
HttpContext.Current.User.Identity.Name
Thanks
RamHi,
Since you are using a provider Hosted app if you want to get the current logged in name than do not use AppOnlyAccessToken else use AccessToken which is App + user Context AccessToken.
then
Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
clientContext.Load(web.CurrentUser);
clientContext.ExecuteQuery();
clientContext.Web.CurrentUser.LoginName;will return proper user Name.
HttpContext.Current.User.Identity.Name will never return the user as this object is related to IIS server of your App Server not sharepoint.you should set this as Anonymous in case of provider hosted app.you can download the below sample which uses the AccessToken which has user name in it.https://code.msdn.microsoft.com/Working-provider-hosted-8fdf2d95
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer
Maybe you are looking for
-
Tethering is not working with static IP address iOS 5, 6, 6.1
When I use in our country - Czech Republic (carrier Telefonica O2) static IP address, I must use APN "internet.s". When I turn-on Personal Hotspot with this APN, it is possible to connect to this wifi hotspot, but withnout access to internet. iOS 5,
-
I have a subVI that I place in a subpanel on different main VIs using dynamic calls. I want the dynamic VI to respond to keypresses on the main VI, which I currently do through a registered event that has a static VI reference to the main VI, which
-
Enabling 'submit' button in email activity
All, version:11.1.1.4 I'm trying to configure an email activity in an async bpel as below <body><form action="http://localhost:7001/soa-infra/services/default/AdvanceShipNotice/AdvanceShipNoticeResend?WSDL"> First name:<br> <input type="text" name="f
-
Deployment Error ( ClassNotFoundException ) Adobe Interactive Forms
Hi Experts, I am trying to develop some Interactive adobe forms in my system. I designed the applicationa and deployed it. But ! I am getting the following error. java.lang.ClassNotFoundException: suresh.wdp.InternalTravelRequestCom - Loader Info - C
-
Oracle Installer:[INS-13001] Environment does not meet minimum requirements
Hi, I am trying to install the latest Oracle Database software on the latest Oracle Enterprise Linux and the installer returns "Environment does not meet minimum requirements". Oracle Enterprise Linux 6.3 x86-32 Oracle Database 11.2.0.3 x86-32 cd /st