LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 11-06-2008, 12:14 AM   #1
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Rep: Reputation: 30
read & modify files out side chroot jail


Hello, I set up chroot jail on AIX system, the jailed user need to read and modify some files on the real system, for example lets say he need to edit /etc/hosts.

I was thinking of useing symbolic link "ln -s", but it doesnt work.

any Idea?
 
Old 11-06-2008, 01:55 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Wanting to modify system-owned files outside a jail doesn't match with the purpose of a jail (isolate processes). Why would you want to offer something like that anyway?
 
Old 11-06-2008, 05:24 AM   #3
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Original Poster
Rep: Reputation: 30
i want to create for example DB admin, but i dont wont him to have access to the system files, instead of changing permissions, it will be much easy and jail the user and just provide him with the application he suppose to manage.

I had been advised to use mount_nullfs and hard link "ln", so i will give it a shot.

Thanks
 
  


Reply


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
Chroot jail pachanga Linux - General 12 09-26-2008 05:15 AM
sftp chroot jail, not able to find lib files drolic Linux - Security 3 11-23-2005 11:57 AM
Jail and chroot rogk Linux - Security 2 10-16-2005 02:20 AM
vsftpd, combining chroot jail & links? Whz Linux - Software 0 07-25-2003 04:31 PM
chroot jail simon Linux - Security 3 08-05-2001 08:21 PM


All times are GMT -5. The time now is 09:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration