Solved

questions of solaris8 /AIX 4.3

Posted on 2002-06-21
7
203 Views
Last Modified: 2010-04-21
on solaris 8 and AIX 4.3, I donot want to close Telnet service, but only want to let some persons login. How can i do?

I know that I can use SMIT USER to limit a user,but I donot want to use SMIT tools!!

I donot want to limit telnet with IP address, but with username!! Like /etc/ftpusers.
0
Comment
Question by:hotbox
7 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 7100016
On Solaris you can change /etc/profile & /etc/.login to only allow specific users to login. Since those shell init scripts are executed first by all shells, it's a good place to invoke per-user limits. I don't have a copy at hand of the profile and .login that I use for that purpose but I'll try to remmeber to post a comment with them in it Monday. I'd imagine that a similar approach should work for AIX.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7100018
Your can edit /etc/hosts.allow file (create one if you don't have it on your system)

Add the following to the file:

telnet: 192.168.1.3,192.157.1.5, 192.147.1.*

Note:this will allow the machine (192.168.1.3,192.157.1.5)
     and the machine in the subnet 192.147.1 to telnet to
     your system.

     since telnet is not secure, you should installed ssh
to your system.

     secure sheel is available from:
     http://www.sunfreeware.com/
     for Solaris, or
     http://www.openssh.org
     for other systems
0
 

Author Comment

by:hotbox
ID: 7100594
I donot want to limit telnet with IP address, but with username!!
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 38

Accepted Solution

by:
yuzh earned 100 total points
ID: 7101670

   Intstall TCP/IP daemon wrapper package, and configure the wrappers to always perform client username
lookups.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7102094
change the shell in /etc/passwd to /bin/false for those users which should not login
0
 
LVL 20

Expert Comment

by:tfewster
ID: 7921442
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by yuzh

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7967140
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now