Loading ...
Sorry, an error occurred while loading the content.

Help with changing root password.

Expand Messages
  • James S Stubbs
    Hi All, I am having problems following the how-to for changing the root password. I hope some one can help. This is various bits of information I have been
    Message 1 of 11 , Nov 11, 2004
    • 0 Attachment
      Hi All,

      I am having problems following the how-to for changing the root
      password. I hope some one can help.

      This is various bits of information I have been able to gather.

      james@LINKSTATION:/www/cgi-bin3$ ls -l
      total 1
      -rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
      james@LINKSTATION:/www/cgi-bin3$


      james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
      #!/bin/sh
      chmod 666 /etc/passwd
      james@LINKSTATION:/www/cgi-bin3$

      I think all of this tells me I have followed the instruction correctly ?

      However when I put

      http://192.168.001.103/cgi-bin3/accesspass.sh
      or
      http://linkstation/cgi-bin3/accesspass.sh

      I get the following error:

      500 Internal Error
      There was an unusual problem serving the requested URL
      '/cgi-bin3/accesspass.sh'.
      thttpd/2.25b 29dec2003
      HTTP/1.0 200 OK

      Many thanks & Best wishes


      James.
    • James Ronald
      ... James, I think the problem is that you need a space between the ! / in the first line. #! /bin/sh not #!/bin/sh Also, make sure that the cgi-bin3
      Message 2 of 11 , Nov 11, 2004
      • 0 Attachment
        >
        > Hi All,
        >
        > I am having problems following the how-to for changing the root
        > password. I hope some one can help.
        >
        > This is various bits of information I have been able to gather.
        >
        > james@LINKSTATION:/www/cgi-bin3$ ls -l
        > total 1
        > -rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
        > james@LINKSTATION:/www/cgi-bin3$
        >
        >
        > james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
        > #!/bin/sh
        > chmod 666 /etc/passwd
        > james@LINKSTATION:/www/cgi-bin3$
        >
        > I think all of this tells me I have followed the instruction correctly ?
        >
        > However when I put
        >
        > http://192.168.001.103/cgi-bin3/accesspass.sh
        > or
        > http://linkstation/cgi-bin3/accesspass.sh
        >
        > I get the following error:
        >
        > 500 Internal Error
        > There was an unusual problem serving the requested URL
        > '/cgi-bin3/accesspass.sh'.
        > thttpd/2.25b 29dec2003
        > HTTP/1.0 200 OK
        >
        > Many thanks & Best wishes
        >
        >
        > James.
        >

        James,

        I think the problem is that you need a space between the ! / in the first
        line.
        #! /bin/sh not #!/bin/sh

        Also, make sure that the cgi-bin3 directory is executable.

        drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
        drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
        drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3

        JR
      • James S Stubbs
        ... Hi JR, Thanks for your response. james@LINKSTATION:/www/cgi-bin3$ cd /www/ james@LINKSTATION:/www$ ls -l total 14 drwxr-xr-x 2 root root
        Message 3 of 11 , Nov 11, 2004
        • 0 Attachment
          James Ronald wrote:
          >>Hi All,
          >>
          >>I am having problems following the how-to for changing the root
          >>password. I hope some one can help.
          >>
          >>This is various bits of information I have been able to gather.
          >>
          >>james@LINKSTATION:/www/cgi-bin3$ ls -l
          >>total 1
          >>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
          >>james@LINKSTATION:/www/cgi-bin3$
          >>
          >>
          >>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
          >>#!/bin/sh
          >>chmod 666 /etc/passwd
          >>james@LINKSTATION:/www/cgi-bin3$
          >>
          >>I think all of this tells me I have followed the instruction correctly ?
          >>
          >>However when I put
          >>
          >>http://192.168.001.103/cgi-bin3/accesspass.sh
          >>or
          >>http://linkstation/cgi-bin3/accesspass.sh
          >>
          >>I get the following error:
          >>
          >>500 Internal Error
          >>There was an unusual problem serving the requested URL
          >>'/cgi-bin3/accesspass.sh'.
          >>thttpd/2.25b 29dec2003
          >>HTTP/1.0 200 OK
          >>
          >>Many thanks & Best wishes
          >>
          >>
          >>James.
          >>
          >
          >
          > James,
          >
          > I think the problem is that you need a space between the ! / in the first
          > line.
          > #! /bin/sh not #!/bin/sh
          >
          > Also, make sure that the cgi-bin3 directory is executable.
          >
          > drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
          > drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
          > drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
          >
          > JR
          >
          >
          >
          > ------------------------ Yahoo! Groups Sponsor --------------------~-->
          > $9.95 domain names from Yahoo!. Register anything.
          > http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/O7EolB/TM

          Hi JR,

          Thanks for your response.

          james@LINKSTATION:/www/cgi-bin3$ cd /www/
          james@LINKSTATION:/www$ ls -l
          total 14
          drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
          drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
          drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
          drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
          drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
          drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
          -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
          drwxr-xr-x 2 root root 1024 Feb 22 2022 script
          james@LINKSTATION:/www$


          james@LINKSTATION:/www$ cd /www/cgi-bin3
          james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
          #! /bin/sh
          chmod 666 /etc/passwd
          james@LINKSTATION:/www/cgi-bin3$

          However I still get the same error.

          Best wishes.


          James.
        • James Ronald
          ... James, How did you create the accesspass.sh file? Make sure that you create/edit files using an editor that handles Unix/Linux type files. Standard
          Message 4 of 11 , Nov 11, 2004
          • 0 Attachment
            >>>Hi All,
            >>>
            >>>I am having problems following the how-to for changing the root
            >>>password. I hope some one can help.
            >>>
            >>>This is various bits of information I have been able to gather.
            >>>
            >>>james@LINKSTATION:/www/cgi-bin3$ ls -l
            >>>total 1
            >>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
            >>>james@LINKSTATION:/www/cgi-bin3$
            >>>
            >>>
            >>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
            >>>#!/bin/sh
            >>>chmod 666 /etc/passwd
            >>>james@LINKSTATION:/www/cgi-bin3$
            >>>
            >>>I think all of this tells me I have followed the instruction correctly ?
            >>>
            >>>However when I put
            >>>
            >>>http://192.168.001.103/cgi-bin3/accesspass.sh
            >>>or
            >>>http://linkstation/cgi-bin3/accesspass.sh
            >>>
            >>>I get the following error:
            >>>
            >>>500 Internal Error
            >>>There was an unusual problem serving the requested URL
            >>>'/cgi-bin3/accesspass.sh'.
            >>>thttpd/2.25b 29dec2003
            >>>HTTP/1.0 200 OK
            >>>
            >>>Many thanks & Best wishes
            >>>
            >>>
            >>>James.
            >>>
            >> James,
            >>
            >> I think the problem is that you need a space between the ! / in the first
            >> line.
            >> #! /bin/sh not #!/bin/sh
            >>
            >> Also, make sure that the cgi-bin3 directory is executable.
            >>
            >> drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
            >> drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
            >> drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
            >>
            >> JR
            >>
            > Hi JR,
            >
            > Thanks for your response.
            >
            > james@LINKSTATION:/www/cgi-bin3$ cd /www/
            > james@LINKSTATION:/www$ ls -l
            > total 14
            > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
            > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
            > drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
            > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
            > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
            > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
            > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
            > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
            > james@LINKSTATION:/www$
            >
            >
            > james@LINKSTATION:/www$ cd /www/cgi-bin3
            > james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
            > #! /bin/sh
            > chmod 666 /etc/passwd
            > james@LINKSTATION:/www/cgi-bin3$
            >
            > However I still get the same error.
            >
            > Best wishes.
            > James.
            >
            James,
            How did you create the accesspass.sh file? Make sure that you create/edit
            files using an editor that handles Unix/Linux type files. Standard
            Windows/DOS type editors put a ^M on the end of each line. Try using vi to
            edit the file.

            JR
          • James S Stubbs
            ... JR, I used EditPad as was recommended http://www.editpadpro.com/editpadlite.html But I did notice: james@LINKSTATION:/www/cgi-bin3$ cat --show-all
            Message 5 of 11 , Nov 11, 2004
            • 0 Attachment
              James Ronald wrote:

              >
              > >>>Hi All,
              > >>>
              > >>>I am having problems following the how-to for changing the root
              > >>>password. I hope some one can help.
              > >>>
              > >>>This is various bits of information I have been able to gather.
              > >>>
              > >>>james@LINKSTATION:/www/cgi-bin3$ ls -l
              > >>>total 1
              > >>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
              > >>>james@LINKSTATION:/www/cgi-bin3$
              > >>>
              > >>>
              > >>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
              > >>>#!/bin/sh
              > >>>chmod 666 /etc/passwd
              > >>>james@LINKSTATION:/www/cgi-bin3$
              > >>>
              > >>>I think all of this tells me I have followed the instruction
              > correctly ?
              > >>>
              > >>>However when I put
              > >>>
              > >>>http://192.168.001.103/cgi-bin3/accesspass.sh
              > >>>or
              > >>>http://linkstation/cgi-bin3/accesspass.sh
              > >>>
              > >>>I get the following error:
              > >>>
              > >>>500 Internal Error
              > >>>There was an unusual problem serving the requested URL
              > >>>'/cgi-bin3/accesspass.sh'.
              > >>>thttpd/2.25b 29dec2003
              > >>>HTTP/1.0 200 OK
              > >>>
              > >>>Many thanks & Best wishes
              > >>>
              > >>>
              > >>>James.
              > >>>
              > >> James,
              > >>
              > >> I think the problem is that you need a space between the ! / in the
              > first
              > >> line.
              > >> #! /bin/sh not #!/bin/sh
              > >>
              > >> Also, make sure that the cgi-bin3 directory is executable.
              > >>
              > >> drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
              > >> drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
              > >> drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
              > >>
              > >> JR
              > >>
              > > Hi JR,
              > >
              > > Thanks for your response.
              > >
              > > james@LINKSTATION:/www/cgi-bin3$ cd /www/
              > > james@LINKSTATION:/www$ ls -l
              > > total 14
              > > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
              > > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
              > > drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
              > > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
              > > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
              > > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
              > > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
              > > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
              > > james@LINKSTATION:/www$
              > >
              > >
              > > james@LINKSTATION:/www$ cd /www/cgi-bin3
              > > james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
              > > #! /bin/sh
              > > chmod 666 /etc/passwd
              > > james@LINKSTATION:/www/cgi-bin3$
              > >
              > > However I still get the same error.
              > >
              > > Best wishes.
              > > James.
              > >
              > James,
              > How did you create the accesspass.sh file? Make sure that you
              > create/edit
              > files using an editor that handles Unix/Linux type files. Standard
              > Windows/DOS type editors put a ^M on the end of each line. Try using
              > vi to
              > edit the file.
              >
              > JR
              >
              >
              >
              > ------------------------------------------------------------------------
              > **


              JR,

              I used EditPad as was recommended
              http://www.editpadpro.com/editpadlite.html
              But I did notice:

              james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
              #! /bin/sh^M$
              chmod 666 /etc/passwd^M$
              james@LINKSTATION:/www/cgi-bin3$

              So I guess I need to look at vi. But I can't believe how difficult it is
              to use. I have been at it for 30 minutes already and all I end up doing
              is screwing up the script.

              Thanks for your help, I will keep you updated

              Best wishes.

              James.
            • James S Stubbs
              ... Hi JR, Manged to get vi to work james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh #! /bin/sh$ chmod 666 /etc/passwd$ $
              Message 6 of 11 , Nov 11, 2004
              • 0 Attachment
                James S Stubbs wrote:
                > James Ronald wrote:
                >
                >
                >>>>>Hi All,
                >>>>>
                >>>>>I am having problems following the how-to for changing the root
                >>>>>password. I hope some one can help.
                >>>>>
                >>>>>This is various bits of information I have been able to gather.
                >>>>>
                >>>>>james@LINKSTATION:/www/cgi-bin3$ ls -l
                >>>>>total 1
                >>>>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
                >>>>>james@LINKSTATION:/www/cgi-bin3$
                >>>>>
                >>>>>
                >>>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                >>>>>#!/bin/sh
                >>>>>chmod 666 /etc/passwd
                >>>>>james@LINKSTATION:/www/cgi-bin3$
                >>>>>
                >>>>>I think all of this tells me I have followed the instruction
                >>
                >>correctly ?
                >>
                >>>>>However when I put
                >>>>>
                >>>>>http://192.168.001.103/cgi-bin3/accesspass.sh
                >>>>>or
                >>>>>http://linkstation/cgi-bin3/accesspass.sh
                >>>>>
                >>>>>I get the following error:
                >>>>>
                >>>>>500 Internal Error
                >>>>>There was an unusual problem serving the requested URL
                >>>>>'/cgi-bin3/accesspass.sh'.
                >>>>>thttpd/2.25b 29dec2003
                >>>>>HTTP/1.0 200 OK
                >>>>>
                >>>>>Many thanks & Best wishes
                >>>>>
                >>>>>
                >>>>>James.
                >>>>>
                >>>>
                >>>>James,
                >>>>
                >>>>I think the problem is that you need a space between the ! / in the
                >>
                >>first
                >>
                >>>>line.
                >>>>#! /bin/sh not #!/bin/sh
                >>>>
                >>>>Also, make sure that the cgi-bin3 directory is executable.
                >>>>
                >>>>drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
                >>>>drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
                >>>>drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
                >>>>
                >>>>JR
                >>>>
                >>>
                >>>Hi JR,
                >>>
                >>>Thanks for your response.
                >>>
                >>>james@LINKSTATION:/www/cgi-bin3$ cd /www/
                >>>james@LINKSTATION:/www$ ls -l
                >>>total 14
                >>>drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                >>>drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                >>>drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
                >>>drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                >>>drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                >>>drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                >>>-r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                >>>drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                >>>james@LINKSTATION:/www$
                >>>
                >>>
                >>>james@LINKSTATION:/www$ cd /www/cgi-bin3
                >>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                >>>#! /bin/sh
                >>>chmod 666 /etc/passwd
                >>>james@LINKSTATION:/www/cgi-bin3$
                >>>
                >>>However I still get the same error.
                >>>
                >>>Best wishes.
                >>>James.
                >>>
                >>
                >>James,
                >>How did you create the accesspass.sh file? Make sure that you
                >>create/edit
                >>files using an editor that handles Unix/Linux type files. Standard
                >>Windows/DOS type editors put a ^M on the end of each line. Try using
                >>vi to
                >>edit the file.
                >>
                >>JR
                >>
                >>
                >>
                >>------------------------------------------------------------------------
                >>**
                >
                >
                >
                > JR,
                >
                > I used EditPad as was recommended
                > http://www.editpadpro.com/editpadlite.html
                > But I did notice:
                >
                > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                > #! /bin/sh^M$
                > chmod 666 /etc/passwd^M$
                > james@LINKSTATION:/www/cgi-bin3$
                >
                > So I guess I need to look at vi. But I can't believe how difficult it is
                > to use. I have been at it for 30 minutes already and all I end up doing
                > is screwing up the script.
                >
                > Thanks for your help, I will keep you updated
                >
                > Best wishes.
                >
                > James.
                >
                >
                >
                > ------------------------ Yahoo! Groups Sponsor --------------------~-->
                > Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
                > Now with Pop-Up Blocker. Get it for free!
                > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/O7EolB/TM

                Hi JR,

                Manged to get vi to work

                james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                #! /bin/sh$
                chmod 666 /etc/passwd$


                $
                james@LINKSTATION:/www/cgi-bin3$ chmod a+rx /www/cgi-bin3/accesspass.sh


                james@LINKSTATION:/www/cgi-bin3$ ls -l
                total 1
                -rwxr-xr-x 1 james hdusers 34 Nov 11 23:57 accesspass.sh


                james@LINKSTATION:/www/cgi-bin3$ cd
                james@LINKSTATION:~$ cd /www/
                james@LINKSTATION:/www$ ls -l
                total 14
                drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                drwxr-xr-x 2 james hdusers 1024 Nov 11 23:57 cgi-bin3
                drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                james@LINKSTATION:/www$

                Now I get no errors but just a blank web page ?

                Is this all I am supposed to get

                Best wishes

                James.
              • James Ronald
                ... Yep, pretty much. Now check the file attributes of /etc/passwd. It should look like: -rw-rw-rw- 1 root root 397 Oct 2 21:23 passwd Now
                Message 7 of 11 , Nov 11, 2004
                • 0 Attachment
                  >>>>>> James S Stubbs wrote:
                  >>>>>>Hi All,
                  >>>>>>
                  >>>>>>I am having problems following the how-to for changing the root
                  >>>>>>password. I hope some one can help.
                  >>>>>>
                  >>>>>>This is various bits of information I have been able to gather.
                  >>>>>>
                  >>>>>>james@LINKSTATION:/www/cgi-bin3$ ls -l
                  >>>>>>total 1
                  >>>>>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23 accesspass.sh
                  >>>>>>james@LINKSTATION:/www/cgi-bin3$
                  >>>>>>
                  >>>>>>
                  >>>>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                  >>>>>>#!/bin/sh
                  >>>>>>chmod 666 /etc/passwd
                  >>>>>>james@LINKSTATION:/www/cgi-bin3$
                  >>>>>>
                  >>>>>>I think all of this tells me I have followed the instruction
                  >>>
                  >>>correctly ?
                  >>>
                  >>>>>>However when I put
                  >>>>>>
                  >>>>>>http://192.168.001.103/cgi-bin3/accesspass.sh
                  >>>>>>or
                  >>>>>>http://linkstation/cgi-bin3/accesspass.sh
                  >>>>>>
                  >>>>>>I get the following error:
                  >>>>>>
                  >>>>>>500 Internal Error
                  >>>>>>There was an unusual problem serving the requested URL
                  >>>>>>'/cgi-bin3/accesspass.sh'.
                  >>>>>>thttpd/2.25b 29dec2003
                  >>>>>>HTTP/1.0 200 OK
                  >>>>>>
                  >>>>>>Many thanks & Best wishes
                  >>>>>>
                  >>>>>>
                  >>>>>>James.
                  >>>>>>
                  >>>>>
                  >>>>>James,
                  >>>>>
                  >>>>>I think the problem is that you need a space between the ! / in the
                  >>>
                  >>>first
                  >>>
                  >>>>>line.
                  >>>>>#! /bin/sh not #!/bin/sh
                  >>>>>
                  >>>>>Also, make sure that the cgi-bin3 directory is executable.
                  >>>>>
                  >>>>>drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
                  >>>>>drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
                  >>>>>drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
                  >>>>>
                  >>>>>JR
                  >>>>>
                  >>>>
                  >>>>Hi JR,
                  >>>>
                  >>>>Thanks for your response.
                  >>>>
                  >>>>james@LINKSTATION:/www/cgi-bin3$ cd /www/
                  >>>>james@LINKSTATION:/www$ ls -l
                  >>>>total 14
                  >>>>drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                  >>>>drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                  >>>>drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
                  >>>>drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                  >>>>drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                  >>>>drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                  >>>>-r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                  >>>>drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                  >>>>james@LINKSTATION:/www$
                  >>>>
                  >>>>
                  >>>>james@LINKSTATION:/www$ cd /www/cgi-bin3
                  >>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                  >>>>#! /bin/sh
                  >>>>chmod 666 /etc/passwd
                  >>>>james@LINKSTATION:/www/cgi-bin3$
                  >>>>
                  >>>>However I still get the same error.
                  >>>>
                  >>>>Best wishes.
                  >>>>James.
                  >>>>
                  >>>
                  >>>James,
                  >>>How did you create the accesspass.sh file? Make sure that you
                  >>>create/edit
                  >>>files using an editor that handles Unix/Linux type files. Standard
                  >>>Windows/DOS type editors put a ^M on the end of each line. Try using
                  >>>vi to
                  >>>edit the file.
                  >>>
                  >>>JR
                  >>>
                  >>>
                  >>>
                  >>>------------------------------------------------------------------------
                  >>>**
                  >>
                  >>
                  >>
                  >> JR,
                  >>
                  >> I used EditPad as was recommended
                  >> http://www.editpadpro.com/editpadlite.html
                  >> But I did notice:
                  >>
                  >> james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                  >> #! /bin/sh^M$
                  >> chmod 666 /etc/passwd^M$
                  >> james@LINKSTATION:/www/cgi-bin3$
                  >>
                  >> So I guess I need to look at vi. But I can't believe how difficult it is
                  >> to use. I have been at it for 30 minutes already and all I end up doing
                  >> is screwing up the script.
                  >>
                  >> Thanks for your help, I will keep you updated
                  >>
                  >> Best wishes.
                  >>
                  >> James.
                  >>
                  >>
                  >>
                  >> ------------------------ Yahoo! Groups Sponsor --------------------~-->
                  >> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
                  >> Now with Pop-Up Blocker. Get it for free!
                  >> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/O7EolB/TM
                  >
                  > Hi JR,
                  >
                  > Manged to get vi to work
                  >
                  > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                  > #! /bin/sh$
                  > chmod 666 /etc/passwd$
                  >
                  >
                  > $
                  > james@LINKSTATION:/www/cgi-bin3$ chmod a+rx /www/cgi-bin3/accesspass.sh
                  >
                  >
                  > james@LINKSTATION:/www/cgi-bin3$ ls -l
                  > total 1
                  > -rwxr-xr-x 1 james hdusers 34 Nov 11 23:57 accesspass.sh
                  >
                  >
                  > james@LINKSTATION:/www/cgi-bin3$ cd
                  > james@LINKSTATION:~$ cd /www/
                  > james@LINKSTATION:/www$ ls -l
                  > total 14
                  > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                  > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                  > drwxr-xr-x 2 james hdusers 1024 Nov 11 23:57 cgi-bin3
                  > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                  > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                  > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                  > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                  > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                  > james@LINKSTATION:/www$
                  >
                  > Now I get no errors but just a blank web page ?
                  >
                  > Is this all I am supposed to get
                  >
                  > Best wishes
                  >
                  > James.
                  >
                  Yep, pretty much. Now check the file attributes of /etc/passwd.
                  It should look like:
                  -rw-rw-rw- 1 root root 397 Oct 2 21:23 passwd

                  Now you can edit this file and change the password for root.
                  Be very careful.

                  JR
                • jamy1975
                  Yes that s all you should get. All you have to do now is check the permissions on /etc/passwd to make sure permissions are correct./ Jamy ... accesspass.sh ...
                  Message 8 of 11 , Nov 12, 2004
                  • 0 Attachment
                    Yes that's all you should get. All you have to do now is check the
                    permissions on /etc/passwd to make sure permissions are correct./

                    Jamy

                    --- In LinkStation_General@yahoogroups.com, James S Stubbs
                    <stubbsjuk@y...> wrote:
                    > James S Stubbs wrote:
                    > > James Ronald wrote:
                    > >
                    > >
                    > >>>>>Hi All,
                    > >>>>>
                    > >>>>>I am having problems following the how-to for changing the root
                    > >>>>>password. I hope some one can help.
                    > >>>>>
                    > >>>>>This is various bits of information I have been able to gather.
                    > >>>>>
                    > >>>>>james@LINKSTATION:/www/cgi-bin3$ ls -l
                    > >>>>>total 1
                    > >>>>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23
                    accesspass.sh
                    > >>>>>james@LINKSTATION:/www/cgi-bin3$
                    > >>>>>
                    > >>>>>
                    > >>>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                    > >>>>>#!/bin/sh
                    > >>>>>chmod 666 /etc/passwd
                    > >>>>>james@LINKSTATION:/www/cgi-bin3$
                    > >>>>>
                    > >>>>>I think all of this tells me I have followed the instruction
                    > >>
                    > >>correctly ?
                    > >>
                    > >>>>>However when I put
                    > >>>>>
                    > >>>>>http://192.168.001.103/cgi-bin3/accesspass.sh
                    > >>>>>or
                    > >>>>>http://linkstation/cgi-bin3/accesspass.sh
                    > >>>>>
                    > >>>>>I get the following error:
                    > >>>>>
                    > >>>>>500 Internal Error
                    > >>>>>There was an unusual problem serving the requested URL
                    > >>>>>'/cgi-bin3/accesspass.sh'.
                    > >>>>>thttpd/2.25b 29dec2003
                    > >>>>>HTTP/1.0 200 OK
                    > >>>>>
                    > >>>>>Many thanks & Best wishes
                    > >>>>>
                    > >>>>>
                    > >>>>>James.
                    > >>>>>
                    > >>>>
                    > >>>>James,
                    > >>>>
                    > >>>>I think the problem is that you need a space between the ! / in the
                    > >>
                    > >>first
                    > >>
                    > >>>>line.
                    > >>>>#! /bin/sh not #!/bin/sh
                    > >>>>
                    > >>>>Also, make sure that the cgi-bin3 directory is executable.
                    > >>>>
                    > >>>>drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
                    > >>>>drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
                    > >>>>drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
                    > >>>>
                    > >>>>JR
                    > >>>>
                    > >>>
                    > >>>Hi JR,
                    > >>>
                    > >>>Thanks for your response.
                    > >>>
                    > >>>james@LINKSTATION:/www/cgi-bin3$ cd /www/
                    > >>>james@LINKSTATION:/www$ ls -l
                    > >>>total 14
                    > >>>drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                    > >>>drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                    > >>>drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
                    > >>>drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                    > >>>drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                    > >>>drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                    > >>>-r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                    > >>>drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                    > >>>james@LINKSTATION:/www$
                    > >>>
                    > >>>
                    > >>>james@LINKSTATION:/www$ cd /www/cgi-bin3
                    > >>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                    > >>>#! /bin/sh
                    > >>>chmod 666 /etc/passwd
                    > >>>james@LINKSTATION:/www/cgi-bin3$
                    > >>>
                    > >>>However I still get the same error.
                    > >>>
                    > >>>Best wishes.
                    > >>>James.
                    > >>>
                    > >>
                    > >>James,
                    > >>How did you create the accesspass.sh file? Make sure that you
                    > >>create/edit
                    > >>files using an editor that handles Unix/Linux type files. Standard
                    > >>Windows/DOS type editors put a ^M on the end of each line. Try using
                    > >>vi to
                    > >>edit the file.
                    > >>
                    > >>JR
                    > >>
                    > >>
                    > >>
                    >
                    >>------------------------------------------------------------------------
                    > >>**
                    > >
                    > >
                    > >
                    > > JR,
                    > >
                    > > I used EditPad as was recommended
                    > > http://www.editpadpro.com/editpadlite.html
                    > > But I did notice:
                    > >
                    > > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                    > > #! /bin/sh^M$
                    > > chmod 666 /etc/passwd^M$
                    > > james@LINKSTATION:/www/cgi-bin3$
                    > >
                    > > So I guess I need to look at vi. But I can't believe how difficult
                    it is
                    > > to use. I have been at it for 30 minutes already and all I end up
                    doing
                    > > is screwing up the script.
                    > >
                    > > Thanks for your help, I will keep you updated
                    > >
                    > > Best wishes.
                    > >
                    > > James.
                    > >
                    > >
                    > >
                    > > ------------------------ Yahoo! Groups Sponsor
                    --------------------~-->
                    > > Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
                    > > Now with Pop-Up Blocker. Get it for free!
                    > > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/O7EolB/TM
                    >
                    > Hi JR,
                    >
                    > Manged to get vi to work
                    >
                    > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                    > #! /bin/sh$
                    > chmod 666 /etc/passwd$
                    >
                    >
                    > $
                    > james@LINKSTATION:/www/cgi-bin3$ chmod a+rx /www/cgi-bin3/accesspass.sh
                    >
                    >
                    > james@LINKSTATION:/www/cgi-bin3$ ls -l
                    > total 1
                    > -rwxr-xr-x 1 james hdusers 34 Nov 11 23:57 accesspass.sh
                    >
                    >
                    > james@LINKSTATION:/www/cgi-bin3$ cd
                    > james@LINKSTATION:~$ cd /www/
                    > james@LINKSTATION:/www$ ls -l
                    > total 14
                    > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                    > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                    > drwxr-xr-x 2 james hdusers 1024 Nov 11 23:57 cgi-bin3
                    > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                    > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                    > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                    > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                    > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                    > james@LINKSTATION:/www$
                    >
                    > Now I get no errors but just a blank web page ?
                    >
                    > Is this all I am supposed to get
                    >
                    > Best wishes
                    >
                    > James.
                  • James S Stubbs
                    ... Hi JR & Jammy, Thank you for all your help so far. This has really been a good learning experience for me. In return I will add an Idiots guide to the web
                    Message 9 of 11 , Nov 12, 2004
                    • 0 Attachment
                      James Ronald wrote:

                      > >>>>>> James S Stubbs wrote:
                      > >>>>>>Hi All,
                      > >>>>>>
                      > >>>>>>I am having problems following the how-to for changing the root
                      > >>>>>>password. I hope some one can help.
                      > >>>>>>
                      > >>>>>>This is various bits of information I have been able to gather.
                      > >>>>>>
                      > >>>>>>james@LINKSTATION:/www/cgi-bin3$ ls -l
                      > >>>>>>total 1
                      > >>>>>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23
                      > accesspass.sh
                      > >>>>>>james@LINKSTATION:/www/cgi-bin3$
                      > >>>>>>
                      > >>>>>>
                      > >>>>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                      > >>>>>>#!/bin/sh
                      > >>>>>>chmod 666 /etc/passwd
                      > >>>>>>james@LINKSTATION:/www/cgi-bin3$
                      > >>>>>>
                      > >>>>>>I think all of this tells me I have followed the instruction
                      > >>>
                      > >>>correctly ?
                      > >>>
                      > >>>>>>However when I put
                      > >>>>>>
                      > >>>>>>http://192.168.001.103/cgi-bin3/accesspass.sh
                      > >>>>>>or
                      > >>>>>>http://linkstation/cgi-bin3/accesspass.sh
                      > >>>>>>
                      > >>>>>>I get the following error:
                      > >>>>>>
                      > >>>>>>500 Internal Error
                      > >>>>>>There was an unusual problem serving the requested URL
                      > >>>>>>'/cgi-bin3/accesspass.sh'.
                      > >>>>>>thttpd/2.25b 29dec2003
                      > >>>>>>HTTP/1.0 200 OK
                      > >>>>>>
                      > >>>>>>Many thanks & Best wishes
                      > >>>>>>
                      > >>>>>>
                      > >>>>>>James.
                      > >>>>>>
                      > >>>>>
                      > >>>>>James,
                      > >>>>>
                      > >>>>>I think the problem is that you need a space between the ! / in the
                      > >>>
                      > >>>first
                      > >>>
                      > >>>>>line.
                      > >>>>>#! /bin/sh not #!/bin/sh
                      > >>>>>
                      > >>>>>Also, make sure that the cgi-bin3 directory is executable.
                      > >>>>>
                      > >>>>>drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
                      > >>>>>drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
                      > >>>>>drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
                      > >>>>>
                      > >>>>>JR
                      > >>>>>
                      > >>>>
                      > >>>>Hi JR,
                      > >>>>
                      > >>>>Thanks for your response.
                      > >>>>
                      > >>>>james@LINKSTATION:/www/cgi-bin3$ cd /www/
                      > >>>>james@LINKSTATION:/www$ ls -l
                      > >>>>total 14
                      > >>>>drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                      > >>>>drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                      > >>>>drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
                      > >>>>drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                      > >>>>drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                      > >>>>drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                      > >>>>-r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                      > >>>>drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                      > >>>>james@LINKSTATION:/www$
                      > >>>>
                      > >>>>
                      > >>>>james@LINKSTATION:/www$ cd /www/cgi-bin3
                      > >>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                      > >>>>#! /bin/sh
                      > >>>>chmod 666 /etc/passwd
                      > >>>>james@LINKSTATION:/www/cgi-bin3$
                      > >>>>
                      > >>>>However I still get the same error.
                      > >>>>
                      > >>>>Best wishes.
                      > >>>>James.
                      > >>>>
                      > >>>
                      > >>>James,
                      > >>>How did you create the accesspass.sh file? Make sure that you
                      > >>>create/edit
                      > >>>files using an editor that handles Unix/Linux type files. Standard
                      > >>>Windows/DOS type editors put a ^M on the end of each line. Try using
                      > >>>vi to
                      > >>>edit the file.
                      > >>>
                      > >>>JR
                      > >>>
                      > >>>
                      > >>>
                      > >>>------------------------------------------------------------------------
                      > >>>**
                      > >>
                      > >>
                      > >>
                      > >> JR,
                      > >>
                      > >> I used EditPad as was recommended
                      > >> http://www.editpadpro.com/editpadlite.html
                      > >> But I did notice:
                      > >>
                      > >> james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                      > >> #! /bin/sh^M$
                      > >> chmod 666 /etc/passwd^M$
                      > >> james@LINKSTATION:/www/cgi-bin3$
                      > >>
                      > >> So I guess I need to look at vi. But I can't believe how difficult
                      > it is
                      > >> to use. I have been at it for 30 minutes already and all I end up doing
                      > >> is screwing up the script.
                      > >>
                      > >> Thanks for your help, I will keep you updated
                      > >>
                      > >> Best wishes.
                      > >>
                      > >> James.
                      > >>
                      > >>
                      > >>
                      > >> ------------------------ Yahoo! Groups Sponsor --------------------~-->
                      > >> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
                      > >> Now with Pop-Up Blocker. Get it for free!
                      > >> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/O7EolB/TM
                      > >
                      > > Hi JR,
                      > >
                      > > Manged to get vi to work
                      > >
                      > > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                      > > #! /bin/sh$
                      > > chmod 666 /etc/passwd$
                      > >
                      > >
                      > > $
                      > > james@LINKSTATION:/www/cgi-bin3$ chmod a+rx /www/cgi-bin3/accesspass.sh
                      > >
                      > >
                      > > james@LINKSTATION:/www/cgi-bin3$ ls -l
                      > > total 1
                      > > -rwxr-xr-x 1 james hdusers 34 Nov 11 23:57 accesspass.sh
                      > >
                      > >
                      > > james@LINKSTATION:/www/cgi-bin3$ cd
                      > > james@LINKSTATION:~$ cd /www/
                      > > james@LINKSTATION:/www$ ls -l
                      > > total 14
                      > > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                      > > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                      > > drwxr-xr-x 2 james hdusers 1024 Nov 11 23:57 cgi-bin3
                      > > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                      > > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                      > > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                      > > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                      > > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                      > > james@LINKSTATION:/www$
                      > >
                      > > Now I get no errors but just a blank web page ?
                      > >
                      > > Is this all I am supposed to get
                      > >
                      > > Best wishes
                      > >
                      > > James.
                      > >
                      > Yep, pretty much. Now check the file attributes of /etc/passwd.
                      > It should look like:
                      > -rw-rw-rw- 1 root root 397 Oct 2 21:23 passwd
                      >
                      > Now you can edit this file and change the password for root.
                      > Be very careful.
                      >
                      > JR
                      >
                      Hi JR & Jammy,

                      Thank you for all your help so far. This has really been a good learning
                      experience for me.

                      In return I will add an Idiots guide to the web page.

                      I think I have the correct permission for /etc/passwd

                      james@LINKSTATION:~$ ls -l /etc/passwd
                      -rw-rw-rw- 1 root root 400 Nov 10 22:28 /etc/passwd

                      ******Question: Does it matter that the size of my file does not match
                      yours?

                      If every thing is OK. I guess I am ready to hack the passwd file.

                      At the moment this looks like:

                      james@LINKSTATION:~$ cat /etc/passwd
                      root:r.4feIpNeMISQ:0:0:root:/root:/bin/bash
                      bin:*:1:1:bin:/bin:
                      daemon:*:2:2:daemon:/usr/sbin:
                      sys:*:3:3:sys:/dev:
                      adm:*:4:4:adm:/var/adm:
                      sync:*:6:8:sync:/bin:/bin/sync
                      shutdown:*:7:9:shutdown:/sbin:/sbin/shutdown
                      halt:*:8:10:halt:/sbin:/sbin/halt
                      operator:*:12:0:operator:/root:
                      ftp:*:15:14:ftp:/usr/sbin:/bin/false
                      nobody:*:99:99:nobody:/home:/bin/sh
                      james:bzlXyDpsmja6A:100:1000::/home:/bin/bash
                      james@LINKSTATION:~$

                      I think that what I am being asked to do is:

                      Change the encrypted password of root "r.4feIpNeMISQ"
                      To be the same as the one for james "bzlXyDpsmja6A"

                      ******Question: Can I and would it be advisable to copy the original
                      passwd file some where else as a backup, say in the share and then hack
                      the original in /etc/ ?

                      ******Question: How do I know if I have done every thing correctly and I
                      have in fact succeeded in changing the root password ?

                      For now I am going to have a look at nano, it's just got to be easier
                      than vi.


                      Once again thank you for your time.


                      Best wishes.



                      James.
                    • jamy1975
                      ******Question: Does it matter that the size of my file does not match yours? The file sizes do not have to match. At the moment this looks like:
                      Message 10 of 11 , Nov 12, 2004
                      • 0 Attachment
                        ******Question: Does it matter that the size of my file does not match
                        yours?


                        The file sizes do not have to match.


                        "At the moment this looks like:

                        james@LINKSTATION:~$ cat /etc/passwd
                        root:r.4feIpNeMISQ:0:0:root:/root:/bin/bash
                        bin:*:1:1:bin:/bin:
                        daemon:*:2:2:daemon:/usr/sbin:
                        sys:*:3:3:sys:/dev:
                        adm:*:4:4:adm:/var/adm:
                        sync:*:6:8:sync:/bin:/bin/sync
                        shutdown:*:7:9:shutdown:/sbin:/sbin/shutdown
                        halt:*:8:10:halt:/sbin:/sbin/halt
                        operator:*:12:0:operator:/root:
                        ftp:*:15:14:ftp:/usr/sbin:/bin/false
                        nobody:*:99:99:nobody:/home:/bin/sh
                        james:bzlXyDpsmja6A:100:1000::/home:/bin/bash
                        james@LINKSTATION:~$

                        I think that what I am being asked to do is:

                        Change the encrypted password of root "r.4feIpNeMISQ"
                        To be the same as the one for james "bzlXyDpsmja6A"

                        That is exactly what you need to do.

                        ******Question: Can I and would it be advisable to copy the original
                        passwd file some where else as a backup, say in the share and then hack
                        the original in /etc/ ?

                        It never hurts to have a back up in case you screw up your edits.

                        ******Question: How do I know if I have done every thing correctly and I
                        have in fact succeeded in changing the root password ?

                        You can test by telneting to the linkstation and logging in as root.
                        The password will be the same as the password for james.
                        Do not log out of your first telnet session, leave the first one open.
                        If you screwed up your edits somehow, you will still be in anc able to
                        make changes to the file.


                        Jamy

                        --- In LinkStation_General@yahoogroups.com, James S Stubbs
                        <stubbsjuk@y...> wrote:
                        > James Ronald wrote:
                        >
                        > > >>>>>> James S Stubbs wrote:
                        > > >>>>>>Hi All,
                        > > >>>>>>
                        > > >>>>>>I am having problems following the how-to for changing the root
                        > > >>>>>>password. I hope some one can help.
                        > > >>>>>>
                        > > >>>>>>This is various bits of information I have been able to gather.
                        > > >>>>>>
                        > > >>>>>>james@LINKSTATION:/www/cgi-bin3$ ls -l
                        > > >>>>>>total 1
                        > > >>>>>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23
                        > > accesspass.sh
                        > > >>>>>>james@LINKSTATION:/www/cgi-bin3$
                        > > >>>>>>
                        > > >>>>>>
                        > > >>>>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                        > > >>>>>>#!/bin/sh
                        > > >>>>>>chmod 666 /etc/passwd
                        > > >>>>>>james@LINKSTATION:/www/cgi-bin3$
                        > > >>>>>>
                        > > >>>>>>I think all of this tells me I have followed the instruction
                        > > >>>
                        > > >>>correctly ?
                        > > >>>
                        > > >>>>>>However when I put
                        > > >>>>>>
                        > > >>>>>>http://192.168.001.103/cgi-bin3/accesspass.sh
                        > > >>>>>>or
                        > > >>>>>>http://linkstation/cgi-bin3/accesspass.sh
                        > > >>>>>>
                        > > >>>>>>I get the following error:
                        > > >>>>>>
                        > > >>>>>>500 Internal Error
                        > > >>>>>>There was an unusual problem serving the requested URL
                        > > >>>>>>'/cgi-bin3/accesspass.sh'.
                        > > >>>>>>thttpd/2.25b 29dec2003
                        > > >>>>>>HTTP/1.0 200 OK
                        > > >>>>>>
                        > > >>>>>>Many thanks & Best wishes
                        > > >>>>>>
                        > > >>>>>>
                        > > >>>>>>James.
                        > > >>>>>>
                        > > >>>>>
                        > > >>>>>James,
                        > > >>>>>
                        > > >>>>>I think the problem is that you need a space between the ! /
                        in the
                        > > >>>
                        > > >>>first
                        > > >>>
                        > > >>>>>line.
                        > > >>>>>#! /bin/sh not #!/bin/sh
                        > > >>>>>
                        > > >>>>>Also, make sure that the cgi-bin3 directory is executable.
                        > > >>>>>
                        > > >>>>>drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
                        > > >>>>>drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
                        > > >>>>>drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
                        > > >>>>>
                        > > >>>>>JR
                        > > >>>>>
                        > > >>>>
                        > > >>>>Hi JR,
                        > > >>>>
                        > > >>>>Thanks for your response.
                        > > >>>>
                        > > >>>>james@LINKSTATION:/www/cgi-bin3$ cd /www/
                        > > >>>>james@LINKSTATION:/www$ ls -l
                        > > >>>>total 14
                        > > >>>>drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                        > > >>>>drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                        > > >>>>drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
                        > > >>>>drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                        > > >>>>drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                        > > >>>>drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                        > > >>>>-r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                        > > >>>>drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                        > > >>>>james@LINKSTATION:/www$
                        > > >>>>
                        > > >>>>
                        > > >>>>james@LINKSTATION:/www$ cd /www/cgi-bin3
                        > > >>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                        > > >>>>#! /bin/sh
                        > > >>>>chmod 666 /etc/passwd
                        > > >>>>james@LINKSTATION:/www/cgi-bin3$
                        > > >>>>
                        > > >>>>However I still get the same error.
                        > > >>>>
                        > > >>>>Best wishes.
                        > > >>>>James.
                        > > >>>>
                        > > >>>
                        > > >>>James,
                        > > >>>How did you create the accesspass.sh file? Make sure that you
                        > > >>>create/edit
                        > > >>>files using an editor that handles Unix/Linux type files. Standard
                        > > >>>Windows/DOS type editors put a ^M on the end of each line. Try
                        using
                        > > >>>vi to
                        > > >>>edit the file.
                        > > >>>
                        > > >>>JR
                        > > >>>
                        > > >>>
                        > > >>>
                        > >
                        >>>------------------------------------------------------------------------
                        > > >>>**
                        > > >>
                        > > >>
                        > > >>
                        > > >> JR,
                        > > >>
                        > > >> I used EditPad as was recommended
                        > > >> http://www.editpadpro.com/editpadlite.html
                        > > >> But I did notice:
                        > > >>
                        > > >> james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                        > > >> #! /bin/sh^M$
                        > > >> chmod 666 /etc/passwd^M$
                        > > >> james@LINKSTATION:/www/cgi-bin3$
                        > > >>
                        > > >> So I guess I need to look at vi. But I can't believe how difficult
                        > > it is
                        > > >> to use. I have been at it for 30 minutes already and all I end
                        up doing
                        > > >> is screwing up the script.
                        > > >>
                        > > >> Thanks for your help, I will keep you updated
                        > > >>
                        > > >> Best wishes.
                        > > >>
                        > > >> James.
                        > > >>
                        > > >>
                        > > >>
                        > > >> ------------------------ Yahoo! Groups Sponsor
                        --------------------~-->
                        > > >> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
                        > > >> Now with Pop-Up Blocker. Get it for free!
                        > > >> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/O7EolB/TM
                        > > >
                        > > > Hi JR,
                        > > >
                        > > > Manged to get vi to work
                        > > >
                        > > > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                        > > > #! /bin/sh$
                        > > > chmod 666 /etc/passwd$
                        > > >
                        > > >
                        > > > $
                        > > > james@LINKSTATION:/www/cgi-bin3$ chmod a+rx
                        /www/cgi-bin3/accesspass.sh
                        > > >
                        > > >
                        > > > james@LINKSTATION:/www/cgi-bin3$ ls -l
                        > > > total 1
                        > > > -rwxr-xr-x 1 james hdusers 34 Nov 11 23:57
                        accesspass.sh
                        > > >
                        > > >
                        > > > james@LINKSTATION:/www/cgi-bin3$ cd
                        > > > james@LINKSTATION:~$ cd /www/
                        > > > james@LINKSTATION:/www$ ls -l
                        > > > total 14
                        > > > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                        > > > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                        > > > drwxr-xr-x 2 james hdusers 1024 Nov 11 23:57 cgi-bin3
                        > > > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                        > > > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                        > > > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                        > > > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                        > > > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                        > > > james@LINKSTATION:/www$
                        > > >
                        > > > Now I get no errors but just a blank web page ?
                        > > >
                        > > > Is this all I am supposed to get
                        > > >
                        > > > Best wishes
                        > > >
                        > > > James.
                        > > >
                        > > Yep, pretty much. Now check the file attributes of /etc/passwd.
                        > > It should look like:
                        > > -rw-rw-rw- 1 root root 397 Oct 2 21:23 passwd
                        > >
                        > > Now you can edit this file and change the password for root.
                        > > Be very careful.
                        > >
                        > > JR
                        > >
                        > Hi JR & Jammy,
                        >
                        > Thank you for all your help so far. This has really been a good
                        learning
                        > experience for me.
                        >
                        > In return I will add an Idiots guide to the web page.
                        >
                        > I think I have the correct permission for /etc/passwd
                        >
                        > james@LINKSTATION:~$ ls -l /etc/passwd
                        > -rw-rw-rw- 1 root root 400 Nov 10 22:28 /etc/passwd
                        >
                        > ******Question: Does it matter that the size of my file does not match
                        > yours?
                        >
                        > If every thing is OK. I guess I am ready to hack the passwd file.
                        >
                        > At the moment this looks like:
                        >
                        > james@LINKSTATION:~$ cat /etc/passwd
                        > root:r.4feIpNeMISQ:0:0:root:/root:/bin/bash
                        > bin:*:1:1:bin:/bin:
                        > daemon:*:2:2:daemon:/usr/sbin:
                        > sys:*:3:3:sys:/dev:
                        > adm:*:4:4:adm:/var/adm:
                        > sync:*:6:8:sync:/bin:/bin/sync
                        > shutdown:*:7:9:shutdown:/sbin:/sbin/shutdown
                        > halt:*:8:10:halt:/sbin:/sbin/halt
                        > operator:*:12:0:operator:/root:
                        > ftp:*:15:14:ftp:/usr/sbin:/bin/false
                        > nobody:*:99:99:nobody:/home:/bin/sh
                        > james:bzlXyDpsmja6A:100:1000::/home:/bin/bash
                        > james@LINKSTATION:~$
                        >
                        > I think that what I am being asked to do is:
                        >
                        > Change the encrypted password of root "r.4feIpNeMISQ"
                        > To be the same as the one for james "bzlXyDpsmja6A"
                        >
                        > ******Question: Can I and would it be advisable to copy the original
                        > passwd file some where else as a backup, say in the share and then hack
                        > the original in /etc/ ?
                        >
                        > ******Question: How do I know if I have done every thing correctly
                        and I
                        > have in fact succeeded in changing the root password ?
                        >
                        > For now I am going to have a look at nano, it's just got to be easier
                        > than vi.
                        >
                        >
                        > Once again thank you for your time.
                        >
                        >
                        > Best wishes.
                        >
                        >
                        >
                        > James.
                      • James S Stubbs
                        ... Hi Guys, Sorted !!!!! Thank you very much. BUFFALO INC. Link Station series HD-HLAN (HIDETADA) LINKSTATION login: root Password: Linux (none)
                        Message 11 of 11 , Nov 12, 2004
                        • 0 Attachment
                          jamy1975 wrote:

                          >
                          > ******Question: Does it matter that the size of my file does not match
                          > yours?
                          >
                          >
                          > The file sizes do not have to match.
                          >
                          >
                          > "At the moment this looks like:
                          >
                          > james@LINKSTATION:~$ cat /etc/passwd
                          > root:r.4feIpNeMISQ:0:0:root:/root:/bin/bash
                          > bin:*:1:1:bin:/bin:
                          > daemon:*:2:2:daemon:/usr/sbin:
                          > sys:*:3:3:sys:/dev:
                          > adm:*:4:4:adm:/var/adm:
                          > sync:*:6:8:sync:/bin:/bin/sync
                          > shutdown:*:7:9:shutdown:/sbin:/sbin/shutdown
                          > halt:*:8:10:halt:/sbin:/sbin/halt
                          > operator:*:12:0:operator:/root:
                          > ftp:*:15:14:ftp:/usr/sbin:/bin/false
                          > nobody:*:99:99:nobody:/home:/bin/sh
                          > james:bzlXyDpsmja6A:100:1000::/home:/bin/bash
                          > james@LINKSTATION:~$
                          >
                          > I think that what I am being asked to do is:
                          >
                          > Change the encrypted password of root "r.4feIpNeMISQ"
                          > To be the same as the one for james "bzlXyDpsmja6A"
                          >
                          > That is exactly what you need to do.
                          >
                          > ******Question: Can I and would it be advisable to copy the original
                          > passwd file some where else as a backup, say in the share and then hack
                          > the original in /etc/ ?
                          >
                          > It never hurts to have a back up in case you screw up your edits.
                          >
                          > ******Question: How do I know if I have done every thing correctly and I
                          > have in fact succeeded in changing the root password ?
                          >
                          > You can test by telneting to the linkstation and logging in as root.
                          > The password will be the same as the password for james.
                          > Do not log out of your first telnet session, leave the first one open.
                          > If you screwed up your edits somehow, you will still be in anc able to
                          > make changes to the file.
                          >
                          >
                          > Jamy
                          >
                          > --- In LinkStation_General@yahoogroups.com, James S Stubbs
                          > <stubbsjuk@y...> wrote:
                          > > James Ronald wrote:
                          > >
                          > > > >>>>>> James S Stubbs wrote:
                          > > > >>>>>>Hi All,
                          > > > >>>>>>
                          > > > >>>>>>I am having problems following the how-to for changing the root
                          > > > >>>>>>password. I hope some one can help.
                          > > > >>>>>>
                          > > > >>>>>>This is various bits of information I have been able to gather.
                          > > > >>>>>>
                          > > > >>>>>>james@LINKSTATION:/www/cgi-bin3$ ls -l
                          > > > >>>>>>total 1
                          > > > >>>>>>-rwxrwxrwx 1 james hdusers 34 Nov 11 20:23
                          > > > accesspass.sh
                          > > > >>>>>>james@LINKSTATION:/www/cgi-bin3$
                          > > > >>>>>>
                          > > > >>>>>>
                          > > > >>>>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                          > > > >>>>>>#!/bin/sh
                          > > > >>>>>>chmod 666 /etc/passwd
                          > > > >>>>>>james@LINKSTATION:/www/cgi-bin3$
                          > > > >>>>>>
                          > > > >>>>>>I think all of this tells me I have followed the instruction
                          > > > >>>
                          > > > >>>correctly ?
                          > > > >>>
                          > > > >>>>>>However when I put
                          > > > >>>>>>
                          > > > >>>>>>http://192.168.001.103/cgi-bin3/accesspass.sh
                          > > > >>>>>>or
                          > > > >>>>>>http://linkstation/cgi-bin3/accesspass.sh
                          > > > >>>>>>
                          > > > >>>>>>I get the following error:
                          > > > >>>>>>
                          > > > >>>>>>500 Internal Error
                          > > > >>>>>>There was an unusual problem serving the requested URL
                          > > > >>>>>>'/cgi-bin3/accesspass.sh'.
                          > > > >>>>>>thttpd/2.25b 29dec2003
                          > > > >>>>>>HTTP/1.0 200 OK
                          > > > >>>>>>
                          > > > >>>>>>Many thanks & Best wishes
                          > > > >>>>>>
                          > > > >>>>>>
                          > > > >>>>>>James.
                          > > > >>>>>>
                          > > > >>>>>
                          > > > >>>>>James,
                          > > > >>>>>
                          > > > >>>>>I think the problem is that you need a space between the ! /
                          > in the
                          > > > >>>
                          > > > >>>first
                          > > > >>>
                          > > > >>>>>line.
                          > > > >>>>>#! /bin/sh not #!/bin/sh
                          > > > >>>>>
                          > > > >>>>>Also, make sure that the cgi-bin3 directory is executable.
                          > > > >>>>>
                          > > > >>>>>drwxr-xr-x 2 root root 4096 Sep 30 16:34 cgi-bin
                          > > > >>>>>drwxr-xr-x 2 root root 1024 Aug 27 13:58 cgi-bin2
                          > > > >>>>>drwxr-xr-x 2 jr hdusers 1024 Oct 3 16:52 cgi-bin3
                          > > > >>>>>
                          > > > >>>>>JR
                          > > > >>>>>
                          > > > >>>>
                          > > > >>>>Hi JR,
                          > > > >>>>
                          > > > >>>>Thanks for your response.
                          > > > >>>>
                          > > > >>>>james@LINKSTATION:/www/cgi-bin3$ cd /www/
                          > > > >>>>james@LINKSTATION:/www$ ls -l
                          > > > >>>>total 14
                          > > > >>>>drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                          > > > >>>>drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                          > > > >>>>drwxr-xr-x 2 james hdusers 1024 Nov 11 20:23 cgi-bin3
                          > > > >>>>drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                          > > > >>>>drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                          > > > >>>>drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                          > > > >>>>-r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                          > > > >>>>drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                          > > > >>>>james@LINKSTATION:/www$
                          > > > >>>>
                          > > > >>>>
                          > > > >>>>james@LINKSTATION:/www$ cd /www/cgi-bin3
                          > > > >>>>james@LINKSTATION:/www/cgi-bin3$ cat accesspass.sh
                          > > > >>>>#! /bin/sh
                          > > > >>>>chmod 666 /etc/passwd
                          > > > >>>>james@LINKSTATION:/www/cgi-bin3$
                          > > > >>>>
                          > > > >>>>However I still get the same error.
                          > > > >>>>
                          > > > >>>>Best wishes.
                          > > > >>>>James.
                          > > > >>>>
                          > > > >>>
                          > > > >>>James,
                          > > > >>>How did you create the accesspass.sh file? Make sure that you
                          > > > >>>create/edit
                          > > > >>>files using an editor that handles Unix/Linux type files. Standard
                          > > > >>>Windows/DOS type editors put a ^M on the end of each line. Try
                          > using
                          > > > >>>vi to
                          > > > >>>edit the file.
                          > > > >>>
                          > > > >>>JR
                          > > > >>>
                          > > > >>>
                          > > > >>>
                          > > >
                          > >>>------------------------------------------------------------------------
                          > > > >>>**
                          > > > >>
                          > > > >>
                          > > > >>
                          > > > >> JR,
                          > > > >>
                          > > > >> I used EditPad as was recommended
                          > > > >> http://www.editpadpro.com/editpadlite.html
                          > > > >> But I did notice:
                          > > > >>
                          > > > >> james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                          > > > >> #! /bin/sh^M$
                          > > > >> chmod 666 /etc/passwd^M$
                          > > > >> james@LINKSTATION:/www/cgi-bin3$
                          > > > >>
                          > > > >> So I guess I need to look at vi. But I can't believe how difficult
                          > > > it is
                          > > > >> to use. I have been at it for 30 minutes already and all I end
                          > up doing
                          > > > >> is screwing up the script.
                          > > > >>
                          > > > >> Thanks for your help, I will keep you updated
                          > > > >>
                          > > > >> Best wishes.
                          > > > >>
                          > > > >> James.
                          > > > >>
                          > > > >>
                          > > > >>
                          > > > >> ------------------------ Yahoo! Groups Sponsor
                          > --------------------~-->
                          > > > >> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
                          > > > >> Now with Pop-Up Blocker. Get it for free!
                          > > > >> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/O7EolB/TM
                          > > > >
                          > > > > Hi JR,
                          > > > >
                          > > > > Manged to get vi to work
                          > > > >
                          > > > > james@LINKSTATION:/www/cgi-bin3$ cat --show-all accesspass.sh
                          > > > > #! /bin/sh$
                          > > > > chmod 666 /etc/passwd$
                          > > > >
                          > > > >
                          > > > > $
                          > > > > james@LINKSTATION:/www/cgi-bin3$ chmod a+rx
                          > /www/cgi-bin3/accesspass.sh
                          > > > >
                          > > > >
                          > > > > james@LINKSTATION:/www/cgi-bin3$ ls -l
                          > > > > total 1
                          > > > > -rwxr-xr-x 1 james hdusers 34 Nov 11 23:57
                          > accesspass.sh
                          > > > >
                          > > > >
                          > > > > james@LINKSTATION:/www/cgi-bin3$ cd
                          > > > > james@LINKSTATION:~$ cd /www/
                          > > > > james@LINKSTATION:/www$ ls -l
                          > > > > total 14
                          > > > > drwxr-xr-x 2 root root 4096 Feb 22 2022 cgi-bin
                          > > > > drwxr-xr-x 2 root root 1024 May 15 05:44 cgi-bin2
                          > > > > drwxr-xr-x 2 james hdusers 1024 Nov 11 23:57 cgi-bin3
                          > > > > drwxrwxrwx 2 root root 1024 Jul 2 09:48 errors
                          > > > > drwxrwxrwx 2 root root 4096 Aug 27 02:57 help
                          > > > > drwxrwxrwx 2 root root 1024 Jun 15 03:25 image
                          > > > > -r--r--r-- 1 root root 198 Feb 10 2004 index.htm
                          > > > > drwxr-xr-x 2 root root 1024 Feb 22 2022 script
                          > > > > james@LINKSTATION:/www$
                          > > > >
                          > > > > Now I get no errors but just a blank web page ?
                          > > > >
                          > > > > Is this all I am supposed to get
                          > > > >
                          > > > > Best wishes
                          > > > >
                          > > > > James.
                          > > > >
                          > > > Yep, pretty much. Now check the file attributes of /etc/passwd.
                          > > > It should look like:
                          > > > -rw-rw-rw- 1 root root 397 Oct 2 21:23 passwd
                          > > >
                          > > > Now you can edit this file and change the password for root.
                          > > > Be very careful.
                          > > >
                          > > > JR
                          > > >
                          > > Hi JR & Jammy,
                          > >
                          > > Thank you for all your help so far. This has really been a good
                          > learning
                          > > experience for me.
                          > >
                          > > In return I will add an Idiots guide to the web page.
                          > >
                          > > I think I have the correct permission for /etc/passwd
                          > >
                          > > james@LINKSTATION:~$ ls -l /etc/passwd
                          > > -rw-rw-rw- 1 root root 400 Nov 10 22:28 /etc/passwd
                          > >
                          > > ******Question: Does it matter that the size of my file does not match
                          > > yours?
                          > >
                          > > If every thing is OK. I guess I am ready to hack the passwd file.
                          > >
                          > > At the moment this looks like:
                          > >
                          > > james@LINKSTATION:~$ cat /etc/passwd
                          > > root:r.4feIpNeMISQ:0:0:root:/root:/bin/bash
                          > > bin:*:1:1:bin:/bin:
                          > > daemon:*:2:2:daemon:/usr/sbin:
                          > > sys:*:3:3:sys:/dev:
                          > > adm:*:4:4:adm:/var/adm:
                          > > sync:*:6:8:sync:/bin:/bin/sync
                          > > shutdown:*:7:9:shutdown:/sbin:/sbin/shutdown
                          > > halt:*:8:10:halt:/sbin:/sbin/halt
                          > > operator:*:12:0:operator:/root:
                          > > ftp:*:15:14:ftp:/usr/sbin:/bin/false
                          > > nobody:*:99:99:nobody:/home:/bin/sh
                          > > james:bzlXyDpsmja6A:100:1000::/home:/bin/bash
                          > > james@LINKSTATION:~$
                          > >
                          > > I think that what I am being asked to do is:
                          > >
                          > > Change the encrypted password of root "r.4feIpNeMISQ"
                          > > To be the same as the one for james "bzlXyDpsmja6A"
                          > >
                          > > ******Question: Can I and would it be advisable to copy the original
                          > > passwd file some where else as a backup, say in the share and then hack
                          > > the original in /etc/ ?
                          > >
                          > > ******Question: How do I know if I have done every thing correctly
                          > and I
                          > > have in fact succeeded in changing the root password ?
                          > >
                          > > For now I am going to have a look at nano, it's just got to be easier
                          > > than vi.
                          > >
                          > >
                          > > Once again thank you for your time.
                          > >
                          > >
                          > > Best wishes.
                          > >
                          > >
                          > >
                          > > James.
                          >
                          >
                          >
                          >
                          Hi Guys,

                          Sorted !!!!!

                          Thank you very much.

                          BUFFALO INC. Link Station series HD-HLAN (HIDETADA)

                          LINKSTATION login: root
                          Password:
                          Linux (none) 2.4.17_mvl21-sandpoint #990 2004╟» 5╖ε 21╞ⁿ ╢Γ═╦╞ⁿ 13:39:00
                          JST ppc
                          unknown
                          root@LINKSTATION:~#

                          I will go and write my how to, before I forget.

                          Now for Slimserver........

                          Best wishes.

                          James.
                        Your message has been successfully submitted and would be delivered to recipients shortly.