일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 탐욕 알고리즘
- git workflow
- Spring
- root passwd
- Spring MVC
- JAVA 재귀함수
- file i/o
- Java
- RestControllerAdvice
- 스키마 디자인
- 스키마 설계
- git 설정
- 함수형 인터페이스
- ubuntu
- 리눅스 사용권한
- char to int
- mapstruct
- ubuntu passwd
- O(log n)
- set-version
- REST HTTP API
- 코드스테이츠
- 배열 탐색
- Spring 예외처리
- custom exception
- http 응답코드
- ubuntu 패스워드
- AOP
- N:N
- 자료구조
Archives
- Today
- Total
개발소설
wsl로 설치한 ubuntu의 패스워드를 잊어 먹었을때 본문
Window PowerShell에서 변경 가능
관리자모드로 터미널 실행하여 아래와 같이 명령어 입력
# root로 접속
PS C:\Users\Chae> wsl --user root
# root 패스워드 변경
root@DESKTOP-0E5UOSR:/mnt/c/Users/Chae# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
# 특정 사용자 패스워드 변경
root@DESKTOP-0E5UOSR:/mnt/c/Users/Chae# passwd chae
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@DESKTOP-0E5UOSR:/mnt/c/Users/Chae# exit
logout
'에러해결' 카테고리의 다른 글
wsl ubuntu 버전변경 (0) | 2023.02.15 |
---|
Comments