HPE CRAY 자료 공유

[HPCM] cpasswd 사용 방법 본문

SYSTEMS/HPCM

[HPCM] cpasswd 사용 방법

CRAY KOREA Blog 2024. 5. 27. 12:04

HPCM 노드들의 root 비밀번호 변경에 사용되는 cpasswd 사용방법을 설명 합니다.

 

# /opt/sgi/sbin/cpasswd --help
Usage:
  cpasswd [OPTION]...

Options:
      --debug              print debugging output
  -h, --help               print usage and exit
  -N, --node=NODE          change password for NODE
      --no-encrypt         do not encrypt the password, it is already encrypted
  -q, --quiet              only print errors
      --reset              reset to the current global password
      --stdin              read password from stdin
      --salt-id=ID         the salt id to use when encrypting

Details:
  If a node is specified with -N or --node, then that node will have
  a password that differs from the global password.  In order to
  remove a node-specific password, use --reset.

  Encrypting the password is done with the standard crypt(3) function,
  and therefore the salt ids supported are the same as specified in the
  crypt(3) man page.  The default is 1 (MD5).

 

"--salt-id" 옵션의 기본 값은 1(MD5) 입니다.
각 값은 1: MD5(default), 5: SHA-256, 6: SHA-512 이고, 최근 보안 권장이 되는 SHA-512 암호화를 위해서는 6(SHA-512)을 권장 합니다.

 

- 사용방법

# /opt/sgi/sbin/cpasswd --salt-id=6

 

'SYSTEMS > HPCM' 카테고리의 다른 글

[Patch] HPCM 1.8 패치 목록  (0) 2024.06.03
[HPCM] HPCM GUI 사용자 등록  (0) 2024.05.30
[HPCM] HPCM pbspro connector  (0) 2024.04.19
[HPCM] Java Web Start(JWS) 관련  (0) 2024.04.15
[HPCM] JAVA GUI standalone mode 실행 방법  (0) 2024.04.15