I was alerted the other day that after a change of help desk special authorities, one of my clients was getting repeated authority failures when the help desk users were attempting to reset disabled Netserver users.
In a bit of an anomaly, a user can become disabled for Netserver use while still having an *ENABLED user profile. Netserver disables a user after too many bad logon attempts, but that doesn't actually *DISABLE the user profile; it disables the user profile only from using Netserver, which is used for System i network file and print sharing.
When I inquired as to how the help desk was attempting to reenable the Netserver users, the answer was that they were using System i Navigator (Ops Nav) Network|Server|TCP/IP|Netserver|Open|Disabled User IDs. As a security consultant, I was immediately taken aback that the help desk would have that kind of access to the TCP/IP and Host servers operation and configuration. I wondered what other powerful facilities they had been authorized to use.
To make a very long story short, you can reenable a disabled Netserver user by simply typing the command:
CHGUSRPRF MYUSER
and pressing Enter.
You don't need to change any attribute of the profile. Simply using the CHGUSRPRF command will update the user profile and magically reenable the user for Netserver use.
@denseeks: CHGUSRPRF with no parameters (aside from user profile name, obviously) works for me. That assumes of course that the profile is only disabled for NetServer. If it's disabled for everything, (i.e. STATUS(*DISABLED)) then you'll have to change it to *enabled, of course. But if it's only disabled for NetServer, just CHGUSRPRF no other parameters works fine.
Carsten Flensburg also wrote a utility related to this a few years back:
http://systeminetwork.com/article/apis-example-list-and-enable-disabled-netserver-users