Configure Putty for ksh


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Configure Putty for ksh
# 1  
Old 12-09-2010
Configure Putty for ksh

Hi,
We have a unix server which is being used by individual users, as well as our "group-id".
I want to configure my putty, such a way that, whenever I login to the server using "group-id", I want the default shell for this session to be KSH. (currently it is defaulted to CSH).
I cant edit the .login, .cshrc etc, since it will be used for integration purposes.
Can someone help me with this?

Last edited by grep_me; 12-09-2010 at 03:22 PM..
# 2  
Old 12-09-2010
look at usermod to change the default shell for the shared userid.
# 3  
Old 12-09-2010
Thanks dangral..!!
Can you please explain bit more abt this command.
I tried the man pages. But couldnt understand.
Maybe once I start using it, I will.
Throw some more light on this one Please...!!

and FYI...I am not a superuser here.
# 4  
Old 12-09-2010
on Solaris:
Code:
usermod -s /usr/bin/ksh username

But you need superuser access to perform that command.
# 5  
Old 02-11-2011
Thank You....

Last edited by grep_me; 02-11-2011 at 11:29 AM..
# 6  
Old 02-11-2011
To change your own shell use chsh, no need to be superuser. Log in as shared user and issue:
Code:
chsh /usr/bin/ksh

Basically chsh and usermod change the entry in /etc/passwd that defines your login-shell.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SCO

Sco 3.2 and PuTTY

Is there anyway to the function keys to work on PuTTY when remoting into a SCO 3.2 server? (8 Replies)
Discussion started by: steveo314
8 Replies

2. UNIX for Dummies Questions & Answers

Regarding PUTTY

Hello Forum members There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum. Advance Thanks Siva. (5 Replies)
Discussion started by: workforsiva
5 Replies

3. Solaris

getting to the ok prompt from putty

Hello, I am connected to my sunblade 1500 using putty. I am trying to do an installation from putty. Which command do I give to get to the ok prompt? Thanks for your help. (10 Replies)
Discussion started by: cjashu
10 Replies

4. Shell Programming and Scripting

KSH script to run other ksh scripts and output it to a file and/or email

Hi I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email. For example ------- Script ABC ------- a.ksh b.ksh c.ksh I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies

5. UNIX for Advanced & Expert Users

Help for PuTTy.

I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system. Is it possible? If yes, how can I do that? (2 Replies)
Discussion started by: agnivaccent
2 Replies

6. UNIX for Advanced & Expert Users

Putty session

Dear all, We have a practice of getting user's passwords expired after 60 days and a strong password policy. When a user tries to enter a password which is not compliant to the policy which is set putty exists without giving any feedback to the user. Below is something i captured from the... (3 Replies)
Discussion started by: earlysame55
3 Replies

7. UNIX for Dummies Questions & Answers

putty

i am connecting to a unix-application using putty (xp). sometime, it is as if the putty is sending a form-feed char, because i am getting a blank screen, and by back scrolling i see the previous screen with all the related data. if i am using the xp-telnet, i get the screen/data correctly. ... (7 Replies)
Discussion started by: mifa-system
7 Replies

8. Shell Programming and Scripting

Color putty

Right now I am using putty. I am using 2-3 terminals at a time. To differentiate each termianl I want to put each putty screen and background color to different colors. I tried changing the colors in normal putty but it's not working. Is there any other color putty ? Regards, Venkat (2 Replies)
Discussion started by: svenkatareddy
2 Replies

9. News, Links, Events and Announcements

PuTTY 0.59

On my opinion, one of the best ssh/telnet clients for windows, putty released a new version: Get it here, PuTTY 0.59 - PuTTY can now connect to local serial ports as well as making network connections. - Improved speed of SSH, particularly SSH-2 key exchange and public-key authentication -... (2 Replies)
Discussion started by: pressy
2 Replies
Login or Register to Ask a Question