1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/openbsd/chpass.md
Alexandre ZANNI 4c02fad4a2
chpass: fix non-existent sub-command and use of aliases (#16225)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 23:50:27 +05:30

653 B

chpass

로그인 셸과 비밀번호를 포함한 사용자 데이터베이스 정보를 추가하거나 변경합니다. 같이 보기: passwd. 더 많은 정보: https://man.openbsd.org/chpass.

  • 현재 사용자에게 특정 로그인 셸을 대화식으로 설정:

doas chpass

  • 현재 사용자에게 특정 로그인 셸을 설정:

doas chpass -s {{경로/대상/셸}}

  • 특정 사용자에게 로그인 셸을 설정:

doas chpass -s {{경로/대상/셸}} {{사용자명}}

  • passwd 파일 형식의 사용자 데이터베이스 항목을 지정:

doas chpass -a {{사용자명:암호화된_비밀번호:uid:gid:...}}