SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:guides:network-script [2010/07/08 17:14]
127.0.0.1 external edit
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:
 
en/guides/network-script.txt · Last modified: 2014/11/15 21:00 by linea