Skip to content
  • Articles
  • About API – my my

Articles on Apis

APIs by Example

Written by Carsten FlensburgJune 1, 2005August 26, 2017

Easily Reenable Disabled NetServer Users

The iSeries Netserver lets PC users map a drive or printer to the iSeries. This useful feature can sometimes be problematic for system administrators, who must concern themselves with the spread of PC viruses via iSeries shares, connectivity hiccups, and performance issues. One problem that commonly pops up is users finding their access disabled because of changed passwords, wrong passwords, and so on. The system administrator must then intervene to reenable the disabled NetServer users.
IBM provides a few ways (some more convenient than others) to list disabled NetServer users. The least convenient way is searching for message CPIB682 — the message alert for a disabled NetServer user. You use the WRKSPLF (Work with Spooled Files) command:

WRKSPLF QSYSOPR

You could also use the DSPLOG (Display Log) command:

DSPLOG MSGID(CPIB682)

When you spot a disabled NetServer user in the logs, you can issue the CHGUSRPRF (Change User Profile) command:

CHGUSRPRF profile-name

where profile-name is the name of the disabled user. You don’t have to actually change the profile because simply running the command reenables NetServer access.

Download the save file containing the source code.

Read the entire article

Advertisement

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...
Posted in NetServer, Security, User profile.

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

Archives

Category

API usage Application modernization Commands Cross reference Cryptographic services Database file Data queue Date and time Digital certificate manager Display file Document conversion DSM eBook Environment variables Exit points Hardware Help panel IFS Job Job accounting Job queue Job scheduler Job screen Journal LAN Locales Messages MI Module information NetServer Object Object authority Object locks Output queue PEX Printer Programs PTF Query Retrive journal entries RPG Save & restore Security SMTP Spooled files SQL Subsystem Systems management TCP/IP Tips Track exports Trigger UIM User profile User spaces Validation lists Watch definition Workload capping groups Work management XML ZIP

Blogroll

  • Scott Klement's site
  • Dan Riehl's site
  • Lillian Boutté
  • Anette Harboe Flensburg
  • Eamon O'Kane

Post navigation

Previous Post Print Program Adoption Supercharged!
Next Post Wasting Disk Space? Try This New Command!
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Articles on Apis
    • Already have a WordPress.com account? Log in now.
    • Articles on Apis
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: