changing the uid from perl without being root
I'm writing an install script and want to be able to install files and
directories where some files are owned by one user and other files are
owned by another, but I don't have access to root.
Ideally, the script would prompt the user for the passwords for all
the uids needed to install the files at the beginning, and then
automatically log in as these uids to install the files as needed.
I was thinking of using "su" and named pipes to spawn multiple
processes at the beginning, and then tell them what to do when I
started the install, but I was wondering if there was an easier way.
|All times are GMT. The time now is 10:48 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.