Salve pinguini,
ho messo su un nuovo sondaggio nella speranza, che fino giovedì un sacco
di gente voti la sua preferenza.
byez
Patrick
--
+-----------------------------------------------------------------------
| Save software competition, use GNU/Linux and Java!
|
| Also visit http://www.lugbz.org the Linux User Group in Southtyrol!
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If you put garbage in a computer nothing comes out but garbage. But
this garbage, having passed through a very expensive machine, is
somehow enobled and none dare criticize it.
Ich habe ein Notebook, das ich in verschiedene Umgebungen benutze, bei
der Arbeit, zu Hause, ...
Ich erledige das Wechseln der Umgebung in Scripts, hier z.B. das Script
um im DNET Netz (Internet über Modem) zu Arbeiten:
--------- FILE: godnet ----------------------
#!/bin/bash
#
# Setzt die Umgebung für die Arbeit im Internet über die dnet
#
rm -f /etc/hosts
ln -s /etc/hosts.dnet /etc/hosts
rm -f /home/pazzo/.mozilla/default/myaccount/prefs.js
ln -s /home/pazzo/.mozilla/default/myaccount/prefs.js.dnet
/home/pazzo/.mozilla/default/myaccount/prefs.js
--------- END FILE: godnet ----------------------
Als erstes lösche ich /etc/hosts, welches bei mir nur ein Link auf eine
umgebungsabhängige Datei ist. Dann setze ich eben den Link auch
/etc/hosts.dnet, eben jene für die DNET. Das selbe mache ich mit den
Preferences File von Mozilla, da ich im DNET-Netz keinen Proxy verwenden
muss, in andere Umgebung der Proxy aber verpflichtend ist, ...
Alles funktioniert eigentlich recht gut, nur muss ich immer root sein um
das Script auszuführen. Hätte das Script setuid root gesetzt und meiner
Gruppe Ausführrechte gegeben:
[inspiron]pazzo$ ls -ld /usr/bin/godnet
-rwsr-x--- 1 root pazzo 289 Jun 2 15:14 /usr/bin/godnet
Wenn ich das Script aber ausführe erhalte ich die Fehlermeldung:
[inspiron]pazzo$ godnet
rm: Entfernen (unlink) von »/etc/hosts« nicht möglich: Keine Berechtigung
ln: »/etc/hosts«: Datei existiert
Kann mir da jemand weiterhelfen? Habe ich was übersehen?
byez
Patrick
--
+-----------------------------------------------------------------------
| Save software competition, use GNU/Linux and Java!
|
| Also visit http://www.lugbz.org the Linux User Group in Southtyrol!
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If you put garbage in a computer nothing comes out but garbage. But
this garbage, having passed through a very expensive machine, is
somehow enobled and none dare criticize it.
Salve Pinguini,
alcuni membri hanno richiesto di cambiare locale per le riunioni.
Sappiamo tutti che non é possibile cambiare ogni settimana e perció
dobbiamo trovare un locale, che vada bene a tutti. Raphael ha proposto
la pizzeria "Metro", avvendo questa un grande parcheggio gratuito, il
quale alle ore 20:00 dovrebbe essere ancora libero.
Che ne dite? Altre proposte?
byez
Patrick
--
+-----------------------------------------------------------------------
| Save software competition, use GNU/Linux and Java!
|
| Also visit http://www.lugbz.org the Linux User Group in Southtyrol!
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If you put garbage in a computer nothing comes out but garbage. But
this garbage, having passed through a very expensive machine, is
somehow enobled and none dare criticize it.
Ok, habe ich raufgetan, siehe
http://www.lugbz.org/sections.php?op=viewarticle&artid=44
mfg.
Patrick
karl(a)lunger.org wrote:
> Hallo Patrick
>
> Hollen wir so eine Map in die InfoSection geben?
>
> Servus
> Karl
>
> --
> 01.06. - Tag der offenen Tuer an der GOB und LIH
> Infos: http://www.schule.provinz.bz.it/gob-bozen/projekttag
> 08.06. - Eternity of Rock Openair - Infos: http://eternity.isch.org/
> 15.06. - LUGBZ-Workshop: "Web development with PHP"
> Infos: http://www.lugbz.org/
> .-.
> /v\ L I N U X
> // \\ >Phear the Penguin<
> /( )\
> ^^-^^
> karl(a)lunger.org
>
>
>
> To: pohnewein(a)prodata.it
--
+-----------------------------------------------------------------------
| Save software competition, use GNU/Linux and Java!
|
| Also visit http://www.lugbz.org the Linux User Group in Southtyrol!
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If you put garbage in a computer nothing comes out but garbage. But
this garbage, having passed through a very expensive machine, is
somehow enobled and none dare criticize it.
Ok habe raufgetan, siehe
http://www.lugbz.org/sections.php?op=viewarticle&artid=44
mfg.
Patrick
karl(a)lunger.org wrote:
> Hallo Patrick
>
> Hollen wir so eine Map in die InfoSection geben?
>
> Servus
> Karl
>
> --
> 01.06. - Tag der offenen Tuer an der GOB und LIH
> Infos: http://www.schule.provinz.bz.it/gob-bozen/projekttag
> 08.06. - Eternity of Rock Openair - Infos: http://eternity.isch.org/
> 15.06. - LUGBZ-Workshop: "Web development with PHP"
> Infos: http://www.lugbz.org/
> .-.
> /v\ L I N U X
> // \\ >Phear the Penguin<
> /( )\
> ^^-^^
> karl(a)lunger.org
>
>
>
> To: pohnewein(a)prodata.it
--
+-----------------------------------------------------------------------
| Save software competition, use GNU/Linux and Java!
|
| Also visit http://www.lugbz.org the Linux User Group in Southtyrol!
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If you put garbage in a computer nothing comes out but garbage. But
this garbage, having passed through a very expensive machine, is
somehow enobled and none dare criticize it.