How to lock a user's account

Hi there,
In Solaris 9, how can I lock a user's account. By saying lock, I don't want to delete the account and any user's date under his home directory, I just want to inactivate it. I chceked the man page of useradd but I couldn't find it.
Any related informationa is highly appreciated!

Not sure if anything has changed from Solaris 8 to 9 but you should be able to use the passwd command. Use,
$passwd -l username
This will lock the account.
To activate the account again use the passwd command like,
passwd username
Then specify the password.

Similar Messages

  • How to lock multiple user for a transcation code at same time is der any tc

    how to lock multiple user for a transcation code at same time is der any tc
    suppose i hav 15 user and i want to lock 10 user for mm02 who can i to it

    Basis can do a export and import transport, still if don't have connection between boxes.
    or
    check this
    http://www.sap-basis-abap.com/abap/copy-program-variants-from-one-to-another.htm

  • Trying to connect to a Windows share locks out users Windows account.

    Right then I’m coming to the end of my tether !!!
    I've got a user who needs to access a share on a Windows server. All is well and the user gets the challenge prompt but instead of letting him in it constantly challenges him locking out his windows account.
    Now the share is on a DC so i cant make him a local Admin and the only way i can get this working is to have him in the domain admin group which is NOT the way forward, so i'm looking at permissions i guess.
    Can anyone point me in the right direction to fix this .. Arhhhh

    The Seagate drive at Amazon should work fine.
    Your Maintenance & Service Guide may be helpful:
    http://h10025.www1.hp.com/ewfrf/wc/manualCategory?cc=us&dlc=en&docname=c03898001&lc=en&product=54381...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • How to lock sap users in os level

    Dear consultants,
    how to lock the sap users in OS level.please tell me any one.

    Hi Pradeep,
    The table is usr02. The command is as below:
    update <schema>.usr02 set uflag=128;
    in case you need to mention any particular user to be locked, mention in the where clause.
    Before using this command, use the select statement to check the current status of the users.
    Regards,
    Meenu Hans

  • How to lock a user

    Hi,
    I have a workflow in which I want to lock a user.
    I would appreciate if anyone could provide an example
    as to how to do this.
    Thanks,
    John I

    Thanks for the hint. I got it working with the following code:
    <Activity id='9' name='Lock Lighthouse User'>
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='lock'/>
    <Argument name='doLighthouse' value='true'/>
    <Argument name='doResources' value='false'/>
    <Argument name='accountId'>
    <ref>WF_CASE_OWNER</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='352' y='182'/>
    </Activity>
    Even though the IDM 6.0 SP1 documentation
    talks about a lockOrUnlock workflow service,
    (as you mention),
    it appears that there is no such thing.
    There is however an undocumented
    'lock' workflow service which calls
    a lockOrUnlock private java method.
    This mirrors the correctly documented
    enable and disable workflow services,
    which also internally call a private java method
    disableOrEnable.
    More bad documentation I think.
    Thanks for you help.
    John I

  • How to lock a user by using random password?

    hello,
    i need to lock a user from a target system by pushing in random passwords for the accounts. i am successfully able to create an adapter that can generate a random string, but the place where i am stuck is that where to use it as i just need to lock the user and not delete it. if the corresponding manager approves the suspension then the account needs to be deleted else again the account needs to be enabled.
    Please help!
    Thanks!

    ok... sorry...
    so what i did is that i have created a resource that has to be provisioned to the user if the user is to be terminated, in which the manager will mention the user to be terminated and the reason.
    now OIM has to lock the user till the reason that has been given by the manager is deemed valid by the second level manager.
    so for that i have a approval and a process form and processes associsted with them. but the problem is that i need to lock the user using the "Entity Adapter" so i need to do so only in the "Data Object Manager" and thus the problem starts as i dont know where to map the adapter that generates the random password so as to lock the user.
    please, if you find anything confusing here, go thru the discussion in the whole of the thread.
    Thanks!

  • How to lock a user with a report in batch?

    Hi experts,
    is it possible to lock a range of users with a report which runs in batch? I decide to modify the report EWULKUSR, because I can't run this report in batch. But maybe there is any other report?
    Any idea?
    Thanks and best regards
    Max

    Hi Sim,
    I mean, locking the user in the system.
    Thanks for your answer.
    Best regards,
    Max

  • HT4796 how to delete the user pc account on my mac?

    i tried to transfer files from my pc to mac. now i want to delete the user pc account on my mac because it didn't transfer the files i needed.

    Ensure it's logged out, open the Users & Groups pane of System Preferences, unlock the pane, select it, and press the - button.
    (68006)

  • How to restore a user home account to a new hard drive

    I had a hard drive go out and before it did, I have a copy of my user directory on a firewire drive. I got a new hd and am ready to move the back up over to the new drive.
    Is there any steps I should follow to do such? Will a simple copy of the total user account over to the new drive work ok if I create the exact name of the backup home directory to the new drive and say "replace"? I want to make sure my mail, docs and music directories are correct. I have the apps backed up but can reinstall them if need be and not to mes with the libraries.
    Thanks
    jf

    Boot the machine with your install disk, select your language, and, when the menu bar pops up, select Utilities/Disk Utility, select the new HD, select erase and format/partition (as desired) Mac OS Extended and install OS 9 drivers if the machine supports OS 9 booting (not shown in your configuration information), under security options select zero out data. Once the drive is formatted, install Tiger. After the machine restarts, go through the welcome dialogs and use the same name, shortname, and password you used originally. After that finishes, simply mount the FWHD and you should be able to just drag and drop everything from the backed up users folder to the new one. Don't drag the users folder, just the subfolders.
    Once you've successfully restored everything, then use something like Carbon Copy Cloner, SuperDuper!, etc. to make a bootable backup onto the FWHD. That way, you can always reverse the procedure whenever the HD goes south again.

  • Reader 8 Updater locks user domain account

    I'm having an issue at work where the AdobeUpdater appears to be caching the username and password in order to get through the proxy when checking for updates. Our password policy requires a new password every 30 days. After a password change, updater will run with old information and lock the user's account. It never prompts for a new password, just keeps trying until the account is locked. If I manually run AdobeUpdaterInstallMgr.exe I'm prompted with a dialog box that shows the domain\username and password along with a check box to save the password. Then, the user can enter the new password and uncheck the box and everything appears to work fine.
    Does anyone know where the cached information is being stored? It would be nice to be able to push out a patch that clears this information without having to involve each user.

    Im currently experiencing the same problem with my users.
    Users report that whenever they start adobe updater, the account will lockout.
    Somehow it stores the old passwords. I've checked the stored usernames and passwords. Only .net passports are located there.
    I also got a policy requiring a password change every 45 days.
    Any solutions?

  • Lock a user for 10 min

    How to lock particular user from logging in for about 10 mins

    Hi
    ALTER USER user ACCOUNT LOCK;
    To create a job use 'dbms_job' package, 'submit' procedure:
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_job.htm#i1000807
    what -> 'ALTER USER user ACCOUNT UNLOCK;'
    next_date -> 'SYSDATE + 1/24/6' -- after 10 minutes
    hope this helps
    asp

  • How to create Database Users in Oracle enterprise?

    Help, I am new in using oracle database. All I need to do is to connect PHP to Oracle. But it keeps saying this Error
    *Warning: oci_connect() [function.oci-connect]: ORA-28000: the account is locked in*
    Really need some help.

    Welcome to the forum. Please next time remember that your friends are "search option", google, thaiti... and of course oracle documentation. All ORA-XXXX are documented so please next time, search for them.
    run:
    select account_status, username from dba_users;
    If the status is locked:
    alter user XXXXXX account unlock;
    If also is expired:
    ALTER USER xxxxx IDENTIFIED BY password;
    HTH
    Edited by: Fran on 30-may-2012 2:16

  • I am locked out of my account because my password includes "[" and my computer is set to spanish. In spanish that key doesn't work. How do I gejt back into my computer?

    i am locked out of my account because my password includes "[" and my computer is set to spanish. In spanish that key doesn't work. How do I gejt back into my computer?

    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password.
    Otherwise*, boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select
     ▹ Restart
    from the menu bar.
    You should now be able to log in with the new password, but your Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it.
    *Note: If you've activated FileVault, this procedure doesn't apply. Follow instead the instructions on this page:
    If you forget the password and FileVault is on

  • I've forgotten one of my answes to the "security questions" now I am locked out of my account. All I wanted to do was buy an album and now I am "locked out" how do I get Itunes to let me buy this album?

    I am not a ferquent user of Apple aside to download music on to my Ipod touch and I am not overly pleased with it. All I wish to do is download and ablum and cannot remeber the answers to one of my security questions.*seeing as I rarely use it* now I am locked out of my account and all and all very annoyed. how do I become unlocked and change my security questions so that I may download this album and stop using Itunes all in all.

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'. Please be patient waiting for the return
              phone call. It will come in time depending on how heavily the servers are being hit.
         2.  Call Apple Support in your country: Customer Service: Contacting Apple for support or
              Apple ID- Contacting Apple for help with Apple ID account security. Ask to speak to
              Account Security.
         3.  Rescue email address and how to reset Apple ID security questions.
    How to Manage your Apple ID: Manage My Apple ID

  • How to configure security policies like account locking, account expiry in portal application?

    Hi All,
    Can anybody pls tell me how to configure security policies like account locking,
    account expiry in portal application? By default, it has a 30 minutes lock period
    after 5 retries. But if I want to set other values or want to unlock account of
    a user, then what to do ?
    TIA,
    Sudarson

    I have read the SSO admin guide, and performed the steps for enabling SSL on the SSO, and followed the steps to configure mod_osso with virtual host on port 4443 as mentioned in the admin guide.
    The case now is that when I call my form (which is developed by forms developer suite 10g and deployed on the forms server which is SSO enabled) , it calls the SSO module on port 7777 using http (the default behaviour).
    on a URL that looks like this :
    http://myhostname:7777/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=.......
    and gives the error :
    ( Forbidden
    You don't have permisission to access /sso/auth on this server at port 7777)
    when I manually change the URL to :
    https://myhostname:4443/pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=.......
    the SSO works correctly.
    The question is :
    How can I change this default behaviour and make it call SSO on port 4443 using https instead ?
    Any ideas ?
    Thanks in advance

Maybe you are looking for