Solved

denying telnet to a particular user

Posted on 2004-03-30
2
350 Views
Last Modified: 2013-12-27
ok i need to stop a user from telneting a system on which it has a valid account and just allow him ftp and no other servives should be effected. The system is ultra 60 with solaris 7 installed. I cannot use the option of making the user shell as /bin/false because it stops both telnet and ftp and if i create an /etc/shells file then i have to put in all the valid shells which somehow my customer does not want to do!!


regards
Naufal
0
Comment
Question by:naufal
2 Comments
 
LVL 18

Accepted Solution

by:
liddler earned 125 total points
ID: 10713868
Naufal,
/bin/false & /etc/shells is the best way to do it.
Another possiblilty is to use setfacl to remove the execute and / or read bit for that specific user to their shell or another executealbe telnet needs but ftp doesn't.

so if user_1 uses the ksh
setfacl -m user:user_1:r-- /usr/bin/ksh

0
 

Author Comment

by:naufal
ID: 10721664
yeah man that works thanks a lot

regards
Naufal
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

707 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

13 Experts available now in Live!

Get 1:1 Help Now