Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:guides:network-script [2010/03/06 12:28] linea |
en:guides:network-script [2014/10/11 10:44] mojo [Openbox] |
||
---|---|---|---|
Line 62: | Line 62: | ||
For user tux, which must use network.sh from every host; without a password you should add: | For user tux, which must use network.sh from every host; without a password you should add: | ||
- | <code bash> | + | <file> |
tux ALL=NOPASSWD: /etc/init.d/network.sh, | tux ALL=NOPASSWD: /etc/init.d/network.sh, | ||
- | </code> | + | </file> |
For user tortux, which may only get connected from localhost, and which should use a password each time, you should add: | For user tortux, which may only get connected from localhost, and which should use a password each time, you should add: | ||
- | <code bash> | + | <file> |
tortux my_hostname=PASSWD: /etc/init.d/network.sh, | tortux my_hostname=PASSWD: /etc/init.d/network.sh, | ||
- | </code> | + | </file> |
If you forgot your hostname, just run: | If you forgot your hostname, just run: | ||
Line 131: | Line 131: | ||
And now you only have to add these lines in //~/.config/openbox/menu.xml//: | And now you only have to add these lines in //~/.config/openbox/menu.xml//: | ||
- | <code bash> | + | <file> |
- | menu id="network-menu" label="Network" | + | <menu id="network-menu" label="Network" |
execute="/usr/lib/openbox/network-menu.sh" /> | execute="/usr/lib/openbox/network-menu.sh" /> | ||
- | </code> | + | </file> |
Then reconfigure openbox: | Then reconfigure openbox: | ||
Line 143: | Line 143: | ||
Enjoy! | Enjoy! | ||
+ | |||
+ | ---- | ||
+ | \\ | ||
+ | ^ Page Review Section ^^ | ||
+ | |Quality| Good | | ||
+ | |Review| Minor Updates | | ||
+ | |Priority| Medium | | ||
+ | |Problems| add a [[http://forum.slitaz.org|forum post link]]| | ||
+ | |::: | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]| | ||
+ | |How to Improve| Suggest briefly| | ||
+ | |::: | | | ||
+ | |||
+ | \\ | ||
+ | ---- | ||