Alter user ...changing profiles..urgent..

I wanted to know one thing if i have a list of users and i want to change their idle time limit what wud be a good script all together so that i dont have to make changes for every user and i can do it in one statement for all of them. Please suggest.
BEst regards,
Ashish

If all your users have only one profile ( or the DEFAULT profile assigned to every user when it is created ) you can change the limit on resource on that profile and it will apply to all users.
For example if every user has default profile, change the resource limit idle time like this :
alter profile default limit idle_time 55;
HTH
Chandar

Similar Messages

  • How to alter the default profile for multiple users

    I am trying to alter the default profile assigned to users during user creation to a new profile. I know to change the profile for one user using the syntax
    alter user abc profile profileabc
    The issue I have is that there are 100's of users under default profile and changing for each of them manually would be difficult. The approach that I see is to write a shell script where I connect to the db and get a list of all the users with default profile. Then I loop through the file making connection to the db each time and executing the alter statement.
    Please help if you think that there can be a more efficient approach to this.
    Thanks

    alter user abc profile profileabcspool newsql.sql
    select 'ALTER USER '|| USERNAME || ' PROFILE NEWPROFILE;' FROM DBA_USERS;
    SPOOL OFF
    @newsql.sql

  • How to view/edit/delete the user created profile in oracle 9i? Very Urgent

    Friends,
    I logged in as system in oracle 9i.
    SQL> create profile testpro limit
    2 idle_time 1;
    Profile created.
    SQL> alter user scott profile testpro;
    User altered.
    Then i logged in to sqlplusw as a scott user.
    and i waited for 10 mins after that.
    sql> select * from cat;
    its working......
    how come? i have already set a idle time to 1 minute.
    Please correct me if im wrong.
    Also, how can i view/edit/delete the user created profile.
    Thanks & Regards
    Sathyguy
    Message was edited by:
    sathyguy

    The resource limits set for a profile are enforced only when you enable resource limitation for the database.
    Enabling and Disabling Resource Limits While the Database is Open
    ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/users.htm#15451
    Manu

  • Oracle - User Locked. URGENT

    Hi
    I have just changed the password for one of the user on my Database.
    In the meantime a lot many requests hit database with that user with the old password and the account is now locked.
    I have UNLOCKED the user with below command: -
    ALTER USER omuser identified by omusernew ACCOUNT UNLOCK;
    but still I am unable to connect to this schema (omuser)
    Can anyone please help me out in resolving this?
    Below are the DEFAULT Profile details: -
    select resource_name, resource_type, limit
    from dba_profiles
    where profile='DEFAULT';
    RESOURCE_NAME     RESOURCE_TYPE     LIMIT
    COMPOSITE_LIMIT     KERNEL     UNLIMITED
    SESSIONS_PER_USER     KERNEL     UNLIMITED
    CPU_PER_SESSION     KERNEL     UNLIMITED
    CPU_PER_CALL     KERNEL     UNLIMITED
    LOGICAL_READS_PER_SESSION     KERNEL     UNLIMITED
    LOGICAL_READS_PER_CALL     KERNEL     UNLIMITED
    IDLE_TIME     KERNEL     UNLIMITED
    CONNECT_TIME     KERNEL     UNLIMITED
    PRIVATE_SGA     KERNEL     UNLIMITED
    FAILED_LOGIN_ATTEMPTS     PASSWORD     10
    PASSWORD_LIFE_TIME     PASSWORD     UNLIMITED
    PASSWORD_REUSE_TIME     PASSWORD     UNLIMITED
    PASSWORD_REUSE_MAX     PASSWORD     UNLIMITED
    PASSWORD_VERIFY_FUNCTION     PASSWORD     NULL
    PASSWORD_LOCK_TIME     PASSWORD     UNLIMITED
    PASSWORD_GRACE_TIME     PASSWORD     UNLIMITED

    I cannot restart this DB.
    One thing that I have noticed is that LOCK_DATE in DBA_USERS changes
    everytime I fire ALTER USER OMUSER IDENTIFIED BY OMUSERNEW ACCOUNT UNLOCK.You probably have a stray script somewhere; a temporal work around would be to create a different profile and tie you application user to the new profile.
    CREATE PROFILE APPUSR_DEFAULT LIMIT
    COMPOSITE_LIMIT UNLIMITED
    SESSIONS_PER_USER UNLIMITED
    CPU_PER_SESSION UNLIMITED
    CPU_PER_CALL UNLIMITED
    LOGICAL_READS_PER_SESSION UNLIMITED
    LOGICAL_READS_PER_CALL UNLIMITED
    IDLE_TIME UNLIMITED
    CONNECT_TIME UNLIMITED
    PRIVATE_SGA UNLIMITED
    FAILED_LOGIN_ATTEMPTS UNLIMITED
    PASSWORD_LIFE_TIME UNLIMITED
    PASSWORD_REUSE_TIME UNLIMITED
    PASSWORD_REUSE_MAX UNLIMITED
    PASSWORD_VERIFY_FUNCTION NULL
    PASSWORD_LOCK_TIME UNLIMITED
    PASSWORD_GRACE_TIME UNLIMITED;
    ALTER USER omuser PROFILE appusr_default;
    ALTER USER omuser ACCOUNT UNLOCK;Take note of the "FAILED_LOGIN_ATTEMPTS UNLIMITED"
    Regards,
    Phiri
    Edited by: phiri on 19-Mar-2010 05:22

  • Alter user help

    Hello there,
    I have written this sql script, & i get errors when i execute it.
    I want to enter uid only once. How can i do it?
    DECLARE
    l_uid dba_users.username%TYPE;
    BEGIN
    EXECUTE IMMEDIATE 'ALTER USER &uid IDENTIFIED BY testpwd' returning uid into l_uid;
    EXECUTE IMMEDIATE 'CREATE PROFILE test_proffile LIMIT PASSWORD_LIFE_TIME 1/1440 PASSWORD_GRACE_TIME 0';
    EXECUTE IMMEDIATE 'ALTER USER l_uid PROFILE test_proffile';
    END;
    thanks a lot

    Why not assign a value to l_uid when you're declaring it? Something like
    l_uid dba_users.username%TYPE := '&username';You'll need to concatenate that value into the EXECUTE IMMEDIATE strings.
    btw the current version will have problems the second time you run it because the profile you created will already exist.
    Also it's not a SQL script, it's a PL/SQL block.

  • Using alter user to change oracle password for logged in web user on XE

    Hi All
    I'm building an app using the pl/sql web toolkit on XE (installed on Win XP Pro SP2). (I'm not using the APEX front-end).
    I'm using basic authentication and oracle database user accounts, and when a user registers for the first time I create them an oracle user account with dynamic sql, followed by some initial setup stuff, and they then log in with it.
    All fine so far.
    However I want to allow the user to change their oracle password as part of maintaining their user details. I've done this in the past using the web toolkit and Oracle 9i and it has worked fine using dynamic sql.
    Unfortunately I can't get the same thing to work in XE.
    For example, if I create the following procedure in the schema aligned to the DAD which holds my application and then run it from a browser (IE or Firefox) then the
    Browser and the db just hangs - not even an error message:
    CREATE OR REPLACE PROCEDURE ut
    AS
    v_stmt varchar2(300);
    BEGIN
    HTP.htmlOpen;
    HTP.headOpen;
    HTP.title ('User Test');
    HTP.headClose;
    HTP.bodyOpen;
    v_stmt := 'alter user "'||user||'" identified by "BERT"';
    htp.print(v_stmt);
    EXECUTE IMMEDIATE v_stmt;
    htp.print('Done');
    HTP.bodyClose;
    HTP.htmlClose;
    END;
    If I run the same statement in SQL*plus it's fine, and if I run the same proc for a different user then it's fine too.
    I'm sure it's something to do with trying to change the credentials of the currently logged in user, but I would at least have expected an error message.
    I'd be grateful for any ideas.
    Thanks
    Steve

    Hi g.myers
    Thanks for your response.
    Sorry, yes, bad turn of phrase there. It's not the entire db that hangs. The web browser (either IE or FF) hangs, and if I look at v$session at this point, I can see that the user STATUS=ACTIVE and the STATE=WAITING.
    I should also point out that I am using standard Oracle users as users of the application, (e.g. create a new user account called TESTER1). These users are then granted the appropriate privileges on the owning schema in order to run the app, access the tables etc.
    Therefore it is the user account (e.g. TESTER1) that is running the password change procedure that is owned by the SYS schema. (However again, this is the exact code and method that I've used in the past and it has worked fine).
    If I leave the browser hanging long enough, it will eventually return with the following error:
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request POST /h/hopapp.pwdmaint_do.
    Reason: Error reading from remote server
    cheers
    Steve

  • Notifying a user that an Urgent Change Request has been Approved, or Denied

    Trying to figure out the best way to have an email go back to a user after a Change Request has been updated with either an Approved or Deny
    What we do now is after a user creates an Urgent Change Request, and email goes out to all of our Managers. One of them will reply all to the email with either an [approval] or [deny] in the message body so Service Manager gets the email and acts on
    it and the other Managers know it was acted on.
    Problem is, if the Manager forgets to add in the Change Requester in the email, they don't know it was acted on. I tried using WorkFlows for Change Request to update the Change Requester of an update but there is nothing in there for  Approval or Deny.
    I then resorted to subscriptions but can't figure out how to configure the subscription so that only the Change Requester gets the email. We can configure different email templates based on the whether the change was approved or denied. Just need to figure
    out how to configure the Recipient.

    I suggest you read this
    which is very close to what you want to do.
    I've checked the link and found it working. Of course, it works only if the RA is a direct child of work item itself (so for RAs encapsulated in SA or PA it doesn't work).
    Below the XML code of the management pack I used. You can engage that, just copy to Notepad and save as ManagementPack.ef9b0adf354c4afe92ede323c9427879.xml
    It might require to customize a mail template cause I made a very simple one.
    <ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Manifest>
    <Identity>
    <ID>ManagementPack.ef9b0adf354c4afe92ede323c9427879</ID>
    <Version>7.5.2905.0</Version>
    </Identity>
    <Name>RA notify affected user MP</Name>
    <References>
    <Reference Alias="EnterpriseManagement">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
    <Version>7.5.2905.179</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="CustomSystem_Notifications_Library">
    <ID>System.Notifications.Library</ID>
    <Version>7.5.2905.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="CustomSystem_WorkItem_Library">
    <ID>System.WorkItem.Library</ID>
    <Version>7.5.2905.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="CustomSystem_WorkItem_Activity_Library">
    <ID>System.WorkItem.Activity.Library</ID>
    <Version>7.5.2905.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="CustomSystem_Library">
    <ID>System.Library</ID>
    <Version>7.5.8501.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="SystemCenter">
    <ID>Microsoft.SystemCenter.Library</ID>
    <Version>7.0.8432.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="SystemCenter1">
    <ID>Microsoft.SystemCenter.Subscriptions</ID>
    <Version>7.5.2905.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="EnterpriseManagement1">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Administration</ID>
    <Version>7.5.2905.179</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    </References>
    </Manifest>
    <Categories>
    <Category ID="Category.6f4a3832d9c3488fa2c31d1d662dceef" Value="EnterpriseManagement!Microsoft.EnterpriseManagement.ServiceManager.ManagementPack">
    <ManagementPackName>ManagementPack.ef9b0adf354c4afe92ede323c9427879</ManagementPackName>
    <ManagementPackVersion>7.5.2905.0</ManagementPackVersion>
    </Category>
    <Category ID="ServiceManager.Console.NotificationManagement.NotificationTemplates.Enumeration6fce0865_32d8_435d_ad64_7c48439649ab.Category" Target="Template_50a8eac21da94bb2a340858b71c931d3" Value="EnterpriseManagement1!ServiceManager.Console.NotificationManagement.NotificationTemplates.Enumeration" />
    <Category ID="Category.804f621f7a2b4e0490c82413cd6479d9" Target="NotificationSubscription_da1aa98f_40c3_4dd5_a227_de3e7f20601e" Value="EnterpriseManagement1!Microsoft.EnterpriseManagement.ServiceManager.Rules.WorkflowSubscriptions" />
    </Categories>
    <Monitoring>
    <Rules>
    <Rule ID="NotificationSubscription_da1aa98f_40c3_4dd5_a227_de3e7f20601e" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.SubscriptionWorkflowTarget" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
    <Category>System</Category>
    <DataSources>
    <DataSource ID="DS" TypeID="SystemCenter1!Microsoft.SystemCenter.CmdbInstanceSubscription.DataSourceModule">
    <Subscription>
    <InstanceSubscription Type="bfd90aaa-80dd-0fbb-6eaf-65d92c1d8e36">
    <UpdateInstance>
    <Criteria>
    <Expression>
    <And>
    <Expression>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <Property State="Pre">$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$</Property>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value>{9de908a1-d8f1-477e-c6a2-62697042b8d9}</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <Property State="Pre">$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$</Property>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value>{144bcd52-a710-2778-2a6e-c62e0c8aae74}</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </Or>
    </Expression>
    <Expression>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <Property State="Post">$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$</Property>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value>{9de908a1-d8f1-477e-c6a2-62697042b8d9}</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <Property State="Post">$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$</Property>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value>{144bcd52-a710-2778-2a6e-c62e0c8aae74}</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </Or>
    </Expression>
    </And>
    </Expression>
    </Criteria>
    </UpdateInstance>
    </InstanceSubscription>
    <PollingIntervalInSeconds>60</PollingIntervalInSeconds>
    <BatchSize>100</BatchSize>
    </Subscription>
    </DataSource>
    </DataSources>
    <WriteActions>
    <WriteAction ID="WA" TypeID="SystemCenter1!Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskWriteAction">
    <Subscription>
    <VisibleWorkflowStatusUi>true</VisibleWorkflowStatusUi>
    <EnableBatchProcessing>true</EnableBatchProcessing>
    <WindowsWorkflowConfiguration>
    <AssemblyName>Microsoft.EnterpriseManagement.Notifications.Workflows</AssemblyName>
    <WorkflowTypeName>Microsoft.EnterpriseManagement.Notifications.Workflows.SendNotificationsActivity</WorkflowTypeName>
    <WorkflowParameters>
    <WorkflowParameter Name="SubscriptionId" Type="guid">$MPElement$</WorkflowParameter>
    <WorkflowArrayParameter Name="DataItems" Type="string">
    <Item>$Data/.$</Item>
    </WorkflowArrayParameter>
    <WorkflowArrayParameter Name="InstanceIds" Type="string">
    <Item>$Data/BaseManagedEntityId$</Item>
    </WorkflowArrayParameter>
    <WorkflowArrayParameter Name="TemplateIds" Type="string">
    <Item>f7785299-c026-a870-e350-d02b65a1f3b3</Item>
    </WorkflowArrayParameter>
    <WorkflowArrayParameter Name="PrimaryUserRelationships" Type="string">
    <Item>$Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Path[Relationship='CustomSystem_WorkItem_Library!System.WorkItemAffectedUser' TypeConstraint='CustomSystem_Library!System.User']$</Item>
    </WorkflowArrayParameter>
    </WorkflowParameters>
    <RetryExceptions />
    <RetryDelaySeconds>60</RetryDelaySeconds>
    <MaximumRunningTimeSeconds>7200</MaximumRunningTimeSeconds>
    </WindowsWorkflowConfiguration>
    </Subscription>
    </WriteAction>
    </WriteActions>
    </Rule>
    </Rules>
    </Monitoring>
    <Templates>
    <ObjectTemplate ID="Template_50a8eac21da94bb2a340858b71c931d3" TypeID="CustomSystem_Notifications_Library!System.Notification.Template.SMTP">
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template.SMTP']/Subject$">&lt;1033&gt;$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$ is completed&lt;/1033&gt;</Property>
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template.SMTP']/Priority$">2</Property>
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template.SMTP']/IsBodyHtml$">False</Property>
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template']/Content$">&lt;1033&gt;$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$ is completed&lt;/1033&gt;</Property>
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template']/Encoding$">utf-8</Property>
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template']/SeedClass$">System.WorkItem.Activity.ReviewActivity$bfd90aaa-80dd-0fbb-6eaf-65d92c1d8e36</Property>
    <Property Path="$Context/Property[Type='CustomSystem_Notifications_Library!System.Notification.Template']/Protocol$">SMTP</Property>
    </ObjectTemplate>
    </Templates>
    <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
    <DisplayStrings>
    <DisplayString ElementID="ManagementPack.ef9b0adf354c4afe92ede323c9427879">
    <Name>RA notify affected user MP</Name>
    </DisplayString>
    <DisplayString ElementID="Template_50a8eac21da94bb2a340858b71c931d3">
    <Name>RA notify affected user mail template</Name>
    </DisplayString>
    <DisplayString ElementID="NotificationSubscription_da1aa98f_40c3_4dd5_a227_de3e7f20601e">
    <Name>RA notify affected user</Name>
    </DisplayString>
    </DisplayStrings>
    </LanguagePack>
    </LanguagePacks>
    </ManagementPack>
    Cheers,
    Marat
    Site: www.scutils.com 
    Twitter: LinkedIn:
    Graveyard:
    It does work even if it is within a PA or SA or even deeper, you "just" have to follow the path to the CR from there. But then you would need a subscription for each RA depending on where it is in the flow. Try to make your users understand that :D
    http://codebeaver.blogspot.dk/

  • Let group leader change his memeber's pwd without giving him 'alter user' p

    Hi, all
    Is there any way that I can let a group leader to reset his own member's password without giving him the 'alter user' privilege ?
    I know I can use following simplified procedure to allow one person to change his own password, but I am looking for a way to let leader to reset when his members forget their pwd, and the following script can't work. I also created the synonym and grant 'execute on' to him. Can someone help me on this?
    Thanks in advance.
    CREATE OR REPLACE PROCEDURE change_pwd ( v_username in varchar2, v_pwd in varchar2)
    authid current_user
    is
    BEGIN
    execute immediate 'alter user '||m_username||' identified by '||v_pwd ;
    END ;
    ----

    SQL> @example
    SQL> spool capture.log
    SQL> create user alladmin identified by adminall;
    User created.
    SQL> grant connect to alladmin;
    Grant succeeded.
    SQL> grant resource to alladmin;
    Grant succeeded.
    SQL> grant alter user to alladmin;
    Grant succeeded.
    SQL> create user member1 identified by No1knows;
    User created.
    SQL> grant connect to member1;
    Grant succeeded.
    SQL> create user member2 identified by No1knows;
    User created.
    SQL> grant connect to member2;
    Grant succeeded.
    SQL> create user gl1 identified by secret;
    User created.
    SQL> grant connect to gl1;
    Grant succeeded.
    SQL> grant resource to gl1;
    Grant succeeded.
    SQL> connect alladmin/adminall
    Connected.
    SQL> CREATE OR REPLACE PROCEDURE change_pwd ( v_username in varchar2)
      2  is
      3  m_username varchar2(100);
      4  v_pwd varchar2(30) := 'FUBAR1';
      5  BEGIN
      6  select user into m_username from dual;
      7  if (m_username = 'GL1')
      8  then
      9       execute immediate 'alter user '||v_username||' identified by '||v_pwd ;
    10  end if;
    11  END ;
    12  /
    Procedure created.
    SQL> grant execute on change_pwd to gl1;
    Grant succeeded.
    SQL> connect gl1/secret
    Connected.
    SQL> exec alladmin.change_pwd('MEMBER1');
    PL/SQL procedure successfully completed.
    SQL> exec alladmin.change_pwd('MEMBER2');
    PL/SQL procedure successfully completed.
    SQL> connect member1/FUBAR1
    Connected.
    SQL> select user from dual;
    USER
    MEMBER1
    SQL> connect member2/FUBAR1
    Connected.
    SQL> select user from dual;
    USER
    MEMBER2
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsAny more questions?

  • Can't change Window User's Profile Location

    I would like to change the Window User's Profile Location. I've followed the instructions on page 85 of User Management Apple's document unsuccussefully.
    In the Windows tab of Group Management, I have enter my new SMB sharepoint :
    User Profile Path : \\servername\sharename\folder\usershortname
    The Window Client's computer is recocgnized by the OD / PDC Leopard server, I can login without any problem, but at the end of the Window XP session's, the profile is still saved at //ODMasterServer/Users/Profiles/.
    The strangest is that in XP I perfectly reach \\servername\sharename\folder\ and can write what I want within.
    I think that the Leopard PDC doesn't send the correct information to the client for the profile folder path's.
    Where can I verify or change it ?
    A solution would be to write a login script for the client, any idea of a short script ?

    I solve partialy my problem.
    I use a Windows Server 2003 with file sharing.
    1) Add the server the same way you add an XP client computer in the OD domain.
    2) Create a file sharing using the server admin console (DO NOT USE the file sharing on the properties of the file) choosing full access for admin and read/write access for users
    3) In the security of the shared directory add the OD admistrator's (be careful domainnamedomainadmin not only domain_admin) and give him full access.
    So apparently the PDC and the SMB doesn't work correctly in Leopard Server apart for the file /Users/Profiles.
    It works more or less fine.
    Now, I want to hide the home's and profil's file to the other users (mac or windows).

  • I'm apple user. some one has hacked my user ID profile & has changed my security questions. Also hacker has give rescue email , which is absolutely unknown to me.Resultantly i can't make any purchase from apple. How apple can help me. Thank

    I'm apple user. some one has hacked my user ID profile & has changed my security questions. Also hacker has give rescue email , which is absolutely unknown to me.Resultantly i can't make any purchase from apple. How apple can help me.
    Thanks in anticipation.

    You will need to contact Support in your country to get the security questions reset (these are user-to-user forums) : Apple ID: Contacting Apple for help with Apple ID account security (if your account's password has been changed then they should also be able to reset that for you)
    When they've been reset you can then use the steps on this page to change the rescue email address to an account that you have access to, for potential future use : Manage your Apple ID primary, rescue, alternate, and notification email addresses

  • Change decimal notation as per user's profile

    Hi all,
    The input file has a price in the following format:
    1,000.50
    Is there any function module that converts the price as per the user's profile format.
    1,000.50 should be converted to 1.000,50  as per the user's profile setting of decimal notation.
    Regards,
    Chandan

    hi check this.....
    data: test1(10)  type c  ,
          test type p decimals 2 value '1000.50' .
    write test to test1 .
           replace all occurrences of ',' in test1 with '#' .
           replace all occurrences of '.' in test1 with '*' .
            replace all occurrences of '#' in test1 with '.' .
             replace all occurrences of '*' in test1 with ',' .
           write:/ test1 .
    regards,
    venkat.

  • User Change Password

    User Password changes:
    Ex. Custom Oracle FORM Button Trigger to force DB change Password.
    -- Force an alter user statement to the database.
    -- sys.verify_password function will verify.
    Cmd_Line := 'Alter user "'||:CHANGE_PWD.USER_NAME||
    '" identified by "'||:CHANGE_PWD.VERIFY_PWD||'"';
    FORMS_DDL(cmd_line);
    IF NOT Form_Success THEN
    NOTE(DBMS_ERROR_TEXT); -- display Ora error message
    raise Form_Trigger_Failure;
    END IF;
    Ex. Customize SYS.Verify_Password function sample to return an Error MSG.
    Set for user in Profile, enforces password change syntax rules.
    -- Check for a no space
    isspace:=FALSE;
    FOR j IN 1..m LOOP
    IF substr(PASSWORD_VAR,j,1) = ' ' THEN
    isspace := TRUE;
    GOTO endsearch4;
    END IF;
    END LOOP;
    <<endsearch4>>
    IF (isspace = TRUE) THEN
    raise_application_error(-20003, 'Password cannot contain spaces');
    END IF;

    ...So what is the question???

  • Alter user identified by values

    I use the following method for connecting as different users for test purposes:
    - select the encrypted password from dba_users
    - temporarily change their password,
    - connect using a temporary password,
    - reset their original password using the encrypted value.
    The last step is achieved by the 'alter user identified by values ..' syntax.
    However, I have now found that if the user has a profile with password complexity verification, this always seems to fail.
    Appending the new 9.2 REPLACE <old_password> does not make any difference,
    and in any case that should not be needed if being done with alter any user privilege.
    Has anyone found a way around this ?

    The bad news is that on a 9.2 database I got the error:
    SQL> alter user a identified by values 'FD7C3F4E0D2D2A65' ;
    alter user a identified by values 'FD7C3F4E0D2D2A65'
    ERROR at line 1:
    ORA-28003: password verification for the specified password failed
    SQL>the good news is that on a 10.2 database it worked:
    SQL> alter user a identified by values 'FD7C3F4E0D2D2A65' ;
    User altered.
    SQL>

  • User's profile portlet - security

    Hi,
    I’m working on a user’s profile portlet (JSR286) to show basic profile info. like name, phone and etc. The user will need to log in to WC Spaces.
    1.     Has anyone have experiences in setting up security to pass the profile to the portlet?
    2.     Can someone see others’ profile in Spaces?
    Regards,
    Will

    Are you auditing ALTER USER statements? I don't believe 11.2 does that by default. If you're not auditing ALTER USER (and you haven't coded some alternate mechanism like a DDL trigger), Oracle generally won't record who changed a profile or when it was changed.
    If you're really desperate, you could potentially use LogMiner to go through the archived logs generated over the time frame when the change might have been made to find the ALTER USER statement in the redo logs. But that's generally a pile of work particularly if the potential time frame is large enough that you have to try to restore the archived logs from tape in order to mine them.
    Justin

  • [solved]script fails when changing profile through powerdevil.

    i use ondemand governor and i want to change up_threshold value.
    Whenever i change profile through powerdevil up_threshold gets its default vaule of 80.
    what i did was to create a script named threshold containing the lines:
    #!/bin/bash
    sudo sh -c 'echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold'
    i have also set through /etc/sudoers that this script is passwordless for my user.
    if i run the script, it successfully changes the value. It also runs successfully if i put it in startup.
    My problem is that it fails to run when i choose it to run when a profile loads through powerdevil. I am refering to the feature shown below :
    at first i thought that this function has a problem. so i chose to run kate, and when i changed profile, kate started immediately. So i guess that there is a problem with my script.
    Any ideas?
    Last edited by mechmg93 (2009-10-20 20:14:30)

    I hope someone reads this thread also its already marked as solved...
    Anyway, i would like to use CPU frequency scaling, but in the powermanagement settings,
    i cant shoose anything for frequency scaling.
    What do i have to do to be able to set "ondemand" or "always lowest frequency"?
    Wich daemons and/or modules do i have to activate to change the frequency policy?
    Would be very nice if someone could help me.

  • Windows cannot load the user's profile but has logged you on with the default profile for the system.

    My Windows 7  crashed a couple days ago after a windows update, I got this message.
    Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    I restarted the machine and got this message
    Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights.
    DETAIL - The process cannot access the file because it is being used by another process. for C:\Users\TEMP\ntuser.dat
    I checked the event Log I found these .
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.
    Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a corrupt local profile.
     DETAIL - The process cannot access the file because it is being used by another process.
    This is the first error in the event viewer after a successful logon
    The description for Event ID 34 from source ccSvcHst cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
     If the event originated on another computer, the display information had to be saved with the event.
    ccSetMgr
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Access is denied.
    Looking at the Logs all I can tell is that after the Desktop Window Manager started if caused this error.
    The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    then this one
    The Desktop Window Manager has exited with code (0x40010004)
    Then this before it shutdown.
    The User Profile Service has stopped.
    I started up the PC and the first message I got was
    How can I get access to my user profile? do I need to createa new Administrator account? Please help
    The EventSystem sub system is suppressing duplicate event log entries for a duration of 86400 seconds. The suppression timeout can be controlled by a REG_DWORD value named SuppressDuplicateDuration under the following registry key: HKLM\Software\Microsoft\EventSystem\EventLog.

    hi do the following
    1. In Search programs and files (Windows 7) area, type in regedit, and press Enter.
    2. If prompted click yes,
    3.  expand the following HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    4. click the sid that related to your admin profile (if you not sure, click each sid and in turn look to the right hand side of registry editor it will show who that sid is related to one of the registry files should hae in description localhost\admin or
    something similair)
    5. right click the sid and press delete.
    6. restart your machine and log back on with the admin account, this will then rebuild the admin profile... dont worry when it loads and none of your personal settings are saved or files or folders... go to c:\users
    in here you will see two folders for the admin account, one will be just admin and the other most likely admin.localhost
    i cant remember which one is which but just check both, one will still have all your files and folders in it.
    i suggest making a backup of your data before doing this incase something does go wrong, but ive had this happen many times in a domain enviorment and has worked for me everytime.

Maybe you are looking for

  • XML Publisher report not printing excel output due to special characters

    Hello, I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in tex

  • Safari not loading .css files / hanging page load

    A bit of an odd one this... I'm having a few issues a couple of websites in that the page takes an age to load - and when (if) it does, the CSS file hasn't loaded, so the page is unstyled. One page is http://www.liverpoolfc.tv - the main page and the

  • SQL version could not be verified error while installing the SCOM 2012 R2 reporting component

    I have the below SCOM server roles in my SCOM 2012 R2 set up 1) All servers with Windows Server 2008 R2 SP1, MS - SCOM1, DB & DW - DB1, Reporting Server - DB2 2) All the DB servers with SQL 2012 SP1 3) Windows firewall is turned off on all the server

  • Can't open iTunes, Mail, Safari, and others since Security Update download

    I see that this subject has come up in other posts - here's my situation - I have a four year old Powerbook G4, running on 10.4.11. I downloaded (using Firefox as my browser) Java for OS X 10.4 Release 5, iTunes 7.6.2, and Security Update 2008-02 (Po

  • Quarter ago problem

    Hi my hierarchy is year-quarter-month quarter values like q1-2011,q2-2011,q3-2011,q4-2011 like this month values--jan-11,feb-11,mar-11 like this by using ago function i calculate quarter ago but it gives for q2-2012 it gives q2-2011 i neeed q2-2012 g