posts - 72, comments - 66, trackbacks - 0, articles - 0
          1.Switch to root
          #su root(and input your password)
          2.edit the sudoers file
          root#sudovi -f /etc/sudoers

          add the below line after the last line in sudoers file:
          liqingfeng ALL = (root) NOPASSWD: /usr/bin/vim

          (replace liqingfeng with your user name and replace /usr/bin/vim with your command).



          save your change.

          3.add sudo in Application Launcher

          add 'sudo' in front of the command via editing the 'command' attribute of Application Launcher.



          So far so good,you can run the application as sudo via clicking the Application Launcher.

          More userful infomation:https://help.ubuntu.com/community/Sudoers

          主站蜘蛛池模板: 奉化市| 东兰县| 六安市| 专栏| 会泽县| 平邑县| 拜城县| 车险| 泰来县| 日照市| 兰州市| 张家川| 灯塔市| 新安县| 治县。| 十堰市| 老河口市| 蓝山县| 南康市| 开封市| 武冈市| 松原市| 乌拉特后旗| 和静县| 庆云县| 定西市| 施秉县| 台安县| 日土县| 集贤县| 乌恰县| 黎川县| 丹巴县| 顺昌县| 延长县| 卓资县| 锡林郭勒盟| 阆中市| 富平县| 若羌县| 河津市|