inflearn logo
강의

Khóa học

Chia sẻ kiến thức

Nhập môn Amazon AWS

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

Đã giải quyết

435

esk1008

1 câu hỏi đã được viết

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

Câu trả lời 2

0

pink321ryu

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

0

Masocampus

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

 

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

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

 

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

감사합니다. 

 

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

맥북에서 영상이 안나옵니다

0

7

0

SQS 노션 자료 내용

0

17

1

python run.py 실행시 에러 문제

0

19

1

커서창

1

23

2

Read Replica

0

17

1

cursor 환경

1

30

2

실전 문제 풀이 15 - Q. 14

0

22

1

개발 환경 준비와 프로젝트 구조 강의 관련

1

25

2

저장 공간

1

37

2

프리티어 (무료플랜) 은 스토리지 게이트웨이 생성이 안되는것 같습니다.

0

26

1

colab 코드 실행시 error

1

37

2

llm_decision_logs 저장 실패(실적 컬럼 불일치)를 어떻게 해결할까요?

2

55

3

파일 다운로드 오류

0

49

3

클라우드 프론트 멀티 오리진의 의미가 정확히 무엇인가요?

0

69

2

33강 14번 질문 있습니다.

0

55

1

수업 자료 사이트가 또 바뀌었을까요?

0

35

1

수강 기간 연장 문의

0

60

2

aws 관련 질문드립니다.

1

56

3

환경변수 기반 업비트 API 키 가져오기에서 none이 나옵니다ㅠㅠ

0

53

2

수강기한 연장 부탁드립니다.

0

58

2

강의자료와 강의 내용의 차이

0

60

2

수강 연장 부탁드립니다.

0

61

2

kaggle notebook에 service key 설정이 누락된 것 같습니다

1

56

2

LAMP 인스톨 실패

0

443

2