Problem
The man page for useradd(ADM) states that there is a password
option. To use this option, I type:# useradd -x "{ password 123abc}" testuserThis error message is then displayed:error: useradd failed No such attribute password in class testuser user
Solution
The documentation for useradd(ADM) is incorrect. The password
option does not exist. Below is a shell script that can be
used to assign a password to an existing user.--------------------cut here---------------------------
#!/bin/osavtcl# Here "user_name" is the name of the user who's password you
# are modifying and "new_password" is their new password.
# You must have "auth" authorization or be root to use this command.ObjectAction {sco user} user_name setPassword new_password-------------------cut here-----------------------------