unix:linux:sysadmin:syncusers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
unix:linux:sysadmin:syncusers [2022/01/17 18:37] – rodolico | unix:linux:sysadmin:syncusers [2022/01/17 18:39] – rodolico | ||
---|---|---|---|
Line 40: | Line 40: | ||
# echo ' | # echo ' | ||
# 'ssh key' is the value found in ~/ | # 'ssh key' is the value found in ~/ | ||
+ | # in the following example, ' | ||
+ | # and their password is changed to ' | ||
+ | # nothing is done to their ssh key. | ||
+ | # user2 is treated the same way, but their ssh public key is added to their authorized_keys file | ||
my %passwords = ( | my %passwords = ( | ||
' | ' | ||
- | ' | + | ' |
'ssh key' | 'ssh key' | ||
}, | }, |
unix/linux/sysadmin/syncusers.txt · Last modified: 2022/01/17 18:40 by rodolico