![]() Lock the password to disable password login 64 # inactive: Number of days after password expires until account is disabled 65 # passwd: The hash - not the password itself - of the password you want 66 # to use for this user. When this is omitted the system will select the default 62 # SELinux user. The SELinux user for the user's login, such as 61 # "staff_u". Defaults to none 60 # selinux_user: Optional. Defaults to a new group created 58 # named after the user. Defaults to 56 # /home/ 57 # primary_group: define the primary group. 54 # gecos: The user name's real name, i.e. ![]() Foo 30 sudo : ALL=(ALL) NOPASSWD:ALL 31 groups : users, admin 32 ssh_import_id : 33 - lp:falcojr 34 - gh:TheRealFalcon 35 lock_passwd : true 36 ssh_authorized_keys : 37 - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSL7uWGj8cgWyIOaspgKdVy0cKJ+UTjfv7jBOjG2H/GN8bJVXy72XAvnhM0dUM+CCs8FOf0YlPX+Frvz2hKInrmRhZVwRSL129PasD12MlI3l44u6IwS1o/W86Q+tkQYEljtqDOo0a+cOsaZkvUNzUyEXUwz/lmYa6G4hMKZH4NBj7nbAAF96wsMCoyNwbWryBnDYUr6wMbjRR1J9Pw7Xh7WRC73wy4Va2YuOgbD3V/5ZrFPLbWZW/7TFXVrql04QVbyei4aiFR5n//GvoqwQDNe58LmbzX/xvxyKJYdny2zXmdAhMxbrpFQsfpkJ9E/H5w0yOdSvnWbUoG5xNGoOB 38 - name : cloudy 39 gecos : Magic Cloud App Daemon User 40 inactive : '5' 41 system : true 42 - name : fizzbuzz 43 sudo : false 44 shell : /bin/bash 45 ssh_authorized_keys : 46 - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSL7uWGj8cgWyIOaspgKdVy0cKJ+UTjfv7jBOjG2H/GN8bJVXy72XAvnhM0dUM+CCs8FOf0YlPX+Frvz2hKInrmRhZVwRSL129PasD12MlI3l44u6IwS1o/W86Q+tkQYEljtqDOo0a+cOsaZkvUNzUyEXUwz/lmYa6G4hMKZH4NBj7nbAAF96wsMCoyNwbWryBnDYUr6wMbjRR1J9Pw7Xh7WRC73wy4Va2YuOgbD3V/5ZrFPLbWZW/7TFXVrql04QVbyei4aiFR5n//GvoqwQDNe58LmbzX/xvxyKJYdny2zXmdAhMxbrpFQsfpkJ9E/H5w0yOdSvnWbUoG5xNGoOB 47 - snapuser : 48 - name : nosshlogins 49 ssh_redirect_user : true 50 51 # Valid Values: 52 # name: The user's login name 53 # expiredate: Date on which the user's account will be disabled. Bar 19 primary_group : foobar 20 groups : users 21 selinux_user : staff_u 22 expiredate : '' 23 ssh_import_id : 24 - lp:falcojr 25 - gh:TheRealFalcon 26 lock_passwd : false 27 passwd : $6$j212wezy$7H/1LT4f9/N3wpgNunhsIqtMj62OKiS3nyNwuizouQc3u7MbYCarYeAHWYPYb2FT.lbioDm2RrkJPb9BZMN1O/ 28 - name : barfoo 29 gecos : Bar B. 15 users : 16 - default 17 - name : foobar 18 gecos : Foo B. Following options are the exceptions and they are 12 # applicable on already-existing users: 13 # - 'plain_text_passwd', 'hashed_passwd', 'lock_passwd', 'sudo', 14 # 'ssh_authorized_keys', 'ssh_redirect_user'. 10 # Note: Most of these configuration options will not be honored if the user 11 # already exists. 5 groups : 6 - admingroup : 7 - cloud-users 8 9 # Add users to the system. 1 #cloud-config 2 # Add groups to the system 3 # The following example adds the 'admingroup' group with members 'root' and 'sys' 4 # and the empty group cloud-users.
0 Comments
Leave a Reply. |