From: Jamie C. <jca...@we...> - 2004-05-17 23:01:10
|
Unfortunately, there is no automatic way to do this. Instead, your .cgi scripts would need to set the appropriate $ENV variables manually. A few critical ones like HOME and USER do get set when &switch_to_remote_user() is called though.. - Jamie On Tue, 2004-05-18 at 03:44, micah nerren wrote: > Hi, > > I am having a problem with a usermin module I am writing. The user > environment is not set properly. I need the usermin user to have the > same environment the user would have had they logged into the machine. > If I run the shell command "env" via usermin I do not see the same > environment I would see if I had logged in. How do I make usermin read > the /etc/bashrc and the users ~/.bashrc files? > > Thanks! > > Micah > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |