How get secondary ID. ??


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How get secondary ID. ??
# 1  
Old 02-14-2009
How get secondary ID. ??

This is one our office BOX [ Solaris10 ]

Code:
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
Kisses% rlogin pebblz01 -l adminID
Password: 
Last login: Sat Feb 14 01:11:36 from Kisses
Please enter your own login id and password.
Your login: I_rule   
Your password:xxxxx

From the above spinet .. "Your login:" is my personale ID "adminID" general ID , which is has admin privileges.

Now , How can I echo my personal ID.... ??
# 2  
Old 02-17-2009
Where is this second username/login coming from? What application is being used to ask and process it? What do you mean by "echo my personal ID"?
# 3  
Old 02-17-2009
Its is sun solaris box. and I guess its the one used to authenticate my crendentials..

correct me if I'm wrong. Also tell how can I find that info.
# 4  
Old 02-17-2009
Somewhere during your login sequence on pebblz01, something is prompting you for "Your login" and "Your passord". This could be from several things, depending on how the admin set things up.

Try (assuming a GNU like id(1) command on solaris):
Code:
id -un

Try (only works with sh-like shells):
Code:
echo $LOGNAME

You could also try looking in /etc/profile, /etc/bashrc, $HOME/.profile $HOME/.bashrc for clues:
Code:
grep "Your login" /etc/profile /etc/*rc $HOME/.profile $HOME/.*rc

You could also run "ps" in various forms and try to figure out what is running.

You really need to ask the administrator for the box to explain what is happening, and then we'll get a better idea of what "your personale ID" is.
--
Quentin
--
Quentin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Secondary Authentication of UNIX .

Hi All, My Servers are enabled with a secondary authentication of login. Whenever we are logging in to the servers with a common id it is asking like something " Enet your personal id and password" which has been created by UNIX admins previously. Just curious how to achieve this... (1 Reply)
Discussion started by: Showdown
1 Replies

2. Solaris

DNS Primary and Secondary

hi there, i using salaris 10 as my DNS server. i have 2 dns server primary and secondary. if primary dns server i edit/update, the other secondary dns server must be sync too. How can i configure if dns server (primary) can sync the secondary? (1 Reply)
Discussion started by: tappetmus
1 Replies

3. Red Hat

How to find Secondary Group only?

Hi, I would like to know how to find our secondary group of user only. I have used the command id -Gn user1 it is showing both groups of user. Primary and secondary group. (2 Replies)
Discussion started by: manoj.solaris
2 Replies

4. HP-UX

Secondary Login

Hi In Linux I set Secondary Logging in the way below. 1. We perform this by adding below lines into /root/.bashrcfile : # secondary logging beginexport HISTSIZE=600000export HISTFILESIZE=600000export HISTTIMEFORMAT="%F %T %z "export HISTFILE=/root/.bashhist/root_history-$(who am i | awk... (4 Replies)
Discussion started by: presul
4 Replies

5. UNIX for Dummies Questions & Answers

Secondary DNS not working

hi guys I am doing some testing for DNS I got a master DNS(192.168.2.10) and I setup a slave DNS(192.168.2.11) but when I shutdown the Master DNS my linux client cannot resolve using the slave any idea way? This is the named.conf options { query-source port 53; directory... (9 Replies)
Discussion started by: kopper
9 Replies

6. UNIX for Dummies Questions & Answers

secondary sorting

how would i sort a file on the fourth field as the primary sort and the third field as a secondary sort? (1 Reply)
Discussion started by: trob
1 Replies

7. IP Networking

secondary and private IP connection

hosta(eth0)----|switch|---(eth0)hostb say hosta and hostb both connect to a swtich using eth0 with public IP addresses, and I add secondary and private IP on hosta and hostb's same eth0 interfaces. So in order for them to reach each other, do I need to config the switch? (3 Replies)
Discussion started by: fedora
3 Replies

8. Solaris

new secondary disk

I just added a new disk i suppose the disk is not supported by sun solaris pls can someone advice on what i can do. pls see below: # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1d0 <DEFAULT cyl 15934 alt 2 hd 255 sec 126> ... (6 Replies)
Discussion started by: seyiisq
6 Replies

9. IP Networking

secondary TCP application

:cool: I want to use 2 tcp applications in SCO 5.05 senerio I am using VisionFS 3.1 and I need to set it up as a secondary tcp app. I follow the profeditoir and change the tcp port from the primary port (139) to any other number below port 1024 and then restart the VisionFS server it is still... (2 Replies)
Discussion started by: lanman
2 Replies

10. UNIX for Dummies Questions & Answers

Secondary DNS question

I have the primary set up, but cannot get the secondary box to answer a query. Here is the message I get: > nslookup dfwnet1 10.26.38.41 *** Can't find server name for address 10.26.38.41: Non-existent host/domain *** Default servers are not available 10.26.38.41 is the IP of the secondary... (3 Replies)
Discussion started by: 98_1LE
3 Replies
Login or Register to Ask a Question