From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067216042.tru64-unix-managers.marc@archive.invalid> From: Jeffrey Hundstad Date: Wed, 18 Aug 1999 16:46:40 +0000 To: tru64-unix-managers Subject: su user -c passwd as root gives Password not changed... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067216042 -----BEGIN PGP SIGNED MESSAGE----- I'm writing a shell script; it runs as root. The script will be used to ask a user to change their password. I use: /bin/su user -c /bin/passwd where `user' is the username of the unprived user. When this statement executes it gives the following error message: Password not changed: not authorized to change another user's password. Authentication error; see Account Administrator Why is it failing? We are using enhanced agony (I mean security) and I assume there is a ``capability'' that root is missing. How/where do I add it? HELP! - -- Jeffrey Hundstad Computer Services 101 Morris Hall Minnesota State University, Mankato Mankato, MN 56001 USA -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBN7rjWaLa8RgOE1M5AQHRZgP/dl0YKxRFNsuQru5w7bV9D8lMRaTGluQr USH1pyieBSqpjjXclHDO6R/YkSznLuH9iOJuwAA5F0TUNIOL10FYlWgi73h8097v BEhFExu10ooJyevItXDigvn8c6xXRnjdEr7CEC5kB63/yxkn/Gtf1XeIVD3rO/UX tyzIfWlBE/A= =mPmM -----END PGP SIGNATURE-----