Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20210118] Bind Exception(허가 거부), 리눅스 파일 권한(chmod) #14

Open
JuHyun419 opened this issue Jan 18, 2021 · 0 comments

Comments

@JuHyun419
Copy link
Owner

JuHyun419 commented Jan 18, 2021

Bind Exception: 허가 거부

  • 권한 문제
  • Linux에서 root 계정으로 쉘스크립트 파일 실행 가능

Linux 권한

  • drwxrwxrwx => d: 파일 종류(-: 파일, d: 디렉토리)
  • rwx => 순서대로 소유자, 그룹, 기타 사용자의 권한
  • 일반적으로 기본 환경에서 1024 이하 포트는 root만 사용할 수 있음

리눅스 netstat

  • TCP 통신을 하는 서비스의 연결상태를 보여줌
  • -an: '모든' 소켓정보를 10진수로 변환해서 출력
  • -ntlp: TCP정보 중에서 listening 상태인 소켓의 정보를 10진수로 변환하여 보여주고, 실행되고 있는 프로그램과 PID정보를 출력
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant