在系统-->首选项-->会话里设置gksudo "/usr/bin/firestarter --start-hidden"没有反应。
还有,怎么能够让firestarter启动的时候不要输入sudo密码?
如何让firestarter自动启动?
-
- 帖子: 18
- 注册时间: 2005-08-24 12:16
- gnix_oag
- 帖子: 1994
- 注册时间: 2005-05-19 18:38
- 来自: 湖南永州
- 联系:
- Arete
- 帖子: 74
- 注册时间: 2005-10-05 11:15
- 来自: http://bulaoge.com/?arete
- 联系:
来自firestart主页的方法:
Giving the user permission to launch Firestarter without the root password
In order for a regular user to be able to launch Firestarter, the user must be given additional privileges. Edit your /etc/sudoers file in your favorite text editor and add the following line at the end:
username ALL= NOPASSWD: /usr/bin/firestarter
Note: Debian users should replace /usr/bin/firestarter with /usr/sbin/firestarter in the above line.
Simply replace username with whatever your login is. The specified user is now able to launch Firestarter without being prompted for a password using the command sudo firestarter.
Giving the user permission to launch Firestarter without the root password
In order for a regular user to be able to launch Firestarter, the user must be given additional privileges. Edit your /etc/sudoers file in your favorite text editor and add the following line at the end:
username ALL= NOPASSWD: /usr/bin/firestarter
Note: Debian users should replace /usr/bin/firestarter with /usr/sbin/firestarter in the above line.
Simply replace username with whatever your login is. The specified user is now able to launch Firestarter without being prompted for a password using the command sudo firestarter.
-
- 帖子: 40
- 注册时间: 2005-09-05 14:45
-
- 帖子: 315
- 注册时间: 2005-05-11 20:14
- 来自: 西安理工大学
-
- 帖子: 26
- 注册时间: 2009-02-24 0:50
Re:
官方网站有错误:
9。04版本以后:
sudoer文件加入的是:
username ALL= NOPASSWD: /usr/sbin/firestarter
而不是:
username ALL= NOPASSWD: /usr/bin/firestarter
文件路径需要注意,我今天才发现,按照官方网站的改了老是无法自动启动防火墙。
9。04版本以后:
sudoer文件加入的是:
username ALL= NOPASSWD: /usr/sbin/firestarter
而不是:
username ALL= NOPASSWD: /usr/bin/firestarter
文件路径需要注意,我今天才发现,按照官方网站的改了老是无法自动启动防火墙。
Arete 写了:来自firestart主页的方法:
Giving the user permission to launch Firestarter without the root password
In order for a regular user to be able to launch Firestarter, the user must be given additional privileges. Edit your /etc/sudoers file in your favorite text editor and add the following line at the end:
username ALL= NOPASSWD: /usr/bin/firestarter
Note: Debian users should replace /usr/bin/firestarter with /usr/sbin/firestarter in the above line.
Simply replace username with whatever your login is. The specified user is now able to launch Firestarter without being prompted for a password using the command sudo firestarter.
- yinliang108
- 帖子: 964
- 注册时间: 2005-10-01 21:38
- 来自: 湖南邵东流光岭