Sponsored Content
Operating Systems AIX how many su - users I ejecute in prompt AIX 5.3 Post 302630951 by kah00na on Thursday 26th of April 2012 02:13:01 PM
Old 04-26-2012
You can figure it out by following the parent and child process ID associations. user1 logged in, then su'ed to user2, then to user3, then to user4 in this example:
Code:
hostname:/:$ ps -ef | grep "\-ksh" | grep -v grep
    user3 10748124 11468914   0 13:09:22  pts/0  0:00 -ksh
    user2 11468914 12845170   0 11:18:46  pts/0  0:00 -ksh
    user1 12845170 19202086   0 11:18:45  pts/0  0:00 -ksh
    user4 14942442 10748124   1 13:09:23  pts/0  0:00 -ksh
hostname:/:$

 

10 More Discussions You Might Find Interesting

1. AIX

Users on AIX 5.2

Hi everybody, I have a system with AIX 5.2. I want to create a User on this system. This User shouldn't has an admin rights, but I want to allow him to remove any directory from a specific path where the owner of this path is another user (not root). what is the properties that should be... (4 Replies)
Discussion started by: aldowsary
4 Replies

2. UNIX for Dummies Questions & Answers

Users In AIX

Good Afternoon How can i change the password without it requests the following thing to me: Changing password for "prueba1" prueba1's Old password: what desire is that is made directly like in root: Changing password for "prueba1" prueba1's New password: I need to create 2 users... (1 Reply)
Discussion started by: Lost in AIX
1 Replies

3. AIX

Users in AIX

Good Afternoon How can i change password without it requests the following thing to me: Changing password for "prueba1" prueba1's Old password: what desire is that is made directly like in root: Changing password for "prueba1" prueba1's New password: In the company have a two role... (3 Replies)
Discussion started by: Lost in AIX
3 Replies

4. AIX

AIX users got expired !

Guy's .. I have faced an issue in AIX server, users got expired without asking me about the expiration and did not asking me to change the old password moreover will not accept my login with old password any more until reset the ID with new password Pls assist in this to how configure the... (3 Replies)
Discussion started by: Mr.AIX
3 Replies

5. AIX

Custom AIX Prompt

In my .profile, my prompt is set like this: set -o vi PS1=`logname`@`hostname -s`:'$PWD>' Is there a way to show what the history number would be of the command I'm typing in the prompt? For example, I frequently run commands then run 'history' to pull up the history number of a command... (2 Replies)
Discussion started by: ptrotter
2 Replies

6. AIX

Users on Aix 6

Hello everybody My question is about which default userīs should I disable it on Aix 6.1 I would like to hear your opinions. Thanks for your comments (0 Replies)
Discussion started by: lo-lp-kl
0 Replies

7. AIX

Timestamp in AIX Prompt

I am using ksh under IBM's AIX, version 6.1. I wopuld like to add the current time to my prompt. I understand that I can change the value of $PS1 in my .profile. So far my attempts at setting the time have resulted in setting the time to what it was when the .profile was executed. ( It doesn't... (2 Replies)
Discussion started by: PeterF
2 Replies

8. UNIX for Dummies Questions & Answers

scp not working because of prompt (AIX, tcsh)

Hello, I have this problem: I have a server to which I ssh, and it has a special prompt request. The prompt is done by a ?prompt command. It is fine with SSH, since the prompt I guess gets some input, but when I use SCP, the copy always fails. So, I was wondering if there is maybe a... (1 Reply)
Discussion started by: lastZenMaster
1 Replies

9. AIX

ssh keys - no password prompt from AIX to RPA

hello, i am running an AIX 5.3 machine and i want to connect via ssh to the RPA Management site without prompting for password. i already had a public key of this server as i use the same thing for ssh connection with other AIX machines. i connected to the RPA Management Site and i run the... (9 Replies)
Discussion started by: omonoiatis9
9 Replies

10. Emergency UNIX and Linux Support

AIX prompt delayed when users increase

I am facing a situation where when there are lesser users, i am able to login to the AIX server. If the number of users increase - the login prompt is getting delayed. Sometimes even timeout occurs. This is after the upgrade to AIX 7.1 TL 4. Can someone suggest a way to overcome this situation? (6 Replies)
Discussion started by: ggayathri
6 Replies
PTS_QUIT(1)						       AFS Command Reference						       PTS_QUIT(1)

NAME
pts_quit - Exit from pts interactive mode SYNOPSIS
pts quit [-cell] <cell name> [-noauth] [-localauth] [-force] pts q [-c] <cell name> [-n] [-l] [-f] DESCRIPTION
The pts quit command exits from pts interactive mode. The command can be run from the command line or interactively, but on the command line it does nothing and is therefore of questionable utility. CAUTIONS
Prior to OpenAFS 1.4.5 and OpenAFS 1.5.23, the pts quit command was only available on Unix or Linux and when OpenAFS was compiled with the supergroups option (disabled by default). As of OpenAFS 1.4.5 and 1.5.23, it is always available. OPTIONS
Although they have no effect, pts quit takes the following standard pts options: -cell <cell name> Names the cell in which to run the command. For more details, see pts(1). -force Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the first error. -help Prints the online help for this command. All other valid options are ignored. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or -noauth options. For more details, see pts(1). -noauth Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1). OUTPUT
This command produces no output. EXAMPLES
Here is an example of a pts interactive session: % pts interactive pts> quit % SEE ALSO
pts(1), pts_interactive(1) COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2014-04-08 PTS_QUIT(1)
All times are GMT -4. The time now is 04:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy