DuncanMcLord
01-01-2002, 09:15 PM
hi there,
i have MindTerm installed on my server, so right now, every1 can use it and browse through the files on the whole server.
How can i generate such a "restricted-shell" (i think thats what i need, isnt it?), where user xyz cannot leave his /home/xyz/ folder?
any help welcome :)
so long,
Duncan McLord
priyadi
01-02-2002, 03:24 AM
Originally posted by DuncanMcLord
i have MindTerm installed on my server, so right now, every1 can use it and browse through the files on the whole server.
How can i generate such a "restricted-shell" (i think thats what i need, isnt it?), where user xyz cannot leave his /home/xyz/ folder?
Not possible (almost). Your users need binaries located in /usr, they need to be able to access libraries, and so on.
It is possible to do that if you put all your users need inside their home directory, but it would be a huge waste of disk space.
DuncanMcLord
01-02-2002, 04:08 AM
k,
ic... so what could i do?
i mean, i dont really want every user to be able to browse my server-files.
...is there (e.g.) s.th. that does the same as .htaccess, but in bash?
so long,
Duncan McLord
priyadi
01-02-2002, 06:12 AM
Well, the best you can (and should) do is to restrict access to your important files, so your users won't be able to see inside the important files' contents.
bobcares
01-02-2002, 12:39 PM
Hi!
If your box is a Freebsd box. You could work a bit on the login classes and achieve some success.
On linux too one would not be able to cat or read other peoples files. But may be able to see the top level directories i.e. the directories of /home/
But would not be able to cd anywhere else except his home.
With simple file and directory permissions you can have some areas which can be read by none other than you and root... :)
Have a great day :)
regards
amar