Forum Discussion
Altera_Forum
Honored Contributor
16 years ago<div class='quotetop'>QUOTE (hippo @ Sep 6 2009, 07:17 PM) <{post_snapback}> (index.php?act=findpost&pid=23766)</div>
--- Quote Start --- I am not very sure on this. But pty is an old method, it is static and you need to create every node. While pts is dynamic, the devpts fs creates them on the fly in /dev/pts directory. Please search to find the difference between them. I guess it should be possible to limit the number of telnet session, but I don't know how myself. The better way is to look at the source. The login shell/program is usually defined in /etc/passwd. Please check the login utils source in busybox. - Hippo[/b] --- Quote End --- Thanks a lot for the answer.I got the telnet login working.I will search through the code for the reason of telnet session. My last question is about SSH,like the telnet I mentioned here,I want the user to log in via SSH and the custom shell should be started on successfull login.I created the new user accound and set his shell to my custom shell.But SSH does not allow the user to login.If I set the user to default shell ,SSH allows the user to login but it does not allow to custom shell login.I got the custom shell working on telnet. Can you please give some suggestion? regards, rocker