LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-14-2004, 03:50 AM   #1
ef_
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
problem with chroot


Hi,
I tried to use chroot.

I insert this command at the /etc/profile file because I want that every time a user will be log on to the system he will be restricted.
the problem is that this command is working only if I log on as a root, because I don't have permissions to use chroot from other user.
How can I solve this , is there way to write in the file something that will say " maniooulate this command as if u are a root or something" ?

and another quest', I notice that when in a root I manioulate the chroot, I can write exit and this is exit from the chroot.

I wantnot to enable the user to exit the restricted area, is there way in which when he write exit to finish the task / terminal.


many 10x.
 
Old 10-14-2004, 04:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
Old 10-14-2004, 04:12 AM   #3
ef_
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
yes, I know, I just make a mistake cause I saw there is a forum deals with security only after I send then post.

10x.
 
Old 10-14-2004, 05:51 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Hi ef_, welcome to LQ.org!

If you are talking about restricting users who log in remotely, then check out this site for a good chroot solution.

And, in the future, if you see that there's a more appropriate forum for your post, then click where it says 'Report this post to a moderator' and ask that they move your thread.

Enjoy!
--- Cerbere
 
Old 10-14-2004, 05:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
cerbere, please don't reply to double posts. it just gets very messy very quickly. the thread to reply to is here http://www.linuxquestions.org/questi...hreadid=242478

thanks
 
Old 10-14-2004, 05:59 AM   #6
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
DOH! I wish you'd posted that link earlier. I just posted in ef_'s other thread to tell him I had posted here.

Enjoy!
--- Cerbere
 
Old 10-14-2004, 06:46 AM   #7
ef_
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
yes, I 'm talking about telnet.

I'll try to check it.
 
  


Reply



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
chroot problem rjkfsm Linux - Software 1 07-19-2005 10:46 AM
chroot problem bruse Linux - Security 3 07-04-2005 06:57 AM
Chroot problem PhuckFonix Linux - Newbie 3 05-02-2005 09:15 PM
I have a problem with chroot. vintermann Linux - Software 2 01-31-2004 07:57 AM
Chroot problem lokiz Linux - Networking 2 06-14-2001 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:13 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
Open Source Consulting | Domain Registration