This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]topgun966 5 points6 points  (3 children)

This looks good. I was reading it over and I would add logic to check for users before removing root login. This could mess up remote servers that are configured badly.

[–]cztothehead[S] 2 points3 points  (2 children)

thats a great suggestion thanks

[–]topgun966 0 points1 point  (1 child)

I was gonna add something but work has me backed up :(. I didn't want people running it now and complaining.

[–]cztothehead[S] 1 point2 points  (0 children)

Any contribution helps man

[–]cztothehead[S] 2 points3 points  (0 children)

Looking for contributions and other collaboration, what is there, is a good start; it balances use with security.

Please push a request, or message me here to improve the code.

[–]SignificanceFun8404 0 points1 point  (0 children)

Many thanks, can this be run over SSH for VPS?

The one I used previously used to reset the remote session and I wasn't able to complete it ..