Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Restrict Unix User to a Single Directory
Name: Ramesh Date: July 30, 2002 at 01:51:41 Pacific
Comment:
Hi ,
I want a unix(Unix Ware 7.1.1)user not to roam around in any of the directories other than his home directory . for which i did the following things
Created an user for him with the home directory , i took the ownesrship of the file as root and made it with read permissions and removed the path all the executables from his directory and copied the needed excuteble in his directory , but still with cd command which is build in shell he is able to come out of the directory which is the main thing i dont want to happen ? Any help ?
Name: PaulS Date: July 30, 2002 at 06:54:56 Pacific
Reply:
You may want to consider providing a restricted shell for the user. Or see if the shell your giving this user supports the -r option (ksh has a -r option). That would prevent a 'cd' command.
0
Response Number 2
Name: ramesh Date: July 30, 2002 at 07:46:27 Pacific
Summary: Unix runs a lot of services by default(A side effect of a net aware OS) telnet is run by the super daeman called inetd which will launch other Unix daemans not run independently and under the configur...
Summary: I can easily map a win98 drive to a folder on our sco unix openserver 5.05 box but I want to go in the other direction. I want my unix app to output data to a folder/file which resides on a win98 mach...