###わからない事
AWSの IAMユーザーが新たにユーザーを作る事はできるのか?
###やった事
ssh接続後、以下のようにコマンドを打ち、ユーザーを作成
$ sudo adduser newuser Adding user `newuser' ... Adding new group `newuser' (1003) ... Adding new user `newuser' (1002) with group `newuser' ... Creating home directory `/home/newuser' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: Sorry, passwords do not match passwd: Authentication token manipulation error passwd: password unchanged Try again? [y/N] N Changing the user information for newuser Enter the new value, or press ENTER for the default Full Name []: q Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] n Changing the user information for newuser Enter the new value, or press ENTER for the default Full Name [q]: katsuya watanabe Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Y #Yをうって終了
その後、以下のコマンドを入力
$ sudo userdel -r newuser
ただ、users
と打っても ubuntu ユーザーしか表示されない
ユーザーを newuser に切り替え
ls をうっても何も表示されない
###教えて頂きたい事
そもそもユーザーを追加する事ができないのか?
コマンドが間違っているのか?
コマンドを打つばしょ(~)が間違っているのか?
AWS詳しくないため、苦戦しています。
どなたがご教授願います。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/03/25 02:38
2019/03/25 02:41
2019/03/25 02:48
2019/03/25 02:55
2019/03/25 03:01
2019/03/25 03:10
2019/03/25 03:56