#!/usr/bin useradd UserName expect -c " spawn passwd UserName expect \"New password:\" send -- \"hogehoge\n\" expect \"Retype new password:\" send -- \"hogehoge\n\" expect \"passwd: all authentication tokens updated successfully.\" send -- \"exit\n\" " ``` ã§ãå®è¡ ``` $ chmod +x set_passwd.sh $ ./set_passwd.sh ``` ## å®è£ ä¾2ï¼CSVã®ãã¼ã¿ãå ã«Linuxã«ã¦ã¼ã¶ã¼ã追å **ä»æ§** 1. [ã¦ã¼ã¶ã¼å]ã¨[ãã¹ã¯ã¼ã]ãCSVã«è¨å ¥ 2. csvå ã®å¤ãå¼æ°ã«ãuseradd,
{{#tags}}- {{label}}
{{/tags}}