I've been doing Linux and AIX administration for years, but I'm very new to HPUX. We have an old audit process which involves someone manually using sam to generate user lists. I'd like to kill that old process with fire...
But...
After working a bit in the morning to try and pull that same list from the command line I am coming up empty. I could, I suppose, pull each user from the file one by on in a loop and run queries about them but that is ugly.
I tried listing the SAM commands to a file and using them to the list but that also did nothing.
How do I get this list, at the command line..
Again, I'm sure to some of you this is a total newbie question and I have tried RTFM but I thought maybe you could help me out..
Thank you
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 01-26-2018 at 02:58 PM..
Reason: Added CODE tags.
Is there an easy way to view all printers on a local
machine via command line or a script?
I'm looking for the equivalent of clicking on
"START, CONTROL PANEL, PRINTERS AND FAXES"
to view the devices.
I then want to cat it to a file where I would use
it later.
Thanks (3 Replies)
Hey, new here, so be nice! I'm trying to write a little script to automate the user creation process on one of our boxes. But I would like to be able to use the templates that we have set up in SAM. Is the information in these templates stored in a file somewhere, that I can reference in my... (5 Replies)
How can I add a user to a specific group without using SAM? I know I can user modprpw -G, but that will overwrite any groups the user is in with the ones I specify.
I need to assume that I do not know what groups the user is already in, so I can't put them in the modprpw command. I just need... (2 Replies)
Hi I hope this is easy and sorry if I am using the wrong HP terms.
I am looking for a way to glean the command line information from a process I run in SAM?
In AIX I can just select any options I want for particular process and hit F6 and the command line is shown on the screen for use in... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a command line that will display a sorted list of logged in users. Just display the username and no other... (5 Replies)
hi, i have an AIX6.1 machine and i modified a user's profile so that it creates history file for each ip address that connects with this user. the reason i did this is because more than 1 person connects with the same user so i want to keep track of command run by all of them. therefore, in the... (5 Replies)