Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. test = `openssl passwd -1 "tc2011!!"`
  2.  
  3. user node[:teamcity][:user] do
  4.   action :create
  5.   system true
  6.   supports {:manage_home }
  7.   home "/home/teamcity"
  8.   shell "/bin/bash"
  9.   group "#{node[:teamcity][:group]}"
  10.   password test
  11. end
  12.  
  13.  
  14. tail -f /var/log/secure
  15. Jul 24 11:13:17 nk-vm02 sshd[2749]: pam_unix(sshd:session): session closed for user rdnkaravias
  16. Jul 24 11:13:27 nk-vm02 sshd[8905]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.100.210.127  user=teamcity
  17. Jul 24 11:13:29 nk-vm02 sshd[8903]: error: PAM: Authentication failure for teamcity from 10.100.210.127
  18. Jul 24 11:15:24 nk-vm02 sshd[9170]: [lsass-pam] [module:pam_lsass]LsaPamGetCurrentPassword failed [error code: 49919]
  19. Jul 24 11:15:24 nk-vm02 sshd[9170]: [lsass-pam] [module:pam_lsass]pam_sm_authenticate error [login:teamcity][error code:49919]
  20. Jul 24 11:15:24 nk-vm02 sshd[9170]: error: ssh_msg_send: write
  21. Jul 24 11:17:57 nk-vm02 sshd[9191]: Accepted keyboard-interactive/pam for rdnkaravias from 10.100.210.127 port 50212 ssh2
  22. Jul 24 11:17:57 nk-vm02 sshd[9191]: pam_unix(sshd:session): session opened for user rdnkaravias by (uid=0)
  23. Jul 24 11:18:03 nk-vm02 sudo: rdnkaravias : TTY=pts/1 ; PWD=/home/local/ELQRD/rdnkaravias ; USER=root ; COMMAND=/bin/su -
  24. Jul 24 11:18:03 nk-vm02 su: pam_unix(su-l:session): session opened for user root by rdnkaravias(uid=0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement