일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Cryptography
- sql injection
- overthewire
- php login page
- tryhackme
- php 로그인 페이지 만들기
- file upload
- Reconnaissance
- ssrf
- Leviathan
- Authentication
- BANDiT
- php file upload
- OS Command Injection
- FTZ
- active recon
- Recon
- Cookie
- privilege escalation
- php 파일 업로드하기
- active reconnaissance
- 파일 업로드 취약점
- SQLi
- over the wire
- Server Side Request Forgery
- php To Do List
- access control
- War Game
- THM
- php
Archives
- Today
- Total
R's Hacking Daily Log
Sudo command 본문
[sudo]
sudo :: substitute user do || super user do의 줄임말.
sudo command는 일시적으로 사용자의 권한을 다른 사용자 권한으로(ex. root) 바꿔주는 역할을 한다.
모든 명령어, 시스템이 일반 사용자 권한으로 실행되지 않기 때문에 root 권한이 필요할 때 사용할 수 있는 명령어이다.
(그렇다고 그냥 모든 sudo 명령이 다 실행되지는 않는다.)
다른 권한도 아니고 root 권한이기 때문에 사용할 수 있는 범위의 명령어를 실행한다고 해도
되도록 다른 방법을 이용하거나 신중히 고려한 후 sudo command를 사용하기를 추천한다.
usage
:: sudo + command
실행하고자 하는 command 앞에 sudo를 붙여주면 된다.
'Tool & Command' 카테고리의 다른 글
cd Command (0) | 2023.05.17 |
---|---|
Wget Command (0) | 2023.05.13 |
tee command (0) | 2023.02.26 |
Gobuster (0) | 2023.01.20 |
Pytorch(install error) (0) | 2023.01.18 |
Comments