inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

아마존 AWS 입문

sudo usermod –a –G apache ec2-user 이 명령어가 안먹어요

해결된 질문

458

esk1008

작성한 질문수 1

0

sudo usermod –a –G apache ec2-user

해당 명령어를 입력하면 아래같이 나옵니다.

이후 진행을 못하고 있어요.

 

[ec2-user@ip-172-31-22-71 ~]$ sudo usermod –a –G apache ec2-user

Usage: usermod [options] LOGIN

 

Options:

  -c, --comment COMMENT         new value of the GECOS field

  -d, --home HOME_DIR           new home directory for the user account

  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE

  -f, --inactive INACTIVE       set password inactive after expiration

                                to INACTIVE

  -g, --gid GROUP               force use GROUP as new primary group

  -G, --groups GROUPS           new list of supplementary GROUPS

  -a, --append                  append the user to the supplemental GROUPS

                                mentioned by the -G option without removing

                                him/her from other groups

  -h, --help                    display this help message and exit

  -l, --login NEW_LOGIN         new value of the login name

  -L, --lock                    lock the user account

  -m, --move-home               move contents of the home directory to the

                                new location (use only with -d)

  -o, --non-unique              allow using duplicate (non-unique) UID

  -p, --password PASSWORD       use encrypted password for the new password

  -R, --root CHROOT_DIR         directory to chroot into

  -s, --shell SHELL             new login shell for the user account

  -u, --uid UID                 new UID for the user account

  -U, --unlock                  unlock the user account

  -Z, --selinux-user SEUSER     new SELinux user mapping for the user account

 

wordpress aws

답변 2

0

류재안

저도 명령어 모음.txt 로 하니 위와 같은 오류가 나서 좀 헤맸는데 답변처럼 직접 입력하니 실행이 되네요.

0

Masocampus

esk1008님, 안녕하세요. 마소캠퍼스 헬프데스크입니다.

 

AWS 수업의 경우 사용하는 Editor에 따라서 copy&paste 시에 언어 코드의 값이 변경될 수 있기 때문에,

실습은 콘솔에 직접 타이핑하여 수강하시는 것을 추천드립니다.

 

이와 같은 방식으로 동일한 오류가 발생한다면, 언제든지 문의해 주시기 바랍니다.

감사합니다. 

 

마소캠퍼스 헬프데스크 드림

모바일 로고 이미지가 날아갔어요...

0

15

2

매수하기

0

33

2

계좌잔고 조회하기

0

37

1

강의자료가 없나요?

0

36

1

intellij나 파이참 기준 어떻게 하는지 궁금합니다

0

41

2

jenkins 노드 구성 실습 오류 수정

1

47

1

기존 미국주식 자동매매 프로그램과 같은 AWS 서버에서 돌리려고 할때

1

49

1

수강기간 연장부탁드립니다

0

51

2

Alpha vantage 유료화?

0

89

2

강의자료 받았는데요

0

52

1

colab 작동

0

66

2

[클라우드 설정 중 앞 내용 문의 사항]

1

48

1

https:// studio.opentofu.click 로 접속이 안돼요

0

56

2

aws 계정 생성 질문

1

74

1

에이전트 프로그램 다운로드 불가

0

78

2

베개머리투자법 섹션 5를 듣고 질문드립니다.

0

69

2

ai 레드티밍 자료 및 강의 누락

0

57

1

교육 자료 최신본 제공 가능 문의

0

63

2

미국 써머 타임 적용에 대해서 질문입니다.

0

53

1

클로드 API 기간설정에 대해서

1

70

1

후속강의 쿠폰

0

64

2

환경 셋팅관련 동영상이 어디에 업로드되어 있나요?

1

69

1

헤더에서 empty column이 삭제가 안되고, 헤더 레이아웃을 동영상처럼 선택하는 옵션이 안나오는데 어떻게 하나요?

0

47

1

LAMP 인스톨 실패

0

468

2