Assalam-o-alaikum,
I am writing a script that will be used within Webmin by different Users of webmin.
I would like to know is there any way to know the user-id of the logged in user or to know the user-id of the person who executed the script.
Many users can run the script at the same time.
My script performs some special tasks allocated only to that user.
Looking forward for a quick and positive response.
Webmin Bash Variables
Webmin Bash Variables
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Re: Webmin Bash Variables
use $REMOTE_USER variablemudasir wrote:Assalam-o-alaikum,
I am writing a script that will be used within Webmin by different Users of webmin.
I would like to know is there any way to know the user-id of the logged in user or to know the user-id of the person who executed the script.
Many users can run the script at the same time.
My script performs some special tasks allocated only to that user.
Looking forward for a quick and positive response.
Thanks allot kashif bhai.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com