Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, all I have a Linux web filtering server and have lost the password, is there any way of resetting or removing it? I have access to the Linux hard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    ux2
    ux2 is offline
    Just Joined!
    Join Date
    Dec 2010
    Posts
    2

    Password lost... Cant Login?


    Hi, all

    I have a Linux web filtering server and have lost the password, is there any way of resetting or removing it?

    I have access to the Linux hard drives files as I have removed the Linux hard drive from the server and connected it to my PC.

    I've managed to remove the password on the Grub boot screen by removing the MD5 password from the /boot/grub/ menu.lst

    The problem is I cant remove the password or log in to the server as its asking for the password...

    I have edited the passwd file in \etc\ by removing the X in the following code:

    root:0:0:root:/root:/bin/bash

    I have also edited the shadow file in etc\ and removed the "$1$8aTC.PY6$rxbnKK5au/ZMsR0ekGWSZ1" in the following code:

    root:$1$8aTC.PY6$rxbnKK5au/ZMsR0ekGWSZ1:13643:0:99999:7:::

    But whenever I try to login I get a "Password Denied" message.


    How can I remove the password and gain access to the server?




    Please help and thanks in advance.

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    Welcome to the forums ux2

    Have you tried methods here ?

Posting Permissions

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