How can I suppress the password prompt for users logging in to an AIX (6.1) system

babyb00mer
babyb00mer used Ask the Experts™
on
I know it sounds counterintuitive, but I'm looking to suppress the password prompt for a select group of users on my IBM server running AIX 6.1. I haven't found anything any SMIT that will allow me to do that, and I haven't figured out how to hack the security files.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2013
Top Expert 2013
Commented:
Yep,

that's "counterintuitive", to say the least.

But if you insist -

just log in as root and issue

passwd userid

Hit <enter> twice when prompted for the user's new password.

Now issue

pwdadm -c userid

to avoid prompting for a password change at the user's next login.

You could as well edit /etc/security/passwd and remove the encrypted password string beneath
"password = "

I assume you're aware that the above could form a security risk ..... ??

wmp
Most Valuable Expert 2013
Top Expert 2013

Commented:
... using ssh and public key authentication could be a better solution, don't you think?

Author

Commented:
WMP

Yep, that's kinda what I thought. I just wanted to make sure there wasn't a better way. Regarding ssh, you're preachin' to the choir. Unfortunately, this choir sings with but a single voice.

Thanks again.

Author

Commented:
I was going to assign a 'B', but I didn't think the expert should be penalized for my lack of diligence. I simply ran out of time. However, with what little testing I did, I never succeeded in suppressing the password prompt.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial