How password can be reset using ssh

We have cisco ACS 4.1 with password policy set as expire after 42 days.
we are facing the problem when the password expires. Users who are doing ssh to switches/routers can not change the password after expiration,but same user when logging from console can change password.

Any errors/debugs?
Regards
Farrukh

Similar Messages

  • I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?

    I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?
    I have a 2012 mac book pro can I use that to connect with firewire and load osx that way? and how woudl I do that?
    Thanks so much!

    To what password are you referring? Do you mean your user account's admin password? Or do you mean the master password for File Vault or do you mean a Firmware Password?
    For an admin password:
    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you cannot do the above then try this:
      1. Boot to Safe Mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command until
         you do.  If after seven tries you still do not receive a "Filesystem OK" message,
         then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    How to reset the OS X password without a startup CD:
    Reboot into Single-user Mode. Enter the following and press RETURN after each command line
       1. Type fsck -fy
       2. Type mount -uw /
       3. Type passwd <username>
    I have never tried this method myself.

  • How to get Reports for specific User that how many password has been reset using FIM SSPR in FIM 2010 R2 SSPR

    Hi,
    How to get Reports for specific User that how many password has been reset using FIM SSPR in FIM 2010 R2 SSPR
    Regards
    Anil Kumar

    Hello there Anil,
    A simple way to quickly get a overview is to look at the request history within the portal environment (note that this will expire in a few day based on your environment, after that you would need to FIM Reporting Module - but you could increase this to
    maybe 60 days to so, watch the DB size).
    To do this you could create some custom search scopes of do some custom queries. The creator of the SSPR activities always has the same GUID so you can use that so search.
    In your search scope you can use the following XPath to play with.
    - All Password Reset Requests - /Request[Creator='b0b36673-d43b-4cfa-a7a2-aff14fd90522' and Operation='Put']
    - All Completed Password Reset Requests - /Request[Creator='b0b36673-d43b-4cfa-a7a2-aff14fd90522' and RequestStatus=‘Completed']
    You can play with the "RequestStatus".
    Hope this helps.
    Almero Steyn (http://www.puttyq.com) [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or "Helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer
    faster.]

  • I have an Epson scanner that is apparently no longer supported  because it is a PowerPC app.  It's a very good scanner that worked fine until I upgraded to OS Mountain Lion on my MacBook Pro.  Any suggestions on how I can continue to use it?

    I have an Epson scanner that is apparently no longer supported  because it is a PowerPC app.  It's a very good scanner that worked fine until I upgraded to OS Mountain Lion on my MacBook Pro.  Any suggestions on how I can continue to use it?

    For that model, Epson has this information:
    ICA Scanner Driver
    07/17/12
    Description: The latest Mac OS X ICA scanner driver for your Epson product is available only via Apple's Software Update. Here's how to get it:
    1. Connect the all-in-one or scanner to your Mac and power it on.
    2. Select the  menu, then Software Update.
    3. Follow the on-screen instructions to install the available updates.
    Note: Software Updates may find multiple updates for your system. You may choose to install all or some of the updates by clicking on Show Details.
    Compatible Systems: Mac OS X (v10.8.x)

  • I want to buy photoshop creative cloud for teams, how users can install and use it?

    i want to buy photoshop creative cloud for teams, how users can install and use it?

    Cancel old and buy new is the only way I know, but you MAY be able to exchange
    Return, cancel, or exchange an Adobe order

  • Credit Risk Analyzer - How limits can be reset after the term has ended

    Hi Experts,
    I would like to know how limits can be reset after the transaction term has ended.
    Currently, my utilization reports still show past transactions and this transactions are still affecting my limit calculation report.
    Am I missing a process or a configuration?
    Also, would anyone know where the SAP limit utilization report is pulling out the transactions so when I run the limit utilization report, I can still view historical data?
    Thanks in advance.

    Hi Jerry,
      I do not think this customization helps. It only has two options to set start date as start of term or as date of commitment. But what if i want to set in future like your problem. Do we make it date of commitment for all the money market instruments?
    Best regards!
    Sandip

  • Clickinstagram is telling me to change my password and when i  'Forgot Password?' then 'reset using facebook' a pop up comes up saying 'We could not find any instagram linked to your facebook account. Try searching for your username or email instead'.

    instagram is telling me to change my password and when i go on 'Forgot Password?' then 'reset using facebook' a pop up comes up saying 'We could not find any instagram linked to your facebook account. Try searching for your username or email instead'. but i forgot the the password to the email i used for it:/ help me!!

    http://help.instagram.com/

  • My granson was given a Imac g4 without OS disc and a lost user password, can I reset it from scratch?

    My grandson was given an Imac g4 without OS disc and a lost user password, can I reset it from scratch?

    Dcok44 wrote:
    My grandson was given an Imac g4 without OS disc and a lost user password, can I reset it from scratch?
    Nope!
    You can get replacement System Install & Restore CD/DVDs from Apple's Customer Support - in the US, (800) 767-2775 - for a nominal S&H fee. You'll need to have the model and/or serial number of your Mac available. 
    If you're not in the US, you may need to go through the regional Apple Store that serves your location to find the contact number. Here's a list of links to all of those - http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html  Another resource:  International Support Phone #s.
    Mac OS X: Changing or resetting an account password

  • Once and for all: How to set up and use SSH

    Yes, I know ssh has been discussed on and off, but never in its entirety; and yes, there are step by step instructions on the www, but at one point or another they skip a crucial instruction that would be necessary for unix-dummies (e.g. how to save and close the nano-editor in Terminal). So, please pardon my question:
    There are several points I'd like to ask for ssh-connecting two macs on a local network:
    1) In terminal-file-"connect to server" you can ask for an ssh connection to be set up. For this to work, do I need to create private and public keys first? If so, how? Please point me to a reliable and step-by-step instruction site.
    There are some free ssh-utilities out there, but their documentation is just not helpful enough for a UNIX-dummy.
    2) Apparently I managed to connect via ssh once (from the terminal, see point 1) to a local server (allowing remote connection set to ON at the server). But then, when I connected to that server from the client's finder and tried to get into my user account on that server it told me that no secure connection could be established. What's wrong here? Do I have to continue working from within the terminal to use this connection? That would be difficult for an average MacUser.
    3) What is the security advantage of an SSH connection on a local wireless network (Airport Base Station) over WPA2, if at all?
    4) And how to set up an ssh-connection over the internet cloud to safely build a remote control/desktop sharing connection, e.g., a friend's Mac when she has a problem?
    Thanks for your consideration.

    First I'm not sure what your goals are.
    1) In terminal-file-"connect to server" you can ask for an ssh connection to be set up. For this to work, do I need to create private and public keys first?
    If you have ssh keys, you can do this without passwords. If you have not exchanged keys with the remote system, you will be asked for the password of the user you are attempting to login as.
    If so, how? Please point me to a reliable and step-by-step instruction site. There are some free ssh-utilities out there, but their documentation is just not helpful enough for a UNIX-dummy.
    Log into the remote system. This could be via ssh.
    On the remote system, run the following command to generate an ssh key for that remote system:
    ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/Users/username/.ssh/id_rsa): <<take default>>
    Created directory '/Users/username/.ssh'.
    Enter passphrase (empty for no passphrase): <<enter nothing>>
    Enter same passphrase again: <<enter nothing again>>
    Your identification has been saved in /Users/username/.ssh/id_rsa.
    Your public key has been saved in /Users/username/.ssh/id_rsa.pub.
    The key fingerprint is:
    aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:ll:mm:nn:oo:pp [email protected]
    This will generate an ssh key for the remote system. This could be any system that support ssh, such as a Unix system, or another Mac.
    Copy the id_rsa.pub file from the remote system to your Mac. When I say "your Mac" I mean the one that you want to make the ssh connection from. The id_rsa.pub is found in the remote system's ~username/.ssh/ directory.
    Append the copied id_rsa.pub to your Mac's ~himbear/.ssh/authorized_keys2 file
    cat id_rsa.pub >>~himbear/.ssh/authorized_keys2
    Now when you ssh to that specific remote system, it will NOT ask for a password. The first time you ssh to any system, ssh will ask if the system is really the system you thing it is. But once you say "yes", it will not ask that question again.
    Repeat for every remote system you wish to log into using an ssh key.
    2) Apparently I managed to connect via ssh once (from the terminal, see point 1) to a local server (allowing remote connection set to ON at the server). But then, when I connected to that server from the client's finder and tried to get into my user account on that server it told me that no secure connection could be established. What's wrong here? Do I have to continue working from within the terminal to use this connection? That would be difficult for an average MacUser.
    MacUser. A flash from the past, as in the MacUser magazine.
    ssh is not used by default when you make connections. If you want an ssh connection, you have to establish it intentionally.
    ssh can be used to pre-establish a tunnel (or tunnels) that other services can use. Once an ssh tunnel is establish, connections to local host's tunnel port will be connected to the specified remote port. For example:
    ssh -L 5901:localhost:5900 [email protected]
    will establish a tunnel that VNC can use. The VNC client would connect to localhost display 1 or port 5901.
    ssh allows multiple -L tunnels to be specified on the ssh command line.
    3) What is the security advantage of an SSH connection on a local wireless network (Airport Base Station) over WPA2, if at all?
    Inside you home. Not much. Unless of course you do not trust the other members of your family. That is to say, others having your WPA2 password, and are thus on the inside, and can sniff you packets.
    4) And how to set up an ssh-connection over the internet cloud to safely build a remote control/desktop sharing connection, e.g., a friend's Mac when she has a problem?
    If you are using the Mac OS X Leopard built-in *Screen Sharing* and you are connecting to another Mac's built-in Leopard System Preferences -> Sharing -> Remote Management (Tiger's Apple Remote Desktop), then in the *Screen Sharing* preferences, is an "Encrypt all network data" option.
    If you wish to set this option in advance, you can launch *Screen Sharing* by double clicking on System -> Library -> CoreServices -> Screen Sharing.app
    You can *Screen Sharing* connections over the net using iChat. This is one of the easiest ways to take control of their system. Of course they need to cooperate. I use a Free AOL Instant Messager (AIM) account for my iChat connections. And as a side benefit you can text, audio chat and/or video chat with the person at the other end.
    If you are NOT using the build-in Mac OS X *Screen Sharing* and/or you are NOT using the build-in remote Mac OS X remote management server, then this is a situation where an ssh tunnel would be a very good idea.
    However, setting up an ssh tunnel between 2 systems across the internet gets complex.
    In this case you might want to consider using something like LogMeIn.com which will deal with all those nasty home routers without needing to to do nasty router configurations, and it will be a secure connection. LogMeIn.com will not be as fast as a *Screen Sharing* connection or a VNC connection, but it will be secure and easy to establish. Again, this is only if you can not to Mac to Mac *Screen Sharing* using built-in Mac OS X remote desktop.
    Now if you want to roll your own ssh tunnels for VNC, then I'm just going to outline the things you need to do.
    If the remote system is behind a home router, you need to configure that remote home router to "Port Forward" port 22 on the Internet side to port 22 on the target Mac. Bonus points if the internet side using a high number port to discourge net bots from knocking on your door. Use the ssh -p 12345 option to connect to the high numbered port that is forwarded to port 22 of the destination Mac.
    On the remote Mac you need to run a VNC server. If this is a Mac, then Leopard System Preferences -> Sharing -> Remote Management (Tiger's Apple Remote Desktop). If it is not a Mac, then for Windows, TightVNC, UltraVNC, RealVNC are possible options. Linux has a built-in vncserver, or you can install x11vnc which has the advantage of displaying the desktop screen.
    Once you can access the remote system, you use an ssh command like the following:
    ssh -p 12345 -L 5901:localhost:5900 remote.system.address
    You can get the remote system's address by having the remote system surf over to http://whatismyip.com. Then they can tell you the IP address.
    If you are going to be doing this a lot, you can get a free no-ip.com or dyndns.org dynamic DNS name for the remote system, and the remote system can run a dynamic DNS client (available from no-ip.com or dyndns.org) which will keep the dynamic DNS name updated as the remote person's ISP change's their IP address.
    Finally, now that you have an ssh tunnel for VNC traffic, you have your VNC client connect to
    Address: localhost
    Port: 5901
    Depending on your VNC client you may need to specify Display 1 instead of Port 5901. Or if you do not get a Display or Port option you specify localhost:5901

  • I have an ipod touch and an hp computer. i was wondering how i can play apps using itunes on my computer

    I need help as fast as possible! i downloaded an app from itunes off of my computer and i can only use it on my computer.
    Does anyone know how i can use it on my computer? please help!:)

    Hi ~
    You cannot do that. The apps are specially made for the apple products. If you want to have apps on your computer, find them online somewhere else, pay for them if needed, and use those. You cannot do what you are requesting to do.
    Hope I helped!

  • How much can you fit using iDVD

    How mcuh can you fit on a dvd using iDVD? Can you fit 2 hours, maybe more.

    No, 2 hours, maybe less!
    The maximum capacity of a DVD is 120 minutes, but that includes titles, transitions etc.
    If you work on 1 hr 45 minutes you should be OK.
    The only exception is if you burn the DVD using Roxio Toast, which has the ability to 'compress to fit', but there is a quality penalty.
    The attention span of the audience is also a factor....

  • HT4759 i lost my iphone how i can find it using IMEI number

    hi how i  can find my iphone using IMEI number please help

    That will only allow your carrier to blacklist the phone so it cannot be used or reactivated on their network.  It won't allow you to find it.

  • HT1918 how the can you reset your rescue email details when it asks for your date of birth as a primary question (and you hadnt entered it in first place) anyone know ?

    I need to reset my "Rescue email"
    in order to do this you have to answer security questions
    herein lies my problem
    its asks for my date of birth
    i enter it and it is not recognised
    therefore i can't reset my account information
    anybody know what to do next
    have contacted itunes but not received any valid help as of yet

    No one here will be able to help you. We are fellow users.
    You need to contact iTunes support via:
    https://expresslane.apple.com
    It looks like you've already done that - they can take a day or to respond these days I find.
    AC

  • My i ph 3 does not start only aaple sign coming on my screen when i start my ph,, pls let me know how i can start and use my ph

    how i can start my i ph 3 when only apple sign comes on my ph screen

    If you cannot put it in recovery mode to restore it, you'll have to try putting it in DFU mode to restore it as described in this post: https://discussions.apple.com/thread/2648467?threadID=2648467&tstart=0.  That's the last thing you can try.  If DFU mode doesn't work you probably have a hardware failure and you'll have to have Apple take a look at it.

  • I forgot my password, can I reset or skip it?

    I haven't used my Palm for several years and I recently wanted to use it. Unforturnately I forgot the passward. Do you know if there is any way to reset or skip the password? Thank you for your help!
    Post relates to: Palm TX

    A password that could easily be bypassed would not be of much value, would it?
    Your only choice is to perform a Hard Reset and start over by erasing the device.
    WyreNut 
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

Maybe you are looking for

  • CS5 - Graphic with feathered edge disappears when exported to PDF

    I just ran into an odd problem, and unfortunately the book got printed before we saw the problem - ugh! I set up a chapter header for a book. It was a graphic of wood to which I added a 0p9 feathered edge. In a text box on top of this, I put the chap

  • Transfer open items to new reconciliation account

    Hello, We have changed the reconciliation account of a customer and also want to have the reconciliation account of the open items of that customer changed. We already tried to do this with TC code F101 (Balance Sheet Supplement) but this program onl

  • WSUS not Downloading 2012 r2 patches

    The issue I seem to have in a prod environment  (WSUS on 2012r2) is, I get all server 2008 patches no issue, but the server 2012 patches, they aren't even being down loaded, I can retrieve the list from MS directly from the windows update panel. But

  • Drop Zone Video Preview

    I've gone into settings and changed the timeframe for motion but the drop zone video still plays 30 secs, but I only want it to play for 5 seconds, does anyone know what I'm missing. Thanks

  • What is the "messages agent" i am asked to sign into every time i turn on my Mac?

    Why am I asked to log into "Messages Agent", "iCloudhelper", "addressbook agent", and "Calander" agent every time i turn my computer on? how do I disable this?