Add script'create_system_samba_user_from_old_system.sh'

This commit is contained in:
2019-03-24 04:17:59 +01:00
parent 40c1e6b335
commit 39bdeb5652
2 changed files with 381 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# ==========
# - Configuration file for script 'create_system_samba_user_from_old_system.sh'
# ==========
# - shadow_file
# -
# - Usually a copy of '/etc/shadow' from old system
# -
# - Defaults to: shadow_file="/root/old_system/shadow"
# -
#shadow_file="/root/old_system/shadow"
# - user_passwd_file
# -
# - A file each line containing '<user> <password>'
# -
# - foo passwd_foo
# - bar passwd_bar
# - ...
# -
# - Defaults to: user_passwd_file="/root/old_system/user_passwd.txt"
# -
#user_passwd_file="/root/old_system/user_passwd.txt"