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

          主站蜘蛛池模板: 手游| 肇庆市| 金寨县| 堆龙德庆县| 阜新市| 江达县| 太康县| 柏乡县| 武鸣县| 岑巩县| 西峡县| 永福县| 卓尼县| 凌海市| 塔河县| 肥城市| 虎林市| 绥芬河市| 莆田市| 博兴县| 同江市| 同仁县| 安康市| 甘洛县| 江陵县| 牙克石市| 屏东市| 望城县| 宁夏| 平阴县| 巴青县| 嘉兴市| 乌拉特中旗| 商南县| 辽阳市| 社旗县| 蕉岭县| 奉节县| 普洱| 宜兰县| 平陆县|