Direct/scsu access to unix account


 
Thread Tools Search this Thread
Operating Systems Solaris Direct/scsu access to unix account
# 1  
Old 05-21-2010
Direct/scsu access to unix account

Hey

Is there any way to differentiate if a user is logged directly into a UNIX functional account or if they have scsu'ed into the functional account?

Cheers
Paul
# 2  
Old 05-21-2010
From the su'ed account you could issue a
Code:
who am i

which will show the original account by which the user logged in 1st into the system.
If available you can also use
Code:
logname

Edit: I just notice I am in the Solaris forum - I hope it helps though.

Last edited by zaxxon; 05-21-2010 at 09:38 AM..
# 3  
Old 05-21-2010
Excellet. Thats exactly what I need.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Restrict service account from direct interactive sessions

Environment: CentOS 7 I would like to have a solution where a service account can access a server in only these ways: ssh non-interactively via password or ssh key; that is, run commands or scripts (but running anything in /etc/shells will not be allowed) not ssh interactively regular... (2 Replies)
Discussion started by: bgstack15
2 Replies

2. AIX

Procedure to restrict direct access as root

Hello, I would like to confirm whether the below procedure is correct. disabled direct super user access on AIX server using below procedure. Please let me know if there is any additional step. 1) confirm the access to HMC, console to reach the LPARs 2) chuser rlogin=false root ... (3 Replies)
Discussion started by: dio34
3 Replies

3. Forum Support Area for Unregistered Users & Account Problems

Cannot access my account

Whenever i try to log in i can enter my username (bakunin) and password but am redirected to an error screen showing an SQL error: Database error in vBulletin 3.8.4: Invalid SQL: UPDATE user SET country_iso2=DE WHERE userid=41441; MySQL Error : Unknown column 'DE' in 'field list' Error... (1 Reply)
Discussion started by: aka-bakunin
1 Replies

4. Shell Programming and Scripting

Manipulating sed Direct Input to Direct Output

Hi guys, been scratching round the forums and my mountain of resources. Maybe I havn't read deep enough My question is not how sed edits a stream and outputs it to a file, rather something like this below: I have a .txt with some text in it :rolleyes: abc:123:xyz 123:abc:987... (7 Replies)
Discussion started by: the0nion
7 Replies

5. AIX

Disabling SSH direct access for an AIX user

Hello everyone, Can anyone help me please. I want to disable SSH direct access for an AIX user. For example, if I have USER1 and USER2. I want to disactivate direct access for USER2. The user must enter his login (USER1) and his password and then he can do su - USER2 . Thanks, (3 Replies)
Discussion started by: adilyos
3 Replies

6. Solaris

Restricting access to functional database account through unix

Hi, At present there is a functional database account which can be accessed when logging in through a unix server. At present it can be accessed through from any UNIX account on this server. Is there any way of restricting it so it can only be accessed through a functional unix account but only... (2 Replies)
Discussion started by: runnerpaul
2 Replies

7. Shell Programming and Scripting

how i can make one ip access to ftp account and deny others

HI I want to make only one IP can access to ftp acount in cpanel or by shell can any body help me ? (1 Reply)
Discussion started by: elkadrey
1 Replies

8. UNIX for Dummies Questions & Answers

Change other account password from root access

Hi, I have forgotten my personal account password but I still have the root access to the box. Please tell me how can I change my other account password by logging as root. Thanks. Rakesh :D (4 Replies)
Discussion started by: rakeshou
4 Replies

9. Programming

Direct disk access

Is there any way to write to disk sector by sector, without any files, filesystems etc. I did that in DOS, but that was DOS. (3 Replies)
Discussion started by: Lopatonosec
3 Replies

10. UNIX for Dummies Questions & Answers

Account access

I have a lot of users that I think are no longer using their acocunts. What I want to do is see when they lasted logged in. I have tried LAST and FINGER but they do not seem to have the information I need. All help much appreciated. (2 Replies)
Discussion started by: yearntolearn
2 Replies
Login or Register to Ask a Question