Sponsored Content
Operating Systems HP-UX How can i get My parent user name while i am on remotely logged on other server. Post 302425886 by nitindreamz on Monday 31st of May 2010 03:28:39 AM
Old 05-31-2010
How can i get My parent user name while i am on remotely logged on other server.

Hi
please suggest .. how can i get my original user from which logged in to another server.

my main current login is

Code:
[root@server1 nitin]$whoami
nitin
[root@server1 nitin]
[root@server1 nitin] ssh nit01@n01

i m going (redirected)to log in below path..
Code:
nit01@n01:/home/n01 -> pwd
/home/n01
nit01@n01:/home/n01 ->

on this server i want get my parent user name i.e. (nitin)


Please help me out.

Thanks in Advance
Nitin

Moderator's Comments:
Mod Comment Please use code tags, ty

Last edited by pludi; 05-31-2010 at 04:40 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Is user logged on??

How can i check to see if a user is logged on to the network? (1 Reply)
Discussion started by: provo
1 Replies

2. Shell Programming and Scripting

user logged on?

Hi, What commands do i need to check if a user is logged on to the network? thanks. (1 Reply)
Discussion started by: provo
1 Replies

3. UNIX and Linux Applications

user logged on any server

the method to find out the all the user who are the current user of the system? i tried with the who. but with that i receive the TTY like something. (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies

4. UNIX for Advanced & Expert Users

Send email as a different user than the user logged in

Hi I am using mailx to send email and am wondering if there is a way I can send the email from a different user than the user logged in. something like do-not-reply@xyz.com Thank you. (1 Reply)
Discussion started by: rakeshou
1 Replies

5. Red Hat

Isql doesn't work when logged in remotely.

Our database is housed on a Red Hat Enterprise Linux ES release 4 (Nahant Update 8). My version of isql is "unixODBC 2.2.11". Issue: If I log in to this box on the internal network, or over the VPN i can type: isql -Usa And it will prompt for the password and connect. Today I logged... (0 Replies)
Discussion started by: Bubnoff
0 Replies

6. Shell Programming and Scripting

Does running a cron job of a user require the user to be logged in?

Suppose user 'asdf' is not logged into server 'bbbb', but the server is up. User 'asdf' has cron job. Will it be executed? (1 Reply)
Discussion started by: thulasidharan2k
1 Replies

7. Red Hat

How to confirm an user logged in is a remote user?

How do I confirm if a user logged in, is remote or local? In the case if the user is remote, how to be sure what authentication/method is it using, like LDAP, NIS or other? (2 Replies)
Discussion started by: kirtikjr
2 Replies

8. Shell Programming and Scripting

current logged in user

Hey guys I need a script that reads a login name and verifies if that user is currently logged in i have found few commands like "who" and "users" but i wonder how can i verify it that login name is logged in or not? (3 Replies)
Discussion started by: nishrestha
3 Replies

9. Solaris

user not connecting remotely

hi , I have created a user using useradd command in solaris 10 , when i connect to user oracle remotely from xmanager it is not connecting any idea did we have assign some extra privileges to connect remotely from xmanager. Thanks in advance (5 Replies)
Discussion started by: zeeshan047
5 Replies

10. Shell Programming and Scripting

Last user logged in

hi! How can I find into: /var/log/messages.4 /var/log/messages.3 /var/log/messages.2 /var/log/messages.1 /var/log/messages The last user do a login? (for example user1) My idea is to search by the pattern "Accepted password for" buy I necessary search into all files first and in the... (2 Replies)
Discussion started by: guif
2 Replies
asadmin-delete-http-qos(1AS)					   User Commands				      asadmin-delete-http-qos(1AS)

NAME
delete-http-qos - removes the quality of service parameter SYNOPSIS
delete-http-qos --user admin_user[--password admin_password] [--host localhost][--port 4848][--passwordfile filename][--secure|-s] [--vir- tualserver virtual_server_ID]instance_name Removes the quality of service pamameter associated with the named server instance. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --secure if true, uses SSL/TLS to communicate with the administrative instance. --virtualserver virtual server ID. It can also be referred to as the variable $id in an obj.conf file. A virtual server ID cannot begin with a number. OPERANDS
instance_name name of the instance. Example 1: Using delete-http-qos asadmin> delete-http-qos --user admin --password adminadmin --host fuyako --port 7070 --virtualserver server1 server1 Deleted HTTP QOS with id = server1 Where: HTTP QOS is deleted for virtual server server1 and instance name server1. EXIT STATUS
0 command executed successfully 1 error in executing the command INTERFACE EQUIVALENT
Server instance, HTTP Server Virtual Servers, Instance QOS page for the server instance asadmin-create-http-qos(1AS) J2EE 1.4 SDK March 2004 asadmin-delete-http-qos(1AS)
All times are GMT -4. The time now is 10:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy