Apache password file

I am serving some sites from my iMac G5 running Leopard (not Server). I want to establish a password file to restrict access to one of my virtual hosts. I had accomplished this under previous versions of Mac OS X but somehow the same actions don't work under Leopard. When I run htpasswd under terminal trying to establish a password file at
/usr/local/apache/passwd/passwords
or at
/private/etc/apache2/passwd/passwords
I get "cannot create" so and so
I think my problem is that I don't actually know where or which version of apache is running (it would be the default version for Leopard since I haven't done anything fancy to make it something else).
Can anybody help me see what I am doing wrong?
Thanks

The default is /private/etc/apache2/
Did you sudo htpasswd? Did you create your password directory first?

Similar Messages

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • How to change default location of password file ?

    Hi all,
    Can i change the location of my password file from default to any other user defined location ?
    If yes then how ?
    Thanx in advance.
    Deep

    Dad you moved here?
    Can i change the location of my password file ?

  • How do i find the location of Oracle password file in the HDD

    we giv the location of the password file while we use the orapwd command to create one.
    later if we forget the location of the password file (incase it is not at the default location) then is there a way to find it or do we just create a new password file?
    secondly, for oracle to use the password file we giv the remote_login_passwordfile='EXCLUSIVE' in the parameter file. wat tells oracle the location of the exact password file??
    Thanks
    Arvind
    Edited by: iinfi on Sep 29, 2008 12:15 AM

    The default location are OS dependant.
    On Unix/Linus it is under $ORACLE_HOME/dbs
    On Windows, it is under %ORACLE_HOME%/database
    To change the default location, nothing inside database, but :
    On Unix/Linux, you have to create a symbolic link for that file to the target location
    On Windows, you have to change env variable (regedit) ORA_PWFILE and ORA_SID_PWFILE
    So, you have to check this setting for the real password file location.
    Nicolas.

  • Configuring password file in oracle 10g

    Hi
    Can anyone here guide me to the steps to be followed in configuring password file.
    I am learning cloning using RMAN. For that purpose I need to configure password file at first.
    I created the password file using orapwd utility.
    and then made the required changes in tnsnames.ora and listener.ora files. Reloaded listener.
    Set SQLNET.AUTHENTICATION_SERVICES = (NONE) in the sqlnet.ora file
    Made the changes required in the initialization parameter file for the duplicate database instance.
    Next, export ORACLE_SID= <DUPLICATE DATABASE NAME>
    CREATE SPFILE FROM PFILE
    STARTUP FORCE NOMOUNT;
    rman TARGET sys/password@target-tnsname AUXILIARY sys/password@duplicate-tnsname
    At this stage, I get the below error.
    RMAN-00554  initialization of  internal recovery manager package  failed
    RMAN- 04006  error from auxiliary  database:  ORA- 01031 :  Insufficient privileges

    userark160 wrote:
    rman TARGET sys/password@target-tnsname AUXILIARY sys/password@duplicate-tnsname
    At this stage, I get the below error.
    RMAN-00554  initialization of  internal recovery manager package  failed
    RMAN- 04006  error from auxiliary  database:  ORA- 01031 :  Insufficient privileges
    Are the Auxiliary and Target databases on the same machine?
    Can you also check the parameter Local_Listener for Auxiliary Database?
    Regards,
    Z.K.

  • Formatting the encrypted hard drive or intalling OS again with PXE boot can change TPM owner password file?

    Hello,
    1) I realized that when MBAM bitlocker encryption start both Recovery key and TPM owner password file are send to MBAM server. If we change the computername of the notebook, we can find out Recovery key from MBAM server with the KeyID as we can read it from
    computer screen, but we can not find out TPM owner password file with the existing new computername information from MBAM server, so we have to know old names of all computers but it is impossible. So we have to do decryption and clearing TPM than we
    can again encrypted it with its new name. is it right?
    2) We will going to deploy mbam encryption to our notebooks. But sometimes when a person quit the job his notebook can given to another person or new employee and based to our procedure when a notebook will given to another user it should installed
    OS again with PXE boot. I would to know will it be enough to installing with this method again with a diffrent computer name or should I firstly clear its TPM than install OS with PXE to keep TPM owner password file missing as item 1?
    I hope i can explain what i mean :)
    Regards,
    SibelM

    I would suggest you to first decrypt the laptop and then follow the process:-
    - Clear the TPM
    - Encrypt the type.
    - Check for the encryption behavior.
    Cause I have found on some model that if the OS drive is encrypted, PXE boot fail on that machine even though I also did a direct PXE on an encrypted machine with clearing the TPM.
    TPM ownership password is a hash file that gets generated with a set of algorithm. SO each time when you PXE boot, by clearing the TPM, the TPM hash password for the TPM will change. This has been done for security measures.  
    Gaurav Ranjan

  • Use of password file?

    good day !
    i am confused and still cannot digest the need to use a password file!
    can anyone provide me with links or any explaination on why we need a password file!
    i need the password file so that i can setup dataguard!
    thnx

    You can Oralce administration guide,
    Database Administrator Authentication
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#i1006534

  • Error opening password file

    Hi, I'm traying to start up a database in sqlplus on SuSE 8.2 and Ora9.2, I have the next error:
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup pfile=/opt/ora9/admin/pavilion/pfile/initmydb.ora
    ORACLE instance started.
    Total System Global Area 101781824 bytes
    Fixed Size 450880 bytes
    Variable Size 83886080 bytes
    Database Buffers 16777216 bytes
    Redo Buffers 667648 bytes
    ORA-01990: error opening password file '/opt/ora9/product/9.2/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    My password file is /opt/ora9/product/9.2/dbs/orapwmydb
    How can I use my orapwmydb file?

    Hi Marco,
    as far as I know, you have to use the REMOTE_LOGIN_PASSWORDFILE = SHARED option in your init...ora file.
    In this case you have one password file for one or more databases. It can only have the entries for SYS and INTERAL.
    I'm sorry to cannot answer your question of having different password files for different databases %-)
    Klaus

  • [HELP] ORA-01990 Error opening password file '/home/oracle/OraHome1/dbs/ora

    Dear All,
    I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    How to solve the problems?
    thanks and regard
    ER

    Hai all...
    I did it all..
    but still I got
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    Help me...
    Thanks
    regard
    ER

  • Ora-01990 error in opening the password file

    Hi,
    I created a password file by using orapwd utility. Then later on I modified the remote_login_passwordfile in the spfile by giving the command:
    sql> alter system set remote_login_passwordfile=exclusive
    scope=spfile.
    Then it is altered. Later on I shutdown the database and When I was trying to connect to the databse again, I am getting the following errors.
    ORA-01990 error openeing the passowrd file.
    ORA-27037 unable to obtain file status
    linux error:2 no such file or directory.
    Thanks in advance.

    Hi,
    I tried that also.It is giving ora-32001 write to spfile requested but no spfile specified at startup.
    First Manually I deleted the password file and I set the remote_login_passwordfile=none in the parameter file and again I started the instance just by giving
    sql>startup open pfile='OraHome1/dbs/initRADHI.ora'
    then I tried to modify the the Remote_Login_PASSWORDFILE thru alter system set command.then it is giving the above error. then I again shutdown the DB and again I started without specifying the parameter file or spfile just saying sql>startup. Then also it is not taking the SPFILE to startup. why is so? Then also same error I am getting?
    ora-32001 write to spfile requested but no spfile at startup. can anyone of you help me.
    Thanks,
    Have a nice day.

  • How to create a password file for 9i database

    I just created a database 9.2.0.5 based on another database. I copied the password file to the new database. I got an error. How can I recreate one?
    Thanks a lot!
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 337204540 bytes
    Fixed Size 455996 bytes
    Variable Size 268435456 bytes
    Database Buffers 67108864 bytes
    Redo Buffers 1204224 bytes
    ORA-01991: invalid password file '/local/ORACLE/OraHome1/dbs/orapwilnktest'
    SQL>

    Do you think the password is the sys password?Time to go through the doc :
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/dba.htm#1227
    Nicolas.

  • How to create a password file for executing psadmin command to deploy portl

    how to create a password file for executing psadmin command to deploy portlet

    What you have done is perfectly right. The password file doesn't have anything else apart from the password
    for example in your case
    $echo password > /tmp/password.txt
    However I remember that in windows install, the Application server used to wait for a user's input when a deploy was to be done for the first time. So Can you read the Release notes or the Readme file which has come with windows.
    The solution was,
    manually use asadmin command of application server to deploy some war (any webapp will do), at this time, a question will be prompted to accept a certificate. once this is done, deploy portlet should work fine!!!
    HTH

  • Password file issue in Oracle 10g

    Hi,
    While trying connecting from SQL prompt using command
    SQL> CONNECT SYS/PASSWORD@CONNECT_STRING AS SYSDBA
    It gives error
    ORA-01031 insufficient privilege
    If SQL> CONNECT SYS/PASSWORD AS SYSDBA
    It works successfully??
    After connecting without using connect_string.
    Only one DB is running on this machine.
    Then SELECT * FROM V$PWFILE_USERS;
    0 ROWS RETURNED
    Recreated the pwd file same issue persists. What may be the reason?
    If SQL> GRANT SYSDBA TO SYS;
    ERROR ORA-01994: GRANT FAILED: PASSWORD FILE MISSING OR DISABLED
    Password file created using command
    orapwd file=/u01/app/oracle/product/10.2.0db_1/dbs/orapwPRIMDB password=pwd entries=5
    Please help me.
    Thanks in advance.
    Edited by: Bharat Kaushik on May 31, 2009 4:20 PM

    The first command is a 'remote connection'. To be able to connect as sysdba remotely, spfile remote_login_passwordfile should be set to exclusive.
    When there is no password file or the parameter is incorrect this results in ora-1031.
    The second command uses O/S authentication, and doesn't use the password file at all.
    O/S authentication is set up in sqlnet.ora.
    SYS has always SYSDBA, by design. Granting SYSDBA to SYS is redundant.
    Obviously in this directory name
    /u01/app/oracle/product/10.2.0db_1/dbs/
    there is a / missing and it should have been
    /u01/app/oracle/product/10.2.0/db_1/dbs/
    So you still have no valid passwordfile.
    You could have and should have easily spotted this yourself.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read the documentation.

  • Password file usage

    hpux 11.23
    ora 10.2.0.2
    I have a question about the password file. I've been doing a lot of searching, but haven't really found my answer.
    I have my primary and my standby database, which I created the password file when I built the standby.
    Is the password set to the sys user, synched up to the password in the file? All of the sudden I am getting heartbeat errors for this connection.
    says invalid user/password.
    If I recall right, the db has to be shut down to regenerate password files, correct? Is there any way to force these to resync without shutting down?
    Thanks.

    You dont need to do anything ..
    If you change the password through SQL command your pasword file gets update automatically....
    The reason for your issue could be the STANDBY sys password might have been changed..
    Both the SYS password has to be same

  • Issue with Password file / restore

    I have a big issue. My laptop [Win XP]had a hardware problem and I have no external backup of the data.
    The harddisk is still perfect and I have it now connected as external drive to another laptop [Win Vista].
    I now want to use / recover the password file and copy it from the external disk to the new laptop so I have all the passwords again.
    How can I do this?
    Where can I find the encripted file and where do I have to put it?
    Is this version dependant? I might have an older version on the old laptop [I think 3.4] and now I have 3.6.
    BIG THANKS in advance
    Arthur

    Password files recovery is covered in this article. <br /> http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

Maybe you are looking for

  • Music Library on an External Hard Drive

    I recently transferred all my music to an external hard drive in an attempt to free some space on my computer's drive. It worked fine for a while but now the drive, which is a 400gb ac powered device allows my music to cut and it takes time to load i

  • Purchase orders manily against the sales orders

    My client do purchase orders manily against the sales orders... but to meet the minimumn purchase order quantity or value they club many sales orders in a single purchase order... now is there any way to track for what sales-order-item what purchase-

  • Steps to create Virtual Directory?

    I am very new to Weblogic and trying to create 2 virtual directories with the following permissions. name=cognos path=c:\program files\cognos\cer1\webcontent\default.htm permission=read name=cognos/cgi-bin path=c:\program files\cognos\cer1\cgi-bin pe

  • Not all Exchange contacts are showing up in Address Book

    My exchange sync resulted in about 100 missing contacts in address book. Both outlook and iphone display the correct number of contacts...anyone else seeing this and know how to fix?

  • Why does "Adobe After Effects CC 2014 Quit Unexpectedly" on launch?

    I'm currently on a 2012 MacPro OS X 10.9.5 with 2x2.66 GHz 6-Core Intel Xeon Processor, 24 GB DDR3. I uninstalled CS5 in order to download and install Adobe's Creative Cloud suite. I was able to get Photoshop up and running, but I cannot get After Ef