pbs_password.8B 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .\" Copyright (C) 1994-2018 Altair Engineering, Inc.
  2. .\" For more information, contact Altair at www.altair.com.
  3. .\"
  4. .\" This file is part of the PBS Professional ("PBS Pro") software.
  5. .\"
  6. .\" Open Source License Information:
  7. .\"
  8. .\" PBS Pro is free software. You can redistribute it and/or modify it under the
  9. .\" terms of the GNU Affero General Public License as published by the Free
  10. .\" Software Foundation, either version 3 of the License, or (at your option) any
  11. .\" later version.
  12. .\"
  13. .\" PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
  14. .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  15. .\" FOR A PARTICULAR PURPOSE.
  16. .\" See the GNU Affero General Public License for more details.
  17. .\"
  18. .\" You should have received a copy of the GNU Affero General Public License
  19. .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. .\"
  21. .\" Commercial License Information:
  22. .\"
  23. .\" For a copy of the commercial license terms and conditions,
  24. .\" go to: (http://www.pbspro.com/UserArea/agreement.html)
  25. .\" or contact the Altair Legal Department.
  26. .\"
  27. .\" Altair’s dual-license business model allows companies, individuals, and
  28. .\" organizations to create proprietary derivative works of PBS Pro and
  29. .\" distribute them - whether embedded or bundled with other software -
  30. .\" under a commercial license agreement.
  31. .\"
  32. .\" Use of Altair’s trademarks, including but not limited to "PBS™",
  33. .\" "PBS Professional®", and "PBS Pro™" and Altair’s logos is subject to Altair's
  34. .\" trademark licensing policies.
  35. .\"
  36. .TH pbs_password 8B "23 October 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_password
  39. \- set or update password of a PBS user
  40. .SH SYNOPSIS
  41. .B pbs_password
  42. [-d] [-r] [-s <server>] [<username>]
  43. .br
  44. .B pbs_password
  45. --version
  46. .SH DESCRIPTION
  47. The
  48. .B pbs_password
  49. command is used to set or update the password of a PBS user.
  50. The user does not have to have any jobs on the system.
  51. .LP
  52. Available on Windows and supported Linux x86 and x86_64 platforms only.
  53. .LP
  54. The
  55. .B pbs_password
  56. command has no effect on running jobs. Queued jobs use the new password.
  57. .LP
  58. The
  59. .B pbs_password
  60. command does not change the user's login password on the current host, only the
  61. password that is cached in PBS.
  62. .LP
  63. The
  64. .B pbs_password
  65. command encrypts the password obtained from the user before sending it to the PBS
  66. server.
  67. .B Required Privilege
  68. .br
  69. An unprivileged user can use the command to set or update their own password.
  70. Root or Admin can use this command to set or update the password of another user.
  71. .LP
  72. .SH OPTIONS
  73. .IP "(no options)" 15
  74. The user executing this command is prompted for a new password. This user's password
  75. credential on the default PBS server is updated to the prompted password. Any user jobs previously held due to an invalid password are not released.
  76. .IP "-d" 15
  77. Deletes password. If
  78. .I username
  79. is not specified, deletes the password of the current user. If
  80. .I username
  81. is specified and the current user is root or Admin, deletes the password of the
  82. specified user.
  83. .IP "-r" 15
  84. Any user jobs previously held due to an invalid password
  85. are released.
  86. .IP "-s <server>" 15
  87. The
  88. .I server
  89. where the password is to be changed.
  90. .IP "<username>" 15
  91. The password credential of user
  92. .I username
  93. is updated to the prompted password.
  94. If
  95. .I username
  96. is not the current user, this action is only allowed if one of the following is true:
  97. .RS
  98. .IP "1." 5
  99. The current user is root or Admin
  100. .IP "2." 5
  101. User
  102. .I username
  103. has given the current user explicit access via the
  104. .I ruserok()
  105. mechanism:
  106. .RS
  107. .IP "a." 5
  108. The hostname of the machine from which the
  109. current user is logged in appears in the server's hosts.equiv
  110. file, or
  111. .IP "b." 5
  112. The current user has an entry in
  113. .I username's
  114. HOMEDIR\\.rhosts file.
  115. .RE
  116. .RE
  117. .RE
  118. .RE
  119. .LP
  120. .IP "--version" 15
  121. The
  122. .B pbs_password
  123. command returns its PBS version information and exits.
  124. This option can only be used alone.
  125. .SH EXIT STATUS
  126. .IP " 0" 15
  127. Success
  128. .IP "-1" 15
  129. single_signon_password_enable not set
  130. .IP "-2" 15
  131. Password of username on server failed to be created/updated
  132. .IP "-3" 15
  133. Failed to release jobs held due to bad password owned by
  134. username on server
  135. .IP "-4" 15
  136. Failed to delete password of username on server
  137. .IP "-5" 15
  138. Current user not authorized to change password of
  139. .I username
  140. .SH SEE ALSO
  141. qhold(1B), qrls(1B), qselect(1B), ruserok()