display pathname of the login shell


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting display pathname of the login shell
# 1  
Old 04-14-2008
display pathname of the login shell

can anyone tell me how to check/display pathname of the login shell used by a particular user?
# 2  
Old 04-14-2008
yeah i got the answerSmilieSmilieSmilieSmilieSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display IP adresss at login screen (Ubuntu 14.04)

Hi I tried to follow ifconfig - How can I display eth0's IP address at the login screen on Precise Server? - Ask Ubuntu and Show IP address of VM as console pre-login message for some reason the above links did not work as advertised. E.g no ip address was displayed. This is VM... (9 Replies)
Discussion started by: briandanielz
9 Replies

2. SuSE

Help in display unsuccessful login in SUSE Linux

hi i want to enable details of previous successful/ unsuccessful login on screen after successful login in SUSE linux ---------- Post updated 01-17-15 at 10:00 PM ---------- Previous update was 01-16-15 at 11:37 PM ---------- hi guys please reply (1 Reply)
Discussion started by: Idea
1 Replies

3. Red Hat

Cannot show graphical login display

Hi all, I'm running Red Hat Enterprise Linux Server 6.3 Santiago. I already installed the X Window package during installation and the graphical login display can be shown normally after installation. Yesterday, I accessed remotely by GUI mode using VNC viewer and somehow it got crashed.... (1 Reply)
Discussion started by: sergionicosta
1 Replies

4. Shell Programming and Scripting

Script as login shell (passing args to login shell)

Hello all, for security reasons my compagny imposes that my script be launch remotly via ssh under the users login shell. So serverA launches the ssh command to serverB which has a local user with my script as a login shell. Local script works like a charm on his own. serverB$ grep... (20 Replies)
Discussion started by: maverick72
20 Replies

5. Shell Programming and Scripting

how to take absolute pathname to a directory in korn shell

how to take absolute pathname to a directory in korn shell (2 Replies)
Discussion started by: babuda0059
2 Replies

6. UNIX for Dummies Questions & Answers

Display banner before login.

How would i force All connection oriented network services to display a legal warning in terms of banner before any fuctional operation by user? ---------- Post updated at 12:54 AM ---------- Previous update was at 12:33 AM ---------- I would like to do this for ssh service first. (2 Replies)
Discussion started by: pinga123
2 Replies

7. Shell Programming and Scripting

Display login failures

How to display failled login in a file. i.e when there occurs a login failure,the login failed date and time should be printed in that file.. (0 Replies)
Discussion started by: aravind007
0 Replies

8. Linux

How to Start a Shell as Login shell instead of ordinary shell

Hi I tried with bash --login option. but the output is siva:~$ bash --login siva:~$ is there any way to make the shell ask for user id and password ( and login as different user instead of using sudo / su ) Thx in advance Siva (3 Replies)
Discussion started by: Sivaswami
3 Replies

9. HP-UX

cannot login after changing login shell

Hello Everyone, I am a newbie in unix. I was practicing shell scripts on hp unix machine. I changed my current login shell (Korn) to Bourne shell giving the following command. $ chsh username /usr/bash I am using secure shell client for accessing the hp ux server. After which i... (4 Replies)
Discussion started by: hardesh
4 Replies

10. UNIX for Dummies Questions & Answers

Script to display last login date/time?

I was wondering if anyone had a script that would display the last time a user logged into a particular machine. I know about the "last" command, but it gives too much info.... I just wanted to know the last time a user used his/her id. ANy help would be greatly appreciated. Ryan (3 Replies)
Discussion started by: ryaneverett5
3 Replies
Login or Register to Ask a Question