Results 1 to 2 of 2

Thread: Reset password using script

  1. #1

    Reset password using script

    Hi,

    I know we can reset the password remotely using
    Code:
    echo password | passwd --stdin
    but in SLES 12 I dont see stdin option available. In this case what will be the alternatives to reset the password using script.

    Best Wishes,
    Mann.

  2. Re: Reset password using script

    Quote Originally Posted by mannmaniyar View Post
    Hi,

    I know we can reset the password remotely using
    Code:
    echo password | passwd --stdin
    but in SLES 12 I dont see stdin option available. In this case what will be the alternatives to reset the password using script.

    Best Wishes,
    Mann.
    I use
    Code:
    echo 'user:password' | chpasswd
    .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •