You can use Apache - Suexec to drop prvileges I don't know if Tomcat also has this feature too
On 8/16/07, Anand Vaidya <[EMAIL PROTECTED]> wrote: > > I am looking for some ideas on what is the best way to provide a web > interface > to end-users UNIX home-dirs. Details below: > > - Few thousand users, access linux machines via shell and manipulate files > the > usual way (cp, rm, mkdir etc) > > - Need to provide a web-interface to perform similar functions. > > - Tomcat will runs as www-data:www-data user (low privileges) > > Unfortunately, user files are owned by user:user and tomcat runs as > www-data:www-data so , tomcat/apache cannot read/write user dirs. > > I am thinking of writing a C app running as root that will listen on a > localhost socket for "commands" from the web UI and just execute it (after > necessary checks, dropping down privileges etc) > > Are there any ways to manipulate autofs etc? > > Are there any better ideas? > > Regards > Anand > > _______________________________________________ > Slugnet mailing list > [email protected] > http://www.lugs.org.sg/mailman/listinfo/slugnet > -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/
_______________________________________________ Slugnet mailing list [email protected] http://www.lugs.org.sg/mailman/listinfo/slugnet
