Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r f250c5fb7b00 sa/profiles/OS/Linux/__init__.py
- --- a/sa/profiles/OS/Linux/__init__.py Fri Dec 13 20:29:15 2013 +0400
- +++ b/sa/profiles/OS/Linux/__init__.py Thu Mar 06 13:43:33 2014 +0200
- @@ -17,8 +17,8 @@
- supported_schemes = [TELNET, SSH]
- pattern_username = "^((?!Last)\S+ login|[Ll]ogin):"
- pattern_password = "^[Pp]assword:"
- - pattern_unpriveleged_prompt = r"^\w+.+\w+.~ ?\$"
- - pattern_prompt = r"^(\S*?.?~? ?# ?|\S+:~> |\[admin+@\w+:/root+\]|\[root+@\w+ /root+\]\$)"
- + pattern_unpriveleged_prompt = r"(\[\w+@\w+ \~\]|^\w+.+\w+.~ ?\$)"
- + pattern_prompt = r"^(\S*?.?~? ?# ?|\S+:~> |\[admin+@\w+:/root+\]|\[root+@\w+ \~\]|\[root+@\w+ \w+\]#|\[root+@\w+ /root+\]\$)"
- pattern_syntax_error = r"^(-\w+: \w+: not found|-\w+: \w+: No such file or directory|\w+: \w+: command not found|\w+: \w+: \w+: No such file or directory)"
- command_disable_pager = "export LANG=en_GB.UTF-8"
- command_super = "su"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement