Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Keeping things safe
{XN}Boylett
post Dec 14 2008, 05:34 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 18
Joined: 27-August 06
Member No.: 7,075



Hi

I'm wondering, is there a way to run programs as 1 user, but not allow them to change directory and view directories higher than themselves?

So, for example:

I start a program in /home/blah
That program can access any files and folders in the /home/blah directory, however, it can't go up a directory.

Thanks.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
{XN}Boylett
post Dec 14 2008, 10:50 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 18
Joined: 27-August 06
Member No.: 7,075



Hi

Thanks for reply.

I tried using chroot, but it keeps telling me "No such file or directory"

chroot /home/user ./start.sh

and start.sh contains:
#!/bin/sh
nohup ./server &
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 11:12 AM