Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • Last Modified:

AS/400 : How to create an login ID that can power down the system?

Hi,

We have just recruit a new computer operator.  We would like to create an ID for him and allow him to have the authority to power down the system during the weekend.  Therefore, we model one of the existing operator ID which can power down the system and create a new ID for that operator.  However, we found that the newly created ID can not perform power down system function.  I do already check the authority of the ID together with the command authorities, seems all are ok.

Would like to ask what we have been missed ?  And why this ID still can not perform system power down?

Cheers
Stanley
0
StanleyLMW
Asked:
StanleyLMW
2 Solutions
 
theo kouwenhovenCommented:
Hi Stanley,

Give the profile the userclass *SYSOPR then he is able to bring the system down.

Regards,
Murph
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Are you getting a "Not authorized" error using the PWRDWNSYS command, or does the user just not see the options on system menus?

Any user with *JOBCTL (Job Control) special authority, (and authority to the command, of course), can power the system down using the PWRDWNSYS command directly.

Some menu options are hidden, however, if the user does not have *SYSOPR user class, so it is best to assign this user class, too.

Also, some shops change the default authority on the PWRDWNSYS command as a safety feature - so use the DSPOBJAUT OBJ(PWRDWNSYS) OBJTYPE(*CMD) to verify that the new user (or one of the users groups) actually has rights to execute the command.  

-Gary Patterson
0
 
tliottaCommented:
Stanley:

> However, we found that the newly created ID can not perform power down system function. <

How do you know? That is, what indication does the system give? What message is displayed, most particularly what is the message ID?

Usage of PWRDWNSYS has changed in recent releases and _might_ affect how a new user can use PWRDWNSYS, so please provide the version of the operating system. (Not likely needed, but might be useful.)

Tom
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now