Root password locked on NST
A network security analysis and monitoring toolkit Linux distribution.
Brought to you by:
pblankenbaker,
rwhalb
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
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
Thank u, Paul.. The pam.d in that NST was corrupted.. I have decided to set up a newer version, 1.8.0.
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?
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
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.
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.