AIR-CAP2602I Edit Config File - No Username/Password
I want to use an old Configuration File for my AIR-CAP2602i-K9 but it has a Password that is unknown, is there a way to remove the Username and Password portion of the Configuration File so that hopefully it would just keep either the current credentials or set to default.
Any help would be appreciated. Thanks.
Hi
Yes, you can remove that line if you want. Then it would be default Cisco/Cisco would be the default credential.
Anytime you can create a user & delete the default credential. Here is an example how I create a user called "admin" with password "Cisco123" while deleting the default user.
AAP1(config)#no username Cisco
AAP1(config)#username admin password 0 Cisco123
Also make sure you change enable password as well (by default Cisco)
AAP1(config)#enable secret xxxx
HTH
Rasika
**** Pls rate all useful responses ****
Similar Messages
-
Using Bash script to edit config file
This is a really simple question, but given that I'm just learning Bash scripting and having this solved now would be really illustrative for me, I would really thank some help here.
I'm using uzbl, and running Tor+Polipo. So, as you will see below in the tail of the config file, there is a line to redirect the requests of uzbl through Polipo.
# === Post-load misc commands ================================================
sync_spawn_exec @scripts_dir/load_cookies.sh
sync_spawn_exec @scripts_dir/load_cookies.sh @data_home/uzbl/session-cookies.txt
# Set the "home" page.
#set uri = https://duckduckgo.com
# Local polipo proxy
set proxy_url = http://127.0.0.1:8123
# vim: set fdm=syntax:
What I want to accomplish is to comment in/out that line with a key shortcut on Awesome. I've thought of doing 2 scripts to do so and using 2 differente key shortcuts, but I want to "toggle" the proxy redirection with only 1 shortcut. To do so, I suppose that the script should go something like:
if
tool 'set proxy_url = http://127.0.0.1:8123' config_file
then
tool '#set proxy_url = http://127.0.0.1:8123' config_file
else
if
tool '#set proxy_url = http://127.0.0.1:8123' config_file
then
tool 'set proxy_url = http://127.0.0.1:8123' config_file
fi
fi
I know little about sed, but I think is the tool for this job. The most intriging part to me is to ask sed to print the regular expression when it finds it in the config file, and use that as an input in the conditional statement.
Well, this is a mess I have done here. Hope there is a simple answer to this.
Thanks in advance.-You can do this with a single sed command:
sed -i 's/^#set proxy_url/set proxy_url/;
t end;
s/^set proxy_url/#set proxy_url/;
: end' config_file
This edits the file in-place (-i) and first tries to replace the commented with the uncommented line. If that suceeds, sed jumps to the "end" label. If not, it tries to replace the uncommented with the commented line. Thus you don't have to include any logic about the current state: if the first substitution succeeds, the line was obviously commented, if not, it was uncommented, and the second substitution should succeed.
Note that my knowledge of sed is very limited. There might be a simpler way to do this.
EDIT: For the sake of example, here's how to do the same in bash using regular expressions. Note how this script needs to use a temporary file to simulate in-place editing, how it needs to process the file line by line manually, etc. All things that sed does out of the box...
#!/bin/bash
tmp=test.conf.tmp
echo -n "" > "$tmp"
while read line; do
if [[ "$line" =~ ^#set\ proxy ]]; then
echo "${line/\#/}" >> "$tmp"
elif [[ "$line" =~ ^set\ proxy ]]; then
echo "#$line" >> "$tmp"
else
echo "$line" >> "$tmp"
fi
done < test.conf
mv test.conf.tmp test.conf
To answer your original question, the line
if [[ "$line" =~ ^#set\ proxy ]]; then
reads: if the line begins with a "#", followed by "set proxy", then...
Last edited by hbekel (2011-03-20 10:40:16) -
App for editing config files (like arch assistant but gtk)
as the title says i need an app for editing the config files in arch like arch assistant but i dont like the qt3 interface
Alternative app might possibly be arxin http://aur.archlinux.org/packages.php?ID=15710 Don't know if it's as good as archassistant, I don't use either.
I can't speak from experience but some have had success with making qt applications look like gtk with qgtkstyle http://aur.archlinux.org/packages.php?ID=16964 -
Cannot start server after manually editing config files
I tried to add a service to default .props, but any change causes the server to not start. If I edit an xml file, it complains about a missing tag; if its plain text, then it can't seem to set properties right. I don't even enter a carriage return.
I use vi to edit the files. Is there anything else I can use??Sun Server 8.0 PE on Linux.
I added the httpjms value to the imq.service.activelist property in imq default.properties:
imq.service.activelist=jms,admin,httpjms
And that causes the server to not start with this error in server.log
MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:7676]. - cause: java.net.ConnectException: Connection refused -
Arch trashes config files in /etc?
Hi everyone, I just installed Arch today in a virtual machine to get a feel for it (trying to get away from the grind of Gentoo), and ran into the first obstacle...
I installed joe with "pacman -S joe", then I edited /etc/joe/joerc. That's when it occurred to me to check how Arch handles config file upgrades, so I just reinstalled joe with the same command, and to my amazement, all modifications from /etc/joe/joerc were gone and there was no backup in sight. Pacman simply overwrote the files in /etc/joe.
I was perusing the Wiki while downloading the CD image and the information there suggested that Pacman would save a backup copy of the previous config file, instead of just blindly overwriting. So, am I doing anything wrong? Does it put the backups in some different directory? Or is this feature not yet implemented? I'm really stuck on this, any help would be really appreciated.
If it helps, the CD version I downloaded is Archlinux-i686-2007.05-Duke-Linuxtag2007.current.iso, also during installation I selected only the "base" package set, and after installation I pointed the "current" repository in /etc/pacman.conf to the CD, so I could try out package management without waiting for packages to download.
P.S. The forum registration form is a bit broken, when it checks if you are a bot by asking the name of the distribution, it refused the answer "Arch Linux" and called me a bot. I obviously got past it, but still, it should accept "Arch Linux" because that is the name on the main web page and in the titles of all sub pages.Oh, I see. You are right, the backup files section is empty, thanks.
This presents few more questions:
1) In your experience, are the packages in Arch generally sloppy like this when it comes to handling config files, or was this just bad luck to have a rare bug in my first ever installed Arch package?
2) Isn't this kind of handling of config files fragile? It would really suck to be toiling all night over some complex config file, only to have your hard work blown away on next upgrade because the packager made a typo in the list of backup files.
3) Would it be better to have a global option somewhere to specify whole directory trees as protected user-edited config files, instead of each package trying (and sometimes failing, obviously) to specify everything? Can you specify whole of /etc/* with the NoUpgrade option you mentioned, instead of each file one by one? -
How to hide password in forms config file
Hi
Is there a way to hide the password in the forms config file?
Regards,
Néstor BoscánHi,
you cannot. For a future version we are condering password indirection, which is a feature of OC4J. However, until then the option to use is to implement Single Sign-On with Forms as this storeds username and password in OID
Frank -
ORA-01017: invalid username/password; how to find out orapwd files 's pwd
Hi, gurus,
I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
ORA-01017: invalid username/password; logon denied
Is this means the sys password I provided is not the one generated as per orapwd utility?
however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
Anybody help here?
Thanks.Hello;
In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
Proof :
Re: Transport service doesn't work with error ORA-16191
Best Regards
mseberg
Double check of my notes
ORA-01017
Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
Edited by: mseberg on Jul 6, 2012 6:30 AM -
RDS 2012 - Embed username/password in RDP file
Hi all,
I have tested editing an RDP file internally and embedding a username/password(hashed) in it so that it automatically logs on.
This works fine from a PC on the network.
I've tried to do the same from a PC connecting in through an RDS Gateway but it prompts for a password when launching the RDP file. Is it possible to embed the username/password(hashed) when connecting via a gateway?
Thanks,
Paul.Hi Paul,
No, the credentials in the rdp file cannot be used for RD Gateway.
-TP -
Hi all,
Subjects says it: how to hide username and password in OMBPlus logs.
Any ideas...?
Br: YkspistoI don't use default OMB+ logging for this reason, plus I often want more robust logging. I also built a wrapper for executing OMB+ statements to simplify my exception handling in my main scripts. By catching both the return string from a statement as well as the exception strings, I keep full control over what gets logged.
HEre is the meat of my main library file:
# PVCS Version Information
#/* $Workfile: omb_library.tcl $ $Revision: 2.9 $ */
#/* $Author: michael.broughton $
#/* $Date: 10 Mar 2009 11:04:50 $ */
# Default logging function.
# Accepts inputs: LOGMSG - a text string to output
proc log_msg {LOGTYPE LOGMSG} {
#logs to screen and file
global SPOOLFILE
if {![info exists SPOOLFILE]} {
puts "LOGFILE UNDEFINED! :-> $LOGTYPE:-> $LOGMSG"
} else {
set fout [open "$SPOOLFILE" a+]
puts $fout "$LOGTYPE:-> $LOGMSG"
puts "$LOGTYPE:-> $LOGMSG"
close $fout
proc log_msg_file_only {LOGTYPE LOGMSG} {
#logs to file only
global SPOOLFILE
if {![info exists SPOOLFILE]} {
puts "LOGFILE UNDEFINED! :-> $LOGTYPE:-> $LOGMSG"
} else {
set fout [open "$SPOOLFILE" a+]
puts $fout "$LOGTYPE:-> $LOGMSG"
close $fout
proc exit_failure { msg } {
log_msg ERROR "$msg"
log_msg ERROR "Rolling Back....."
exec_omb OMBROLLBACK
log_msg ERROR "Exiting....."
# return and also bail from calling function
return -code 2
proc exec_omb { args } {
# Uncomment if you want all source commands spooled out to log
# disabled in production to avoid logging passwords.
# log_msg_file_only OMBCMD "$args"
# the point of this is simply to return errorMsg or return string, whichever is applicable,
# to simplify error checking using omb_error{}
if [catch { set retstr [eval $args] } errmsg] {
log_msg OMB_ERROR "$errmsg"
log_msg "" ""
return $errmsg
} else {
log_msg OMB_SUCCESS "$retstr"
log_msg "" ""
return $retstr
proc omb_error { retstr } {
# OMB and Oracle errors may have caused a failure.
if [string match OMB0* $retstr] {
return 1
} elseif [string match ORA-* $retstr] {
return 1
} elseif [string match java.* $retstr] {
return 1
} elseif [string match Error* $retstr] {
return 1
} else {
return 0
proc ers_omb_connect { OWB_USER OWB_PASS OWB_HOST OWB_PORT OWB_SRVC OWB_REPOS } {
# Commit anything from previous work, otherwise OMBDISCONNECT will fail out.
catch { set retstr [ OMBSAVE ] } errmsg
log_msg LOG "Checking current connection status...."
#Ensure that we are not already connected.
if [catch { set discstr [ OMBDISCONNECT ] } errmsg ] {
set discstr $errmsg
# Test if message is "OMB01001: Not connected to repository." or "Disconnected."
# any other message is a showstopper!
if [string match Disconn* $discstr ] {
log_msg LOG "Success Disconnecting from previous repository...."
} else {
# We expect an OMB01001 error for trying to disconnect when not connected
if [string match OMB01001* $discstr ] {
log_msg LOG "Disconnect unneccessary. Not currently connected...."
} else {
log_msg ERROR "Error Disconnecting from previous repository....Exiting process."
exit_failure "$discstr"
set print [exec_omb OMBCONNECT $OWB_USER/$OWB_PASS@$OWB_HOST:$OWB_PORT:$OWB_SRVC USE REPOSITORY '$OWB_REPOS']
if [string match *Connected* $print] {
return $print
} else {
return "OMB0-Unknown Error connecting. Validate connection settings and try again"
}and I handle setting up the log file with a standard header at the top of each script, as illustrated here in a script I use to set up and register a location and control centers for when we build a new dev environment. Most of the referenced variables are held in a config script that we use to define our current working environment, which I am not attaching as the names are pretty descriptive I think.
# PVCS Version Information
#/* $Workfile: setup_dev_location.tcl $ $Revision: 2.1 $ */
#/* $Author: michael.broughton $
#/* $Date: 27 Nov 2008 10:00:00 $ */
# Get Current Directory and time
# supporting config and library files must be in the same directory as this script
set dtstmp [ clock format [clock seconds] -format {%Y%m%d_%H%M}]
set scrpt [ file split [file root [info script]]]
set scriptDir [ file dirname [info script]]
set scriptName [ lindex $scrpt [expr [llength $scrpt]-1]]
set cnfg_lib "$scriptDir/ombplus_config.tcl"
set owb_lib "$scriptDir/omb_library.tcl"
set sql_lib "$scriptDir/omb_sql_library.tcl"
# Import Lbraries
#get config file
source $cnfg_lib
#get standard library
source $owb_lib
#get SQL library
source $sql_lib
# Set Logfile
# This will overwrite anything set in the config file.
set LOG_PATH "$scriptDir/logs"
file mkdir $LOG_PATH
set SPOOLFILE ""
append SPOOLFILE $LOG_PATH "/log_" $scriptName "_" $dtstmp ".txt"
# Connect to repos
set print [ers_omb_connect $OWB_DEG_USER $OWB_DEG_PASS $OWB_DEG_HOST $OWB_DEG_PORT $OWB_DEG_SRVC $OWB_DEG_REPOS]
if [omb_error $print] {
log_msg ERROR "Unable to connect to repository."
log_msg ERROR "$print"
log_msg ERROR "Exiting Script.............."
return
} else {
log_msg LOG "Connected to Repository"
# Connect to project
set print [exec_omb OMBCC '$PROJECT_NAME']
if [omb_error $print] {
exit_Failure "Project $PROJECT_NAME does not exist. Exiting...."
} else {
log_msg LOG "Switched context to project $PROJECT_NAME"
# Check Existance of Oracle Module
set print [exec_omb OMBCC '$ORA_MODULE_NAME']
if [omb_error $print] {
exit_Failure "Module $ORA_MODULE_NAME does not exist. Creating...."
} else {
log_msg LOG "Confirmed existance of module $ORA_MODULE_NAME"
#switch back up to project level. You cannot attach locations to a module if you are in it.
exec_omb OMBCC '..'
log_msg LOG "Switched context back up to project $PROJECT_NAME"
# Force Re-registration of OWB User
log_msg LOG "(Re-)Registering user $DATA_LOCATION_USER"
log_msg LOG "Disconnecting from Corporate Design Repository"
exec_omb OMBCOMMIT
exec_omb OMBDISCONNECT
log_msg LOG "Connecting to Runtime Repository"
set print [ers_omb_connect $CONTROL_CENTER_SCHEMA $CONTROL_CENTER_PASS $DATA_LOCATION_HOST $DATA_LOCATION_PORT $DATA_LOCATION_SRVC $CONTROL_CENTER_SCHEMA]
set print [ exec_omb OMBUNREGISTER USER '$DATA_LOCATION_USER' IDENTIFIED BY '$DATA_LOCATION_PASS' ]
set print [ exec_omb OMBREGISTER USER '$DATA_LOCATION_USER' SET PROPERTIES (DESCRIPTION, ISTARGETSCHEMA, TARGETSCHEMAPWD) VALUES ('$DATA_LOCATION_USER', 'true', '$DATA_LOCATION_PASS')]
if [omb_error $print] {
exit_failure "Unable to register user '$DATA_LOCATION_USER'"
log_msg LOG "Disconnecting from Runtime Repository"
exec_omb OMBCOMMIT
exec_omb OMBDISCONNECT
log_msg LOG "Re-Connecting to Corporate Design Repository"
set print [ers_omb_connect $OWB_DEG_USER $OWB_DEG_PASS $OWB_DEG_HOST $OWB_DEG_PORT $OWB_DEG_SRVC $OWB_DEG_REPOS]
log_msg LOG "Changing context back to project $PROJECT_NAME"
set print [exec_omb OMBCC '$PROJECT_NAME']
# Validate to Control Center
set lst [OMBLIST CONTROL_CENTERS]
if [string match *$CONTROL_CENTER_NAME* $lst] {
log_msg LOG "Verified Control Center $CONTROL_CENTER_NAME Exists."
set lst [OMBLIST LOCATIONS]
if [string match *$DATA_LOCATION_NAME* $lst] {
log_msg LOG "Verified Location $DATA_LOCATION_NAME Exists."
log_msg LOG "Setting Control Center as default control center for project"
exec_omb OMBCC 'DEFAULT_CONFIGURATION'
set print [exec_omb OMBALTER DEPLOYMENT 'DEFAULT_DEPLOYMENT' SET REF CONTROL_CENTER '$CONTROL_CENTER_NAME' ]
if [omb_error $print] {
exit_failure "Unable to set Control Center $CONTROL_CENTER_NAME in default configuration"
exec_omb OMBCOMMIT
exec_omb OMBCC '..'
log_msg LOG "Setting Passwords to enable import and deploy"
set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
if [omb_error $print] {
exit_failure "Unable to log onto location '$DATA_LOCATION_NAME' with password $DATA_LOCATION_PASS"
exec_omb OMBCOMMIT
log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
if [omb_error $print] {
exit_failure "Unable to connect to Control Center $CONTROL_CENTER_NAME"
exec_omb OMBCOMMIT
log_msg LOG "Connected.............."
} else {
log_msg LOG "Control Center Exists, but Location Does Not."
log_msg LOG "Creating Code Location."
log_msg LOG "Checking Global_names...."
set dbGlobalNames FALSE
set oraConn [oracleConnect $OWB_DEG_HOST $OWB_DEG_SRVC $OWB_DEG_PORT $OWB_DEG_USER $OWB_DEG_PASS ]
set oraRs [oracleQuery $oraConn "select value pvalue FROM V\$PARAMETER where name = 'global_names'"]
while {[$oraRs next]} {
set dbGlobalNames [$oraRs getString pvalue]
$oraRs close
$oraConn close
log_msg LOG "Global_names are $dbGlobalNames...."
if [string match TRUE $dbGlobalNames] {
set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD, DATABASE_NAME) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS','$DATA_LOCATION_SRVC' ) ]
} else {
set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS') ]
if [omb_error $print] {
exit_failure "Unable to create location '$DATA_LOCATION_NAME'"
exec_omb OMBSAVE
log_msg LOG "Adding Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
set print [exec_omb OMBALTER CONTROL_CENTER '$CONTROL_CENTER_NAME' ADD REF LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (IS_TARGET, IS_SOURCE) VALUES ('true', 'true') ]
if [omb_error $print] {
exit_failure "Unable to add Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
exec_omb OMBCOMMIT
log_msg LOG "Setting Control Center as default control center for project"
exec_omb OMBCC 'DEFAULT_CONFIGURATION'
set print [exec_omb OMBALTER DEPLOYMENT 'DEFAULT_DEPLOYMENT' SET REF CONTROL_CENTER '$CONTROL_CENTER_NAME' ]
if [omb_error $print] {
exit_failure "Unable to set Control Center $CONTROL_CENTER_NAME in default configuration"
exec_omb OMBCOMMIT
exec_omb OMBCC '..'
log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
if [omb_error $print] {
exit_failure "Unable to connect to Control Center $CONTROL_CENTER_NAME"
exec_omb OMBCOMMIT
log_msg LOG "Registering Code Location."
set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
exec_omb OMBCOMMIT
set print [exec_omb OMBREGISTER LOCATION '$DATA_LOCATION_NAME']
if [omb_error $print] {
exit_failure "Unable to register Location $DATA_LOCATION_NAME"
exec_omb OMBCOMMIT
} else {
log_msg LOG "Need to create Control Center $CONTROL_CENTER_NAME."
log_msg LOG "Creating Code Location."
log_msg LOG "Checking Global_names...."
set dbGlobalNames FALSE
set oraConn [oracleConnect $DATA_LOCATION_HOST $DATA_LOCATION_SRVC $DATA_LOCATION_PORT $CONTROL_CENTER_SCHEMA $CONTROL_CENTER_PASS ]
set oraRs [oracleQuery $oraConn "select value pvalue FROM V\$PARAMETER where name = 'global_names'"]
while {[$oraRs next]} {
set dbGlobalNames [$oraRs getString pvalue]
$oraRs close
$oraConn close
log_msg LOG "Global_names are $dbGlobalNames...."
if [string match TRUE $dbGlobalNames] {
set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD, DATABASE_NAME) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS','$DATA_LOCATION_SRVC' ) ]
} else {
set print [exec_omb OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS') ]
if [omb_error $print] {
exit_failure "Unable to create location '$DATA_LOCATION_NAME'"
exec_omb OMBCOMMIT
log_msg LOG "Creating Control Center"
set print [exec_omb OMBCREATE CONTROL_CENTER '$CONTROL_CENTER_NAME' SET PROPERTIES (DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE_NAME, USER, SCHEMA, PASSWORD) VALUES ('ERS Datamart Control Center','$CONTROL_CENTER_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER', '$CONTROL_CENTER_SCHEMA','$DATA_LOCATION_PASS') ]
if [omb_error $print] {
exit_failure "Unable to create control center '$CONTROL_CENTER_NAME'"
exec_omb OMBCOMMIT
log_msg LOG "Adding Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
set print [exec_omb OMBALTER CONTROL_CENTER '$CONTROL_CENTER_NAME' ADD REF LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (IS_TARGET, IS_SOURCE) VALUES ('true', 'true') ]
if [omb_error $print] {
exit_failure "Unable to add Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
exec_omb OMBCOMMIT
log_msg LOG "Setting Control Center as default control center for project"
exec_omb OMBCC 'DEFAULT_CONFIGURATION'
set print [exec_omb OMBALTER DEPLOYMENT 'DEFAULT_DEPLOYMENT' SET REF CONTROL_CENTER '$CONTROL_CENTER_NAME' ]
if [omb_error $print] {
exit_failure "Unable to set Control Center $CONTROL_CENTER_NAME in default configuration"
exec_omb OMBCOMMIT
exec_omb OMBCC '..'
log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
if [omb_error $print] {
exit_failure "Unable to add Location $DATA_LOCATION_NAME to Control Center $CONTROL_CENTER_NAME"
exec_omb OMBCOMMIT
log_msg LOG "Registering Code Location."
set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
exec_omb OMBCOMMIT
set print [exec_omb OMBREGISTER LOCATION '$DATA_LOCATION_NAME']
if [omb_error $print] {
exit_failure "Unable to register Location $DATA_LOCATION_NAME"
exec_omb OMBCOMMIT
# Assign location to Oracle Module
log_msg LOG "Assigning Code Location to Oracle Module."
set print [ exec_omb OMBALTER ORACLE_MODULE '$ORA_MODULE_NAME' ADD REFERENCE LOCATION '$DATA_LOCATION_NAME' SET AS DEFAULT ]
if [omb_error $print] {
exit_failure "Unable to add reference location '$DATA_LOCATION_NAME' to module '$ORA_MODULE_NAME' "
set print [ exec_omb OMBALTER ORACLE_MODULE '$ORA_MODULE_NAME' SET REFERENCE METADATA_LOCATION '$DATA_LOCATION_NAME' ]
if [omb_error $print] {
exit_failure "Unable to set metadata location '$DATA_LOCATION_NAME' on module '$ORA_MODULE_NAME' "
set print [ exec_omb OMBALTER ORACLE_MODULE '$ORA_MODULE_NAME' SET PROPERTIES (DB_LOCATION) VALUES ('$DATA_LOCATION_NAME') ]
if [omb_error $print] {
lexit_failure "Unable to add db_location '$DATA_LOCATION_NAME' to module '$ORA_MODULE_NAME' "
exec_omb OMBCOMMIT
exec_omb OMBDISCONNECT -
Powershell Copy-file: Username & Password
I am very new to powershell (just a couple days). I'm sure its very simple, but cannot find any articles with a clear description.I am working on a script to push one file to multiple PC's listed in a text file. All the machines have the same admin account and password. How can I incorporate the login into the script so it doesn't prompt each time? Here is what I have so far.Thanks in advance for any help!Powershell$computers = Read-Host "Enter Location of .txt File"$source = Read-Host "Enter File Source"$dest = Read-Host "Enter File Destination"Get-Content $Computers | foreach {Copy-Item $Source -Destination \\$_\c$\$Destination}
This topic first appeared in the Spiceworks Communitysorry - I should of put that in my first post...
I tried the ip ftp username and password but it didn't like the commands. Is there somethign else I'm missing that I ned to do first ?
Here's the error I'm getting when trying ip ftp username
mensa# config t
Enter configuration commands, one per line. End with CNTL/Z.
mensa(config)# ip ftp username
^
% invalid command detected at '^' marker.
mensa(config)# ip ftp ?
% invalid command
mensa(config)# ip ?
access-list Configure ip access list
default-gateway Configure ip default gateway
default-network Configure ip default network
domain-list Add additional domain names
domain-lookup Enable/Disable DNS
domain-name Specify default domain name
name-server Specify nameserver address
route Configure static routing
routing Enable ip routing
tcp Enable ip tcp path-mtu-discovery
mensa(config)# ip
I can ftp the file no problem using anonymous username/password when prompted, I'm just trying to pass that info in without being prompted.
Thanks
Will rate the posts once I get to the botto of this ;-) -
I cannot seem to edit PDF files on Adobe Acrobat as it says the files are protected and I need to enter a Permissions Password?
If the files have a permissions password, you need to know it, and remove security, before you can edit the files. That is correct.
-
Getting Error: Config file does not have IDStore WLS Administrator Username
I am configuring OIM/OAM in HA mode following the EDG:
- Enterprise Deployment Guide for Oracle Identity Management
- 11g Release 1 (11.1.1.5)
I am at step
- 10.4.5 Creating Users and Groups for Oracle WebLogic Server
I am executing this command:
- idmConfigTool.sh -prepareIDStore mode=WLS input_file=wls.props
Where wls.props has these values:
IDSTORE_HOST: admin.mycompany.com
IDSTORE_PORT: 389
IDSTORE_BINDDN: cn=orcladmin
IDSTORE_USERNAMEATTRIBUTE: cn
IDSTORE_LOGINATTRIBUTE: uid
IDSTORE_USERSEARCHBASE: cn=Users,dc=mycompany,dc=com
IDSTORE_GROUPSEARCHBASE: cn=Groups,dc=mycompany,dc=com
IDSTORE_SEARCHBASE: dc=lispa,dc=local
POLICYSTORE_SHARES_IDSTORE: true
and I am getting this error:
Config file does not have IDStore WLS Administrator Username
Any idea why ?I have added to the property files:
IDSTORE_SYSTEMIDBASE : cn=systemids,dc=mycompany,dc=com
But its not solving the issue.
Here is the log:
Jun 3, 2013 10:01:55 AM oracle.idm.automation.util.Util setLogger
WARNING: Logger initialized in warning mode
Jun 3, 2013 10:01:59 AM oracle.idm.automation.impl.oid.handlers.OIDIntegrationHandler validateInputParams
SEVERE: Config file does not have IDStore WLS Administrator Username
Please advise on how to resolve this issue -
Id like to do a custom version of FF for our machines (Linux based) which prevents the auto update mechanism working and prevents the user re-enabling it. Any updates would be done by the Linux .deb package management system.
Is there a way to do with by editing the config files of the default binary version or do I need to build my own from source?You can lock the related pref(s).
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);
See:
* http://kb.mozillazine.org/Locking_preferences -
OracleException ORA-1017: invalid username/password; logon denied at Oracle
Hi,
SYS@EHS06T>select from v$version;*
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
I have checked the PWADM and PWSYS account and tried to connect to the DB using sqlplus both. I didn’t got any error while connecting.
Also checked the Event viewer logs and found nothing.
But end user getting below error from application :
Message: Error saving emissions
Oracle.DataAccess.Client.OracleException ORA-1017: invalid username/password; logon denied at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at Ess.Framework.DA.BulkOperations.InsertDataOracle(String tableName, DataTable table, Int32 timeout) at Ess.Framework.DA.BulkOperations.InsertData(String tableName, DataTable table) at Ess.ESuite.Air.BO.Calculator.Controller.SaveEmissions(List`1 list) at Ess.ESuite.Air.BO.Calculator.Controller.SaveCachedEmissions()
Request your assistance in solving this issue. Thanks!hi,
Try a SQL*Net trace on the client (your PC) for the connection that works and the one that does not. Compare to see what is different.
Client Side Tracing:
Your SQLNET.ORA file should contain the following lines to produce a client side trace file:
trace_level_client = 10
trace_unique_client = on
trace_file_client = sqlnet.trc
trace_directory_client =
regards, -
Unable to send photos because server doesn't recognize username/password combo
Have a MacBook Air using iPhoto 9.5.1 and operating system OS X 10.9.3.
I have tried to share photos with email using my Yahoo account. I receive the following message whenever I attempt to send a photo "username/password not recognized by email server."
I have gone into my accounts numerous times in System preferences. My username/password combo is recognized there. I have also changed my password on Yahoo and in my accounts. But I still receive the above message.
Anyone have any suggestions?Have a current backup before proceeding here. Time Machine or otherwise.
If no outbound messages are sent... There are two different server definitions and two different places where you need a user and a password, the first and most obvious setting within mail is for receiving mail; the POP or IMAP setting. Everybody gets that one. To get to the credentials and the password used to send mail messages (the one that folks don't find as easily), Mail > Preferences > Accounts > select the account > switch the Outgoing Mail Server (SMTP) to "Edit SMTP Server List", then find the Yahoo SMTP server entry, then fix the password there.
Here's the Apple mail troubleshooting information.
If that fails, remove the entry and re-add it.
If smaller messages are sent correctly and larger messages are blocked, Yahoo may be restricting the size of the message(s) being sent. Try smaller messages as a test, or use a file sharing service to transfer the images, or maybe wait for the OS X Yosemite Mail Drop feature.
PS and FWIW, this message was originally posted in the OS X Server forum, and you're not running OS X Server here — OS X Server includes various network services, including a mail server — a mail server is what Yahoo is running here, but OS X Server allows folks to configure and run a mail server locally on a Mac Mini or some other Mac configured as a server. Your MacBook Air would then connect into that server, in addition to or in place of the Yahoo server. Like most other mail servers, the mail server within OS X Server can be configured to block larger messages, too.
Maybe you are looking for
-
Why do i need silverlight and flash player "all of a sudden", on my brand new mac?
I dont have a "message", team. I just want to ask a question.
-
Call history issues win lumia 710
my lumia 7100 is updated to the latest available firmware. i have realised an issue in the call history part... each time we make a call to a contact it shows that many notifications in the "call history"... this needs to be fixed....
-
Can anyone suggest best 500 GB external hard drive for MAC PRO?
Genius Bar rep told me to back up hard drive before delving into whirring tower... Any suggestions for a 500 GB automatic external hard drive? I've researched several, but they all seem to have drawbacks. Reliability and a quiet fan are priorities. T
-
How to make the tableCellRenderer work correctly!
i have a simple TableCellRenderer as the following: public class ErrorCellRenderer extends DefaultTableCellRenderer { public ErrorCellRenderer() { //setOpaque(true); public Component getTableCellRendererComponent(JTable table, Object value, boolean i
-
Hey my compaq presario cq3000 cant upload video clips with firewire
i installed a pci firewire card and it says its installed and running fine, but my computer help says "This version of Windows does not support using IEEE 1394 (also known as FireWire, i.Link, or Lynx) for networking. If you were using IEEE 1394 for