各ユーザ毎のUID、所属グループおよびGIDを一斉取得するコマンド。 以下コマンドを実行。 cat /etc/passwd | awk -F ":" '{print $1}' | while read LINE ; do id -a ${LINE} ; done <スポンサーリンク>