自宅サーバー ≫ Linux Server ≫ Vine Linux 6 ≫ ユーザー追加

 
ユーザー追加
 
 
[root@linux]# useradd ******   ← 入力(****** = ユーザー名)
 
パスワードの設定
 
 
[root@linux]# passwd ******   ← 入力(****** = ユーザー名)
 Changing password for user user001.
 New password:
xxxxxxxx   ← パスワードの入力(実際には表示されません)
 Retype new password: 
xxxxxxxx   ← パスワードの再入力(実際には表示されません)
 passwd: all authentication tokens updated successfully.
 
ユーザー削除
 
 
[root@linux]# userdel ******   ← 入力(****** = ユーザー名)
 
ホームディレクトリごと削除する場合は引き数 -r を付ける
 
 
[root@linux]# userdel -r ******   ← 入力(****** = ユーザー名)
 

戻る