Originally Posted by sachin gupta
i want to change home directory of telnet users.please give reply as soon as possible.
We volunteer our time here to answer questions. Do NOT
come here and tell us to hurry up.
Want to change the home directory? Then you have to change the login home directory, with the "passwd -d <path/to/new/home/directory>" command. When you log in, you automatically go to your HOME directory.
You *CAN* modify the default, system-wide profile, to see if someone is logging in via network, then point them elsewhere, but that's a tricky thing to do. Also, telnet is VERY unsafe, and not used much anymore, for good reason. If you use SSH, you have chroot options available to you.