Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- IAM
- oh-my-zsh
- element-ui
- dbeaver
- vue
- Be Focused
- zshrc
- vue-design
- Tomato One
- pomodoro
- vue.js
- PSequel
- MAC
- nuxtjs/auth
- pip3
- awscli
- iterm
- AWS
- nuxt
- pgAdmin
- iview
- Roboto Mono
- Qt Designer
- PyQt5
- Pomy
- 문서화의 중요성
- dbglass
- ant design vue
- 터미널
- browsed-based
Archives
- Today
- Total
개발노트
Mac 터미널에서 사용자 변경하기 본문
맥에 서브 계정을 만들었는데, 주 계정 터미널에서 서브 계정으로 변경하고 싶을 때가 있다.
구글링하니 바로 나온다. How to login as a different bash user in terminal?
채택된 답변은 이 명령이다.
sudo -s -u _www
하지만 제대로 된 답변은 그 아래 있는 이 명령이다.
login
현재 macOS 최신 버전인 카탈리나에서도 잘 동작한다.
'Dev-General' 카테고리의 다른 글
Mac에서 zip명령으로 압축 할 때 .DS_Store, __MACOSX제거하기 (0) | 2020.01.13 |
---|---|
oh-my-zsh Insecure completion-dependent directories detected 에러 해결 (1) | 2020.01.08 |
Visual Studio Code 터미널 폰트 설정 (0) | 2020.01.07 |
Microsoft Chromium Edge 기본 검색엔진 변경 (0) | 2019.12.15 |
Mac에서 awscli 설치하고 키 생성하기 (0) | 2019.12.14 |