Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: BUG: nessus-rmuser behaves badly... |
|---|---|
| Date: | Fri, 25 Feb 2005 20:09:57 -0500 |
On Fri, Feb 25, 2005 at 04:47:14PM -0600, Jones, David H wrote:
In an attempt to get a user list, I tried some various command line variables, as well as just entering "nessus-rmuser" on its own hoping to get help. At the "Login to remove :" prompt, if you just hit enter, very bad bad things happen. If you are in the /users directory, *all* users are deleted
Ouch! Do you mind filing a bug report at <http://bugs.nessus.org/>? In the meantime, if you want a quick & dirty fix, use this (works against 2.3.0 and probably earlier versions): ---- snip, snip, snip ---- --- nessus-rmuser.orig 2005-02-04 16:22:00.000000000 -0500 +++ nessus-rmuser 2005-02-25 20:05:26.388274176 -0500 @@ -76,10 +76,15 @@ read login } +test -z "$1" && { + echo "`gettext "no input... quitting"`" + exit 1 +} + test -d "$localstatedir/nessus/users/$login" && { rm -rf "$localstatedir/nessus/users/$login" + gettext "user removed."; echo } -gettext "user removed."; echo ---- snip, snip, snip ---- George -- theall@tenablesecurity.com _______________________________________________ Nessus mailing list Nessus@list.nessus.org http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | BUG: nessus-rmuser behaves badly..., Jones, David H |
|---|---|
| Next by Date: | Hydra and Amap with Nessus 2.2.2 for Linux, paramo |
| Previous by Thread: | BUG: nessus-rmuser behaves badly..., Jones, David H |
| Next by Thread: | Hydra and Amap with Nessus 2.2.2 for Linux, paramo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |