Inetmenu for a local user
Wednesday Dec 20, 2006
inetmenu is a great tool for managing different network configuration setups. The tool manages all config file updates very well when you are moving your network configuration between office/home/wifi setups.
I knew that inetmenu does a lot of previleged updates and it was possible only by root user. I also knew that, there must be a way to get this running for any local/network user, but was too lazy to find out how and adding this to my limited knowledge of solaris system administration, it took me a long time to actually get this working. Thanks to Kini.
/etc/security/prof_attr defines all the execution Profiles on the system. When inetmenu is installed, another profile is added to this file, Ginetmenu. For any other user than root should you need to give an access to change the network configuration, just add following line to /etc/user_attr
mylocaluser::::profiles=Ginetmenu[:otherProfiles]
So, root can allow other users to run some applications defined in /etc/security/prof_attr
Gotcha!!











Posted by Kini on January 17, 2007 at 09:47 PM IST #