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

          主站蜘蛛池模板: 河东区| 虹口区| 宜章县| 平武县| 丹东市| 依兰县| 怀仁县| 弥勒县| 雅江县| 瑞金市| 山东| 河池市| 卓资县| 雅江县| 凤山市| 扎鲁特旗| 潢川县| 隆昌县| 昌平区| 大安市| 于都县| 永丰县| 云南省| 乌苏市| 武安市| 武邑县| 望江县| 唐河县| 类乌齐县| 拜城县| 育儿| 乐都县| 白玉县| 衡阳县| 沙洋县| 长治市| 开阳县| 静安区| 八宿县| 安福县| 石屏县|