"Ubuntu"의 두 판 사이의 차이
jjuiddong
(새 문서: * git 설치 때문에 ubuntu를 자주 쓰게 되었는데, 이 작업을 하면서 주로 사용했던 명령어를 정리해본다. # 파일 이름 변경 #* mv [src-filename] [d...) |
|||
14번째 줄: | 14번째 줄: | ||
#* user is not in the sudoers file. This incident will be reported | #* user is not in the sudoers file. This incident will be reported | ||
#* http://www.linuxforums.org/forum/red-hat-fedora-linux/144428-solved-not-sudoers-file-incident-will-reported.html | #* http://www.linuxforums.org/forum/red-hat-fedora-linux/144428-solved-not-sudoers-file-incident-will-reported.html | ||
− | #* su - | + | #* su - \ |
#* echo '[user-id] ALL=(ALL) ALL' >> /etc/sudoers | #* echo '[user-id] ALL=(ALL) ALL' >> /etc/sudoers |
2013년 4월 25일 (목) 12:19 판
- git 설치 때문에 ubuntu를 자주 쓰게 되었는데, 이 작업을 하면서 주로 사용했던 명령어를 정리해본다.
- 파일 이름 변경
- mv [src-filename] [dest-filename]
- 파일 제거
- rm [filename]
- 디렉토리 제거
- rm -rf [filename]
- root 계정 비밀번호가 설정되지 않았다면
- http://kldp.org/node/98561
- sudo passwd root 명령어로 실행후 비밀번호를 설정한다
- ubuntu 계정 문제
- user is not in the sudoers file. This incident will be reported
- http://www.linuxforums.org/forum/red-hat-fedora-linux/144428-solved-not-sudoers-file-incident-will-reported.html
- su - \
- echo '[user-id] ALL=(ALL) ALL' >> /etc/sudoers