× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



...but in QSH it works, not in QP2TERM

so confusing....

QSH Command Entry
$

which ps

/QOpenSys/usr/bin/ps

$

ps -f

USER PID PPID STIME DEVICE TIME
FUNCTION
tenlongusr 3653 1 09-30-2022 09:26:25 qpadev0001 00:00
cmd-qsh
tenlongusr 3654 3653 09-30-2022 09:26:27 - 00:00
pgm-qzshsh
tenlongusr 3658 3654 09-30-2022 09:26:34 - 00:00
pgm-ps

On Fri, Sep 30, 2022 at 8:25 AM Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

I tried something today on my 7.5 server.
CRTUSRPRF USRPRF(TENLONGUSR)

from a putty terminal:

ssh tenlongusr@MyHost
tenlongusr@MyHost's password:
Could not chdir to home directory /home/TENLONGUSR: No such file or
directory
-bash-5.1$ ps -f
UID PID PPID C STIME TTY TIME CMD
tenlongu 3651 3649 0 09:04:37 pts/0 0:00 -bash
tenlongu 3652 3651 0 09:04:44 pts/0 0:00 ps -f


oops, it gets cut off at 8 characters. going to see what is said in a PMR
we use 10 long userID all over the environemnt

Bryan


On Thu, Sep 29, 2022 at 7:12 AM Rob Berendt <rob@xxxxxxxxx> wrote:

Apparently the length of the userid can be changed in AIX:
https://www.ibm.com/support/pages/node/960582?mhsrc=ibmsearch_a&mhq=960582

https://www.ibm.com/docs/en/aix/7.2?topic=ugnll-changing-user-group-name-length-limit-in-odm-database

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Patrik Schindler
Sent: Wednesday, September 28, 2022 3:17 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Limiting user profiles to 8 characters

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.


Hello Rob,

Am 28.09.2022 um 16:24 schrieb Rob Berendt <rob@xxxxxxxxx>:

unix: Some of the discussion boards noted that grep and stuff would
show the first 7 characters and the 8th character would be a plus sign

Let me try this on an aix lpar...
# oslevel
7.2.0.0
# mkuser rob456789
3004-694 Error adding "rob456789" : Name is too long.
Dropping the 9 worked.

Wow! I suggest that the A in AIX is for "ancient". ;-)

... and I learned how to create and delete a user in AIX today!

Yay!

:wq! PoC



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--

bryan




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.