Forum Discussion
Distance_Vector
Nimbostratus
Mar 05, 2012permission denied when trying to save config as radius authenticated user in tmsh
Hello,
I'm authenticated as a radius user (Role Administrator):
[iz@ibd-lb211c:/S1-green-P:Active] ~ $ id
uid=499(f5_remoteuser) gid=499(f5_remoteuser) groups=499(f5_rem...
Distance_Vector
Nimbostratus
Mar 05, 2012btw here is the workaround I'm currently using:
proc script::run {} {
puts -nonewline "password: "
flush stdout
catch { exec /bin/su -c "tmsh save /sys config" } output
puts ""
set output [string map { "Password:" "" } $output]
puts $output
return 0
}
So I can as a radius user run that script which calls su which calls tmsh (as root) and does the save. This works but is insufficient. I'd need a solution without being asked for the root password.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects