What command could I use to look up the password history of a user ID?
We’re trying to figure out when someone last had their password changed, and our AS400 guru’s aren’t answering their phones.
Anyone? Bueller?
What command could I use to look up the password history of a user ID?
We’re trying to figure out when someone last had their password changed, and our AS400 guru’s aren’t answering their phones.
Anyone? Bueller?
dont have it but an awesome post that restores my faith in the straight dope!
This should work for you, modify it to your needs.
It creates a file with the information you can then view.
DSPUSRPRF USRPRF(*ALL) TYPE(*BASIC) OUTPUT(*OUTFILE) OUTFILE(QGPL/JIM)
Jim
DSPUSRPRF USRPRF(Johnson) TYPE(BASIC) OUTPUT()
Should actually work better. Sorry, I am use to reviewing many users at once.
Change the username to the person you wish to check on.
Jim
I’m getting this…
DSPUSRPRF brandle TYPE(BASIC) OUTPUT()
Not authorized to command DSPUSRPRF in library *LIBL.
Error found on DSPUSRPRF command.
I should warn you, I’m faily new to AS400… I’ve done a lot of menu based stuff, but command line is a new world to me. Sort of.
I’m guessing, based on what the error message says, that I/we don’t have that level of authority?
Yes, that is an authority problem. Do you have any access to superuser profile?
Something like QUSER, QSECOFR or Powerful Test Profile?
Without authority to DSPUSRPRF, you will not the ability to see the last password change.
Jim
Hmmm… I’ll have to take a looksee.
Thank you for your help, btw!
Happy to do so, nice to answer a factual question in my specialty. It is pretty rare.
Jim
I don’t have anything useful to add to this thread other than threads like these is why I subscribe to the dope. I don’t think there’s any other place where you can get all your veterinary, cooking, history, carpentry, music theory and… apparently AS/400 questions answered in just few minutes.
Beautiful. Simply beautiful.
Indeed. This is the only site I pay money to for the privledge of being a member, and this is why.
The command worked like a charm, once I got into the system under one of the “power” id’s. Of course, my boss got an e-mail as soon as someone logged in under it, and I got scolded, but it was a fun time anyways!
Mine wife was recently posed with an AS400 question. I replied that she, as an old IBM 360 user, would ignore her GUI experience and feel right at home.
MVS or VM, or something else? Because if she’s feeling nostalgic, she can run MVS, VM, and some others on the Hercules emulator. (See here for details on the OS situation.) It’s even possible to get Debian running when it’s emulating a 390.
(Extra geeky bonus: Hercules is currently maintained by Jay Maynard, better known as his alter-ego Tron Guy.)
That is not even true any more on the latest version of the OS. Some people almost exclusively use various GUI tools to work on the AS400 (iSeries) and even many programmers live in the GUI world primarily.
Myself, I am still a “Green Screen Commando” but I’ve working on the AS400 since 1992.
That absolutely honestly had me laughing out loud and disturbing those around me. I am glad I read it today and not tomorrow.
Was that real and if so when did you screenshot it?
I don’t know if it’s real because I didn’t: It was passed around some of the social sites (Reddit, for one) a few weeks ago. I just happened upon it again.
But surely he was placated when you explained that some Doper told you to do it?
For questions perhaps a bit more basic than the one asked here, I like The Operating Systems Handbook, which covers the basics of five operating systems: Unix, VMS, OS/400, VM/CMS, and MVS. In specific, it covers:
[ul]
[li]History of the operating system [/li][li]Starting and ending a session [/li][li]Filenames [/li][li]How files are organized, and how to navigate[/li][li]Available on-line help [/li][li]Creating, copying, renaming, and deleting files [/li][li]Using the text editor [/li][li]Printing text files [/li][li]Creating and running command files [/li][li]Sending and receiving mail [/li][li]A sample session[/li][/ul]It’s a bit old-fashioned, profiling OSes at their state in roughly the 1980s, and therefore isn’t very useful when it comes to modern Unix variants (Linux, the modern BSDs, Solaris) in particular. It is, however, free to download and the material for each OS can be downloaded separately.