ユーザ新規作成 †(例) useradd -d ホームディレクトリ -g グループ名 -s シェル -c "コメント" ユーザ名 [root@linux ~]# groupadd example ←■ 専用のグループを使う場合は、グループを新規作成する [root@linux ~]# useradd -d /home/example -g users -s /bin/bash -c "イランイラン メルマガ" example [root@linux ~]# chmod 755 example ←■ アクセス権限を変更 [root@linux ~]# passwd admin ←■ パスワード設定 Changing password for user example. New UNIX password: ←■ パスワード入力 Retype new UNIX password: ←■ パスワード再入力 passwd: all authentication tokens updated successfully. [root@linux ~]# [root@linux ~]# ユーザ削除 †(例) userdel -r example # ホームディレクトリとメールスプールを削除する場合は -r オプションを付ける [root@linux ~]# userdel -r example [root@linux ~]# |