On Sat, May 14, 2005 at 08:55:10AM -0700, anuraag chowdhry wrote: > > U r right , i can use ssh , but what if i cannot use > ssh and i have to use telnet , is there no other > option? >
Your question is not clear. Do you want to selectively block some system users from non-local logins? Under BSD systems there is a file called /etc/login.access which can do this for you. Check 'man login.access' for details. The syntax is something like (access:users:origin), where access is + or - as shown: # # Disallow console logins to all but a few accounts. #-:ALL EXCEPT wheel user1 usern shutdown sync:console # # Disallow non-local logins to privileged accounts (group wheel). #-:wheel:ALL EXCEPT LOCAL .your.net # # Some accounts are not allowed to login from anywhere: #-:badguy satan cracknut xz6hqr1 crazy:ALL # # All other accounts are allowed to login from anywhere. # This will affect all types of logins inclusive of telnet and ssh. Not sure about Sys V systems. Never tried. Bish -- : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : Background images under X-Windows LOST #723 For displaying images on root window on starting X, (if you have ImageMagick package installed), you may add this line in your $HOME/.xinitrc. display -size 1024x768 -window root /path/to/bgfiles/fname.jpg ####[ usmbish (at) users.sourceforge.net ]#################### : ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
