安全方面的一点点注意:这种方法是将本地安全同便捷做了交换,如果你的登录帐户被攻击者破解了,那么攻击者将会控制Firestarter。 However this method is preferable to having a shared root user password in a multiuser setting. It is also preferable if the alternative is not to run Firestarter at all.
译者注:水平有限,万望海涵。E-mail:kongweiguo@gmail.com 附原文如下: How can I get Firestarter to load automatically when I log in as a regular user?
Normally when you start Firestarter by clicking an icon or manually from a terminal, the system will prompt you for your root user's password. However, this is a bit of a hassle, especially if you want to run Firestarter all the time when logged in. In that case Firestarter can be loaded in the background when you log in with your regular user, without asking a password and minimized to the system tray (pictured right). 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.
A note on the security aspects: This method makes a trade off in local security for convenience. If your user account becomes compromised the attacker will be able to control the firewall. However this method is preferable to having a shared root user password in a multiuser setting. It is also preferable if the alternative is not to run Firestarter at all. Launching Firestarter minimized to the tray on login
Having performed the above configuration of permissions, the system can further be set up to load Firestarter when you log in with your regular user account. Firestarter will in that case load directly into the system tray without user intervention, after which the main interface can be accessed by clicking the tray icon.
Using GNOME: Open up your GNOME menu, select Preferences followed by Sessions. Switch to the Startup programs tab, pictured right.
Click Add and enter sudo firestarter --start-hidden as the startup command. Click OK and you're done.
To stop Firestarter from loading on login, simply remove its entry from the startup programs listing.
Using KDE:
Open a terminal and execute the following two commands:
Firstarter will now load automatically when KDE starts. To stop Firestarter from loading when you log in, remove the ~/.kde/Autostart/firestarter file. iamif 2008-3-1 16:20