Created
May 6, 2014 14:40
-
-
Save TvL2386/00f432b0c322de62d2ca to your computer and use it in GitHub Desktop.
User is not working as expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SNIPPET FROM MY MODULE # | |
user { 'myuser': | |
require => Package["bla"], | |
name => 'myuser', | |
password => '$6$OszcHZZq$/PLagjQvt3jG/zfM1S/vU5vF4dMEXzdrPcc2.Iih01TxhN8004sQIKJpXQd5K7JySWIHSGwTHnY0mKrqFQd3H1', | |
ensure => present, | |
home => '/opt/myuser', | |
comment => 'myuser agent user (managed by puppet)', | |
managehome => true, | |
shell => '/bin/bash', | |
system => true, | |
uid => 123, | |
gid => 123, | |
} | |
# SNIPPET FROM MY MODULE # | |
# On a working ubuntu 12.04 server: | |
# $ grep myuser /etc/shadow | |
# myuser:$6$OszcHZZq$/PLagjQvt3jG/zfM1S/vU5vF4dMEXzdrPcc2.Iih01TxhN8004sQIKJpXQd5K7JySWIHSGwTHnY0mKrqFQd3H1:16196:::::: | |
# | |
# My ubuntu 12.04 server with issues: | |
# $ grep myuser /etc/shadow | |
# myuser:!:16196:::::: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment