[Oracle Linux]sudoers 설정 파일에 없습니다. 이 시도를 보고합니다.

2022. 6. 2. 18:25·개발/Linux
728x90

오라클 리눅스 설치 후 첫 sudo를 사용할때 발생

오류 발생

 

해결방법

 

su 명령어를 입력하여 root 계정으로 전환한다

root로 전환

아래 명령어를 이용하여, sudoers 파일을 수정

visudo -f /etc/sudoers


아래로 내려가, "Allow root to run any commands anywhere" 부분에 내용추가

:a 눌러 username ALL=(ALL) ALL 내용 추가
(tip, tab을눌러 띄어쓰기 할 수 있음)

그후 :wq 입력하여 저장


끝!


 

728x90
저작자표시 비영리 변경금지 (새창열림)

'개발 > Linux' 카테고리의 다른 글

[Jetson Nano] Makefile:151: recipe for target 'all' failed  (0) 2023.06.23
[Ubuntu] 초기설정(ssh,ufw,adduser)  (0) 2022.12.09
[Ubuntu] unable to find the requested file. please check the spelling and try again 오류 & 해결  (0) 2022.05.28
[Raspbian]ssh 접속 오류(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)  (0) 2022.01.06
[Raspbian] pip install --upgrade pip 오류 발생 & 해결  (1) 2021.12.31
'개발/Linux' 카테고리의 다른 글
  • [Jetson Nano] Makefile:151: recipe for target 'all' failed
  • [Ubuntu] 초기설정(ssh,ufw,adduser)
  • [Ubuntu] unable to find the requested file. please check the spelling and try again 오류 & 해결
  • [Raspbian]ssh 접속 오류(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)
호이호이209
호이호이209
이것저것 기록하는 메모장
    250x250
  • 호이호이209
    R=VD
    호이호이209
    • R=VD전체글 (83)
      • 개발 (63)
        • Linux (19)
        • 머신러닝 (10)
        • Git (6)
        • Python (9)
        • 프로그래밍 언어 (2)
        • Docker (5)
        • ETC (12)
      • 일상기록 (20)
        • 여행 (5)
        • 일상-이모저모 (8)
  • 인기 글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
호이호이209
[Oracle Linux]sudoers 설정 파일에 없습니다. 이 시도를 보고합니다.
상단으로

티스토리툴바