KSH Login issues


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users KSH Login issues
# 1  
Old 11-13-2008
Data KSH Login issues

Hi

In my environment User have csh have default shell. In some cases some users requires KSH. We are using NIS as well as some local users. here my problem is recently in some of sun servers if users who have ksh as a default shell are trying to login with putty the session terminated after giving the password. if you login with any other user which not ksh as default shell and try to su to ksh users they can login. Please help in this.
# 2  
Old 11-13-2008
Is ksh definitely in the location specified in those users /etc/passwd entry? Is it executable? Is it listed in /etc/shells?
# 3  
Old 11-14-2008
yes, that is there in /etc/passwd and mentioned in /etc/shells file.
# 4  
Old 11-14-2008
Has their password expired? I found putty bails without prompts if the password needs to be changed.

Any errors in the logs? Server or Windows? The Windows event log sometimes will help with what the problem is as well.

Considered using cygwin instead of putty (don't know how savy the folks are at your place).

Carl
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Issues with ksh

We are using ksh on Linux (Thats what architect told me). 1) When I am using up and down arrow key, I can not navigate to previous and next commands. How can I navigate commands in ksh ? Someone told me that I need to have bash shell installed ? Can I have bash shell installed on ksh ? OR can I... (3 Replies)
Discussion started by: paramshamnani
3 Replies

2. Solaris

Login issues

Hello, I'm having trouble logging into some of my servers. I can log into all my servers if I'm using my ssh agent, but if I use my password, the login fails on some servers. If I become root and then become anther user and then try to su - to anther user using a password it fails. When... (5 Replies)
Discussion started by: bitlord
5 Replies

3. Shell Programming and Scripting

Issues for script that login to a unix box

Hi, I have a script that should login to a different box then the box that i am in and run the commands. I have the script sample below that logins to a unix box and get the files .Looks like ls-lrt command is not running or its wrongly used. #!/bin/bash # Ask the user for build month... (5 Replies)
Discussion started by: learninguser235
5 Replies

4. HP-UX

HPUX KSH for loop issues.

Wrote a KSH script on a RHEL server and moved it over to the HPUX server and it is not liking a loop that I put together. Here is the simple form of it that does not work in KSH: for x in {0..$VARIABLE_NAME} do echo $x done This works: for x in {0..10} do echo $x ... (3 Replies)
Discussion started by: jake0391
3 Replies

5. Red Hat

issues with ssh login

I have a Rhel 3 machine. I can login to it through telnet. The config files /etc/ssh/sshd_config and /etc/ssh/ssh_config has not been modified. But the IP address of the system was changed. Could this be issue? It was earlier configured for passwordless login(dsa). I tried moving the... (4 Replies)
Discussion started by: kirtikjr
4 Replies

6. Shell Programming and Scripting

KSH script -text file processing NULL issues

I'm trying to strip any garbage that may be at the end of my text file and that part is working. The problem only seems to be with the really long lines in the file. When the head command is executed I am directing the output to a new file. The new file always get a null in the 4096 position but... (2 Replies)
Discussion started by: geauxsaints
2 Replies

7. Shell Programming and Scripting

ksh script as a login shell return "no controlling terminal"

I have created a ksh shell script and used it as a login shell for a user. </etc/passwd> lramirev:x:111:200:Luis:/export/home/menush:/usr/local/menush/menush My shell script is like this: </usr/local/menush/menush> #!/bin/ksh # if ] then . $HOME/.profile fi ... (8 Replies)
Discussion started by: lramirev
8 Replies

8. UNIX for Advanced & Expert Users

Use of sudoer with ssh login shell script (KSH)

Greetings all, I'm in the midst of writing a login component for a series of shell scripts. What my login script does is this: 1. Prompt for username and read in username 2. Prompt for destination host and read in destination host 3. run ssh username and destination host 4. After user keys... (0 Replies)
Discussion started by: rockysfr
0 Replies

9. Linux

Redhat 9 modem login issues

Hi guys , I have redhat 9 and i have no idea what i'm doing. This is my first time taking a break from windows and exploring this new OS. I'm trying to install an External Usrobotic 56K Model Number 5686, after rebooting it was detected. How can i configure the server so i can call (modem... (1 Reply)
Discussion started by: josramon
1 Replies
Login or Register to Ask a Question