Menu

Root password locked on NST

NST
2008-09-01
2012-12-05
  • joni lauren

    joni lauren - 2008-09-01

    Hi all,

    As I was setting up features on the NST to lock the accounts after failed login and failed su attempts, I discovered that I can't access NST via VMplayer no more. However, with the same userid and password, I am able to ssh to the same NST. I wonder why.

    I tried to passwd root or any user, I get the error "passwd: Module is unknown." Is my PAM corrupted? If so, how to I re-install it on the NST?

    Any kind assistance isgreatly appreciated.

    Thank u!

    Jouren

     
    • Paul Blankenbaker

      It's not entirely clear to me what has happened to your system.

      If you think you've messed up the PAM configuration, you could try the following:

      - Using your ssh access to the crippled system, try running the following:

         md5sum $(find /etc/pam.d -type f | sort) | tee /tmp/pambad.txt

      - Then, get a fresh copy of the NST Virtual Machine, extract it and run the same command on it:

         md5sum $(find /etc/pam.d -type f | sort) | tee /tmp/pamgood.txt

      Copy the two "pam*.txt" files to a single machine where you can run a color diff. I'm partial to emacs for this - but it should be possible to do using gvim which is on the NST (whereas emacs is not). The diff comparison should indicate which files are missing or different on your crippled system as compared to a fresh install.

      Actually, it looks like you can run the following on a NST system to jump immediately to a colorized comparison of two files (requires a X login):

        gvimdiff pamgood.txt pambad.txt

      Good Luck,
      Paul

       
    • joni lauren

      joni lauren - 2008-09-05

      Thank u, Paul.. The pam.d in that NST was corrupted.. I have decided to set up a newer version, 1.8.0.

       
  • John W

    John W - 2011-03-05

    Ok, here is my issue. I have tried booting to the iso 2.13.0-1217 and usb created correctly with persistence. From default boot I have attempted to login as root with various passwords in this forum (nst2300, nst@2300) but cannot access root account (always fails) I can go to the gui through liveuser but cannot load system onto HD without root access. Can anyone help me out with this? I have also read that some versions boot to prompt for password, is this accurate?

     
  • Paul Blankenbaker

    The default password for root login is: nst2003

    You might want to check out the Getting Started page on the NST Wiki (http://wiki.networksecuritytoolkit.org/nstwiki/index.php/Getting_Started). It has some information on booting and logging in.

    Let me know if you are still having a issue.

    Paul

     
  • John W

    John W - 2011-03-05

    Thanks for the reply Paul,
    I have now found that as you get older dyslexia sets in. I had read all of the wiki's and guides but none of the distros will work if you use "nst2300" instead of nst2003. I thought I was the only one who could not get NST to work. Thanks again.

     
  • Paul Blankenbaker

    No worries - I find myself forgetting and transposing things more often as I get older as well.

    Thanks for taking the time to reply to let me know that your issue was resolved.

     

Log in to post a comment.