LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-27-2010, 08:48 AM   #1
sachin gupta
LQ Newbie
 
Registered: Jun 2010
Location: DELHI
Distribution: Open source
Posts: 9

Rep: Reputation: 0
telnet user


hi,
i am a rehdat linux5 user,i have a problem in telnet user.i want to do
telnet user when he logged in he can use own home directory but not do work in other directory and even /home.he can work only in own directory
/home/username .
reply as soon as possible.
 
Old 06-27-2010, 09:23 AM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Just to make sure I understand your problem properly:
You have a machine running Redhat linux 5 and you want users logging in via telnet only to be capable to be in his own home directory.

This is a quite tricky issue, since he must be able to access directories like /bin or /usr/bin to be able to work. So chroot will not be an option. If you just want the user to be able to list the contents of /home, just unset the group/world readable bit of the directory /home. In this case the user will be able to access subdirectories (unless access is restricted), especially his own, but he cannot list the contents of /home.

Can you give more details why you want to impose this restriction on the user??

Quote:
reply as soon as possible.
Please note that all members of this forum help others in their spare time and are not paid for giving this service. So please be kind and do not write such demanding sentences.
 
Old 06-27-2010, 09:24 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

'Permissions'

The user will or can be set to have limited permissions therefore restricting that same user to a controlled environment. You have given no information that will allow us to aid you. So I suggest that you look at 'How to Ask Questions the Smart Way' which would be one link you should look at to help us to help you in the future.

Just a few more links to aid you in learning elementary usage;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Linux Home Networking


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 06-27-2010, 03:48 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Original poster's response:
Quote:
ok,actully i want to do user cannot work in /home through cd ..
user work only in /home/username .he can do anywork in home
but not to move any other directory.thanks for ur reply
 
Old 06-27-2010, 06:41 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...8/#post4016124
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot telnet as 'root' user shipon_97 Linux - Software 4 11-20-2007 09:34 PM
How do I Telnet as the root user junaid_fayyaz Linux - Security 3 03-05-2006 12:59 AM
Telnet root user dvong3 Linux - General 9 02-07-2004 01:51 PM
Telnet User DaCxKasD Linux - Networking 2 09-11-2002 02:55 AM
Telnet User DaCxKasD Linux - Newbie 1 09-10-2002 08:43 PM


All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration