| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
													Tags
													
											
												
												- REST HTTP API
 - 자료구조
 - git 설정
 - 리눅스 사용권한
 - Spring
 - O(log n)
 - 탐욕 알고리즘
 - set-version
 - char to int
 - ubuntu
 - RestControllerAdvice
 - custom exception
 - 코드스테이츠
 - http 응답코드
 - root passwd
 - 배열 탐색
 - ubuntu 패스워드
 - JAVA 재귀함수
 - N:N
 - Spring MVC
 - Java
 - 함수형 인터페이스
 - 스키마 디자인
 - ubuntu passwd
 - 스키마 설계
 - mapstruct
 - file i/o
 - AOP
 - git workflow
 - Spring 예외처리
 
													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