Re: [ilugd] telnet

2005-04-25 Thread Abhijit Menon-Sen
At 2005-04-25 10:07:57 +0530, [EMAIL PROTECTED] wrote: But neither stop a telnet owner to use ssh service nor stop a ssh group owner to use telnet service. Wouldn't it be simplest to just disable password authentication for your sshd, and put in authorized_keys only for those users who should

Re: [ilugd] telnet

2005-04-25 Thread Mithun Bhattacharya
--- S. K. Goel [EMAIL PROTECTED] wrote: Actually I want User X, Y and Z to be use telnet but not ssh. while user A, B and C can be use ssh but not telnet What exactly is the definition of a user on telnet versus a user on ssh - maybe that will clarify what needs to be done ? Mithun

Re: [ilugd] telnet

2005-04-25 Thread S. K. Goel
Actually, My normal users work on telnet. But some special users work on ssh, because there login have a lot of administrative rights. I have copy their ssh key (/root/.ssh/id_dsa.pub) and append in the file /root/.ssh/authorized_keys in the server. Now I want these special users to restrict the

Re: [ilugd] telnet

2005-04-25 Thread Subhasis Ray
So you can use the /etc/hosts.allow and /etc/hosts.deny files to restrict access for ssh based on IP Address -Subhasis On 4/26/05, S. K. Goel [EMAIL PROTECTED] wrote: Actually, My normal users work on telnet. But some special users work on ssh, because there login have a lot of

Re: [ilugd] telnet

2005-04-24 Thread S. K. Goel
Dear Sir, First of all, please accept my thanks for your kind advise, But It does not solve my purpose, It split the users in 2 parts, i.e ssh group owner and telnet group owner. But neither stop a telnet owner to use ssh service nor stop a ssh group owner to use telnet service. [S K Goel]

Re: [ilugd] telnet

2005-04-24 Thread Raj Mathur
skg == S K Goel [EMAIL PROTECTED] writes: skg Dear Sir, First of all, please accept my thanks for your kind skg advise, But It does not solve my purpose, It split the users skg in 2 parts, i.e ssh group owner and telnet group owner. But skg neither stop a telnet owner to use ssh

Re: [ilugd] telnet

2005-04-23 Thread Mithun Bhattacharya
One reason I could think of is if you wish to allow some users to tunnel connections through ssh and not allow the others - in such a case telnet and ssh would provide similar features. Mithun --- Amit Goel [EMAIL PROTECTED] wrote: S. K. Goel wrote: Hi List, I want to give telnet

Re: [ilugd] telnet

2005-04-23 Thread S. K. Goel
Actually I want User X, Y and Z to be use telnet but not ssh. while user A, B and C can be use ssh but not telnet [S K Goel] On Sat, 2005-04-23 at 02:41 -0700, Mithun Bhattacharya wrote: One reason I could think of is if you wish to allow some users to tunnel connections through ssh and not

Re: [ilugd] telnet

2005-04-23 Thread Ritesh Agrawal
Then PAM will help you, you can restrict user access by changing PAM modules and their sequence in /etc/pam.d/service file, #man pam Regards Ritesh S. K. Goel wrote: Actually I want User X, Y and Z to be use telnet but not ssh. while user A, B and C can be use ssh but not telnet

Re: [ilugd] telnet

2005-04-23 Thread Ritesh Agrawal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think following link may help you for user based restriction of SSH service through PAM modules. http://www.rhce2b.com/clublinux/RHCE-15.shtml No idea about user based restriction in telnet !!!, can it be possible ? ~ 1. In

Re: [ilugd] telnet

2005-04-23 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 skg == S K Goel [EMAIL PROTECTED] writes: skg Actually I want User X, Y and Z to be use telnet but not ssh. skg while user A, B and C can be use ssh but not telnet Something along the lines of: groupadd telnet groupadd ssh chgrp telnet

[ilugd] telnet

2005-04-21 Thread S. K. Goel
Hi List, I want to give telnet access to some specified users and ssh access to some other users, Is there is any file like telnet.allow / ssh.allow, So that I can defined the same user wise. Please advise [S K Goel] ___ ilugd mailinglist --

Re: [ilugd] telnet

2005-04-21 Thread Mayank Jain
Hi, On 4/21/05, S. K. Goel [EMAIL PROTECTED] wrote: Hi List, I want to give telnet access to some specified users and ssh access to some other users, Is there is any file like telnet.allow / ssh.allow, So that I can defined the same user wise.

Re: [ilugd] telnet

2005-04-21 Thread Amit Goel
S. K. Goel wrote: Hi List, I want to give telnet access to some specified users and ssh access to some other users, Is there is any file like telnet.allow / ssh.allow, So that I can defined the same user wise. TELNET ! Please use only ssh. And Yes you can do it in ssh. Look for

[ilugd] telnet Logout

2004-01-11 Thread Vikas Upadhyay
Hi all, i have written a small linux shell ( i think i can call my app a shell,it's a command line interface) now i want it to be the default shell for the users. For that I have changed /etc/passwd to contain /bin/myshell for the users. The problem is : Login via telnet is very much possible