Find the answer to your Linux question:
Results 1 to 3 of 3
hi I have root privilege to the Linux system My problem is “how can I find the password of the particular user with out changing the password of that user” ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    36

    How to know password of the user

    hi
    I have root privilege to the Linux system
    My problem is “how can I find the password of the particular user with out changing the password of that user”

    thanks in advance

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by chakribobby View Post
    hi
    I have root privilege to the Linux system
    My problem is “how can I find the password of the particular user with out changing the password of that user”

    thanks in advance
    The only way for a root user to know a user's password would be to ask the user directly for his/her password. Root users cannot read a user's password, but can only change them because they are encrypted upon creation.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Indeed. Passwords are stored in an encrypted format in the /etc/shadow file. The encryption used is a 1-way encryption: there is no way to restore the original password from the encrypted version. Password are checked by encrypting the entered password and checking if the encrypted versions match.

    If a user has lost his password, you can use the "passwd USER" command to change USER's password.
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

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