Re: mandb: 3 questions
On 2014-01-05, Mike McClain mike.j...@nethere.com wrote: Some program, I presume mandb keeps recreating /var/cache/man/cs/ etc. It looks like a bug! https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=23522 Colin Watson says: Version 0.0.20 or greater of the 'localepurge' package now allows the sysadmin to purge manual pages in unwanted languages. The optimal solution is still directory exclusion in dpkg, and there are still bugs filed there, but I think this addresses your needs as far as man-db goes. I'm therefore closing this bug. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/slrnlq8pko.23s.cu...@einstein.electron.org
mandb: 3 questions
Some program, I presume mandb keeps recreating /var/cache/man/cs/ etc. after I delete them. 1) Is there any use to have such extra directories cluttering up the drive on a single user system when the user doesn't read or speak any of those other languages? 2) Is there any configuration I can do to stop these directories being recreated? 3) How many milliseconds does mandb save for the average access? Thanks, Mike -- Today is International Disturbed People's Day Please send an encouraging message to a disturbed friend. ... Just as I've done. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2014010559.GB6078@playground
3 questions concernant rsync: permissions et table des inodes corrompue
bonsoir a tous, voila j'ai plusieurs questions concernant rsync. Je vous expose mon architecture: j'ai un serveur sous debian sarge 3.1, un portable et un desktop sous windows xp. sur mon desktop, j'effectue une sauvegarde reguliere de certaines informations sur le serveur, qui me sert un peu de baie de sauvegarde. La sauvegarde ce fait via la version de windows de rsync, par l'intermediaire de cygwin. Le portable recupere ces informations a partir du serveur pour une synchronisation de ces informations. Il existe une deuxième sauvegarde via rsync du serveur vers le serveur pour certains fichiers sensibles. La backup est effectué dans les deux cas sur un disque tiers, pour eviter les problemes de disque. Pour le moment, aucune solution raid n'est envisagée, le besoin n'etant pas present. Nous avons rencontré un probleme d'inode sur un serveur au boulot ce qui ammène ma premiere question: Imaginons que le disque dur contenant les informations a sauvegarder sur le serveur ait un probleme d'inodes au niveau des fichiers qui sont sauvegardés via rsync. Est ce que la sauvegarde va copier le contenu corrompu sur le disque de backup, ou rsync va stopper sur le contenu a sauvegarder qu'il ne peut lire? En gros, j'aimerais savoir si ma backup va etre corrompue elle aussi? * Ma deuxième question est la suivante: Au niveau des permissions, j'ai du mal a saisir comment fonctionne rsync. J'aimerais pouvoir creer et mettre a jour des informations sur le rsync repository, mais quelle est la meilleure strategie sachant que les os ne sont pas forcement compatibles au niveau gestion des utilisateurs? * Ma troisième question est plus generale: est il possible de proteger mon disque de backup d'un eventuel rm -rf fatidique sous root? bien que je ne travailles pas sous root, que j'ai pris mes precautions, j'ai tendance a etre un peu paranoiaque (oui personne n'est parfait :) ) et j'aimerais bettoner mon architecture... merci d'avance de vos remarques eclairées :) bien cordialement, Matthieu
Re: 3 questions concernant rsync: permissions et table des inodes corrompue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Ma troisième question est plus generale: est il possible de proteger mon disque de backup d'un eventuel rm -rf fatidique sous root? bien que je ne travailles pas sous root, que j'ai pris mes precautions, j'ai tendance a etre un peu paranoiaque (oui personne n'est parfait :) ) et j'aimerais bettoner mon architecture... après ton backup, dans le cron ou le shell de backup : chattr -R +i {ta racine de backup} et avant : chattr -R -i {ta racine de backup} et, bien sûr, man chattr ;) Ca se traduit par ça : $ su - # cd /tmp # mkdir test # test/toto # test/titi # chattr -R +i test # rm -fr test rm: ne peut enlever `test/toto': Permission non accordée rm: ne peut enlever `test/titi': Permission non accordée # cd test # mv toto truc mv: ne peut déplacer `toto' vers `truc': Permission non accordée # echo lklkjkl toto - -su: toto: Permission non accordée # tata - -su: tata: Permission non accordée # cd /tmp # chattr -R -i test # rm -fr test = ok a+ jerome -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFENY273ygQTLujCrQRAg+9AKCjB6PhMf1y1FUKNNsAkC5paI5YHQCfeWTm LpPJj3/gNj9o6EG9wvQVB9c= =9YOM -END PGP SIGNATURE- -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 3 questions about pre-compiled kernels in woody
Hello Paul E Condon ([EMAIL PROTECTED]) wrote: I have a set of CDs for 30r1 (woody) on i386. I see in dselect that there are several packages that use the 2.4.18 kernel. I have a classic pentium, which seems to referred to as i586. There seem to be two packages that provide kernel-image for this chip: kernel-image-2.4.18-bf2 and kernel-image-2.4.18tsc I guess you mean kernel-image-2.4.18-586tsc. kernel-image-2.4.18-386 will also work. Anything from Pentium Pro on is also supported by kernel-image-2.4.18-686. Where can I find an explanation of the differences between these two? What does 'bf2' stand for? What does 'tsc' stand for? apt-cache show can give you some information. bf stands for boot floppy. That's the 2.4 installation kernel. The others (except 386) are built for special processor types of the x86 family. best regards Andreas Janssen -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Mise à jour Samba, 3 questions dont une seule HS
Bonjour, Suite à la livraison (imposée par l'éducation nationale qui d'ailleurs ne me payera pas cette année (pas de sous!)) de deux Windows XP Pro, je dois mettre à jour Samba afin que XPPro puisse reconnaitre Samba comme controleur de domaine. 1) La mise à jour vers 2.2.3 suffit-elle pour cela? Quelqu'un a-t-il l'expérience d'une telle cohabitaion XP/Samba controleur de domaine [HS] 2) La compilation du paquet me donne bcp d'erreurs: il a fallu que a) dans debian/rules je commente # install: DH_OPTIONS= b) que je transforme binary-indep: DH_OPTIONS=-i binary-indep: build install dh_testdir dh_testroot en binary-indep: build install DH_OPTIONS=-i export DH_OPTIONS dh_testdir dh_testroot ainsi que pourbinary_arch, etc... c) que je rajoute laligne [EMAIL PROTECTED]@%$LIBSMBCLIENT_STATIC%g dans le fichier configure. d) La fabrication du paquet échoue à la construction du fichier control, le champ Depends se termine par logrotate, et du coup buildeb hurle. Juste avant j'ai une collection de dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends} e) Le fichier /etc/cron.daily/samba semble ne pas être présent. Bref, pour un paquet source récupéré dans stable par fakeroot apt-get -b source samba, ça fait beaucoup d'erreurs. Je pense donc que les outils pour la fabrication des paquets sont obsolètes et installer debhelper woody revient à tout upgrader mon serveur. J'avais déjà posé la question mais je recommence: Mon interprétation (debhelper et les paquets adjacents obsolètes) est elle correcte et y-a-t-il un rétroportage de debhelper woody sur potato existant? 3) Un apt-get install samba donne yoda:/etc/apt# apt-get install samba Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: binutils cpp cpp-2.95 cron g++ g++-2.95 gcc gcc-2.95 libbz2-1.0 libc6 libc6-dev libdb2 libdb3 libpopt0 librpm4 libstdc++2.10-dev libstdc++2.10-glibc2.2 logrotate rpm samba-common strace The following packages will be REMOVED: locales The following NEW packages will be installed: cpp-2.95 g++-2.95 gcc-2.95 libbz2-1.0 libdb3 librpm4 libstdc++2.10-glibc2.2 logrotate samba-common 13 packages upgraded, 9 newly installed, 1 to remove and 229 not upgraded. Need to get 9161kB/15.0MB of archives. After unpacking 19.6MB will be used. Do you want to continue? [Y/n] n Abort. yoda:/etc/apt# donc quelques changements majeurs. Or je n'ai pas de serveur de rechange et il ne faut pas que la machine soit plantée. Le passage de Samba est notamment de 1.9.18 vers 2.2.3. Dois-je m'attendre à des difficultés (changement important dans les configuration de Samba, incompatibilité connu de paquets compilés glibc2.1 et concernant NFS, Exim, Apache, Nis, Bind vis à vis de la glibc2.2). Merci (d'avoir tout lu en tout cas) François Boisson
Re: Mise à jour Samba, 3 questions dont une seule HS
Le ven 07/02/2003 à 15:12, François Boisson a écrit : Bonjour, Suite à la livraison (imposée par l'éducation nationale qui d'ailleurs ne me payera pas cette année (pas de sous!)) de deux Windows XP Pro, je dois mettre à jour Samba afin que XPPro puisse reconnaitre Samba comme controleur de domaine. 1) La mise à jour vers 2.2.3 suffit-elle pour cela? Quelqu'un a-t-il l'expérience d'une telle cohabitaion XP/Samba controleur de domaine [HS] je sais que ca marche avec une 2.2.5 moyennant l edition d une valeur dans la base de registre de XP (je ne sais plus laquelle , mais tu devrais trouver ca sur le www), peut etre que ca marchera du meme coup avec samba 2.2.3 ? Si tu as des problemes a la compilation , utilise le protocole standard : download samba, ./configure --prefix=/usr/local/mysamba ...autresoptions make make install et relancer samba depuis /usr/local/mysamba 2) La compilation du paquet me donne bcp d'erreurs: il a fallu que a) dans debian/rules je commente # install: DH_OPTIONS= b) que je transforme binary-indep: DH_OPTIONS=-i binary-indep: build install dh_testdir dh_testroot en binary-indep: build install DH_OPTIONS=-i export DH_OPTIONS dh_testdir dh_testroot ainsi que pourbinary_arch, etc... c) que je rajoute la ligne [EMAIL PROTECTED]@%$LIBSMBCLIENT_STATIC%g dans le fichier configure. d) La fabrication du paquet échoue à la construction du fichier control, le champ Depends se termine par logrotate, et du coup buildeb hurle. Juste avant j'ai une collection de dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends} e) Le fichier /etc/cron.daily/samba semble ne pas être présent. Bref, pour un paquet source récupéré dans stable par fakeroot apt-get -b source samba, ça fait beaucoup d'erreurs. Je pense donc que les outils pour la fabrication des paquets sont obsolètes et installer debhelper woody revient à tout upgrader mon serveur. J'avais déjà posé la question mais je recommence: Mon interprétation (debhelper et les paquets adjacents obsolètes) est elle correcte et y-a-t-il un rétroportage de debhelper woody sur potato existant? 3) Un apt-get install samba donne yoda:/etc/apt# apt-get install samba Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: binutils cpp cpp-2.95 cron g++ g++-2.95 gcc gcc-2.95 libbz2-1.0 libc6 libc6-dev libdb2 libdb3 libpopt0 librpm4 libstdc++2.10-dev libstdc++2.10-glibc2.2 logrotate rpm samba-common strace The following packages will be REMOVED: locales The following NEW packages will be installed: cpp-2.95 g++-2.95 gcc-2.95 libbz2-1.0 libdb3 librpm4 libstdc++2.10-glibc2.2 logrotate samba-common 13 packages upgraded, 9 newly installed, 1 to remove and 229 not upgraded. Need to get 9161kB/15.0MB of archives. After unpacking 19.6MB will be used. Do you want to continue? [Y/n] n Abort. yoda:/etc/apt# donc quelques changements majeurs. Or je n'ai pas de serveur de rechange et il ne faut pas que la machine soit plantée. Le passage de Samba est notamment de 1.9.18 vers 2.2.3. Dois-je m'attendre à des difficultés (changement important dans les configuration de Samba, incompatibilité connu de paquets compilés glibc2.1 et concernant NFS, Exim, Apache, Nis, Bind vis à vis de la glibc2.2). Merci (d'avoir tout lu en tout cas) François Boisson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 3 questions débutant + 2 ex :rebol
Juste une remarque : Jean-Michel OLTRA wrote: Dans la doc d'install ils disent qu'un coq pourrait installer la potato: ce n'est pas faux ! Mais tu ne seras pas aussi assisté que dans d'autres distri pour l'install de certaines choses (imprimante, firewall) et ça se comprend et se justifie. En revanche par exemple l'install du serveur postfix est exemplaire. J'ai installé bcp de distributions. C'est vrai, RH, MdK et les autres s'installent toutes seules (comme W$) mais jamais je n'ai vu une distribution comme la Debian qui explique, à chaque pas, ce qu'elle fait. Parfois, c'est un peu long à lire et on ne comprend pas ce qu'il raconte (oui, martin, je vais relire le .po :P) mais il en ressort une impression de clareté, de contrôle sur ce qu'il se passe. Les messages du genre là, je vais faire ça. Si vous préférez, vous pouvez faire ça. Si vous ne savez pas, laissez comme c'est permettent vraiment de comprendre ce qu'il se passe, sans pour autant noyer les débutants sous des messages trop techniques et abscons. C'était mon avis à moi que j'ai :) Nico. -- Nicolas SABOURET LIMSI-CNRS, BP133, 91403 Orsay, France http://www.limsi.fr/Individu/nico
3 questions débutant
lisant difficilement anglais, aimerais plonger linux debian : 3 problemes pratiques : - peut on utiliser les rpm sur debian si oui avec facilité ? avec fiabilité ? - la doc en fr est elle suffisante ? - y a t il une base, un forum pratique pour des gens comme moi. c à dire pédagogique pour exemple : incapable de trouver info sur install debian sur pc avec w95 Bon voila J'espere quelques reponses bonne journée gildas nantes
Re: 3 questions débutant
[EMAIL PROTECTED] wrote: lisant difficilement anglais, aimerais plonger linux debian : 3 problemes pratiques : - peut on utiliser les rpm sur debian si oui avec facilité ? avec fiabilité ? Oui, mais tu n'en auras a priori pas besoin : la Debian possède aussi un système de paquet (les .deb). La pluspart des programmes existants en rpm sont aussi en .deb - la doc en fr est elle suffisante ? Oui. Une centaine de personnes travaillent dessus en permanence (debian-l10n-french). - y a t il une base, un forum pratique pour des gens comme moi. c à dire pédagogique Ici-même, sur debian-user-french, des utilisateurs débutants, confirmés et des mainteneurs Debian pourront répondre à tes questions ... a condition que : 1. Tu n'envoies pas de message en html (comme celui auquel je répond) 2. Tu consulte les archives avant de poser une question pour exemple : incapable de trouver info sur install debian sur pc avec w95 C'est un bon exemple : fais un tour sur http://www.debian.org/ Section Documentation, il y a un lien Debian GNU-Linux : guide d'installation et usage. Bon voila Bon courage, Nico. -- Nicolas SABOURET LIMSI-CNRS, BP133, 91403 Orsay, France http://www.limsi.fr/Individu/nico
Re: 3 questions débutant
Bonjour, le lun 19-11-2001 à 09:06, [EMAIL PROTECTED] a écrit : - peut on utiliser les rpm sur debian si oui avec facilité ? avec fiabilité ? voir les packages alien et rpm2cpio tu peux faire des .deb de tes rpm et les installer comme n'importe quel paquet question fiabilité, j'ai installé toute la suite bureautique Applixware sans problème par cette méthode, mais ça nécessite du temps cpu - la doc en fr est elle suffisante ? non, mais les traducteurs sont très actifs : voir la liste de diffusion i18n le plus important, c'est que tu peux configurer ton système en français, avec support Euro, et que les commandes systèmes sont très largement traduites - y a t il une base, un forum pratique pour des gens comme moi. c à dire pédagogique regarde la doc système, celle sur le site debian (http://www.debian.org), les archives de cette liste où tu trouveras l'essentiel de tes questions. Sinon je pense que tu es au bon endroit pour t'informeer/te faire aider. pour exemple : incapable de trouver info sur install debian sur pc avec w95 les cd debian sont bootables, il suffit juste de créer une partition de swap de 128Mo et d'avoir au moins une partition ext2 montée sur / pour installer le système installer un gestionnaire de démarrage graphique, type lilo (LInux LOader), avec une entrée pointant sur la partition w95/w98/w2k, etc... bonne journée il fait gris sur Paris :( gildas nantes Gwendal, expatrié nantais
Re: 3 questions débutant
bonjour à toutes et à tous ;-) On Mon, Nov 19, 2001 at 03:06:01AM -0500, [EMAIL PROTECTED] wrote: lisant difficilement anglais, aimerais plonger linux debian : franchement, je te conseille d'écrire au *|:-) pour qu'il t'apporte un joli dictionnaire. Ca te sera plus qu'utile, même si tu y arriveras peut-être sans. bon courage, -- Phil http://bourcier.philippe.online.fr ()Campagne du ruban ASCII - Contre les mails en HTML /\ Contre les pièces-jointes Microsoft
Re: 3 questions débutant
lisant difficilement anglais, aimerais plonger linux debian : 3 problemes pratiques : - peut on utiliser les rpm sur debian si oui avec facilité ? avec fiabilité ? Il me semble qu'il y a un package Debian pour l'install des rpm. Mais je ne l'ai jamais essayé. Par contre sur Debian, tu as l'utilitaire dselect qui te permet d'installer et d'enlever les softs en .deb - la doc en fr est elle suffisante ? Il y en a un peu, l'interet de la Debian par rapport à la mdk, il y a tout un travail de recherche. Il faut du temps pour avoir un OS vraiment opérationnel + bcp de lecture + bcp d'essais. - y a t il une base, un forum pratique pour des gens comme moi. c à dire pédagogique il y a ce forum, sinon dans la pluspart des régions il ya des clubs d'utilisateurs de Linux. A Toulouse, il y a le Culte qui se reunit tous les 15 j, tu peux neir avec ton pc pour faire l'install. pour exemple : incapable de trouver info sur install debian sur pc avec w95 Sur http://ikarios.com tu peux commander pour un prix trés modique des cd debian. Il ya un fichier d'install en français sur www.debian.org Sinon : boote sur le cd. L'install de base est simple. Par contre la configuration est plus délicate. Si tu veux une machine en dual boot 2 conseils avant le démmarage : 1) Copier les fichiers qui te sont important sous win , 2) défragmenter la partition win. Bon voila J'espere quelques reponses En voila une :-) Frédéric, utilisateur de debian depuis 15 jours. bonne journée gildas nantes
Re: 3 questions dbutant
Bojour, Sur http://ikarios.com tu peux commander pour un prix trés modique des cd debian. Il ya un fichier d'install en français sur www.debian.org Si tu as une connection rapide, tu peux acheter l'hors-série de «Linux-France magazine» en librairie. Le magazine contient une woody qui date un peu. Mais Debian offre 2 commandes magiques à lancer succesivement : apt-get update puis apt-get dist upgrade. C'est une commande dont je ne peux plus m'en passer, elle te permet en quelques frappes de clavier mettre tes programmes à jour, à partir d'une source fiable (le site de Debian). Après cela, les «rpm» de Mandrake, te paraitront bien fade. Bon amusement, Youssef, qui à découvert Debian, il y a quelques semaines.
Re: 3 questions débutant
Le Mon, 19 Nov 2001 09:29:17 +0100, [EMAIL PROTECTED] écrivait : Ici-même, sur debian-user-french, des utilisateurs débutants, confirmés et des mainteneurs Debian pourront répondre à tes questions ... a condition que : 1. Tu n'envoies pas de message en html (comme celui auquel je répond) 2. Tu consulte les archives avant de poser une question 3. Que tu essaies de faire un minimum d'effort dans la rédaction et la formulation de ta question *en français*. PK -- Patrice KARATCHENTZEFF STMicroelectronics Tel: 04-76-92-67-95 850, rue Jean Monnet 38926 CROLLES Cedex, France Courriel: [EMAIL PROTECTED]
Re: 3 questions débutant
Patrice Karatchentzeff wrote: 3. Que tu essaies de faire un minimum d'effort dans la rédaction et la formulation de ta question *en français*. En effet ... Le Mon, 19 Nov 2001 09:29:17 +0100, [EMAIL PROTECTED] écrivait : et des mainteneurs Debian pourront répondre à tes questions ... a condition que à condition que 2. Tu consulte les archives avant de poser une question tu consultes Nico :) -- Nicolas SABOURET LIMSI-CNRS, BP133, 91403 Orsay, France http://www.limsi.fr/Individu/nico
[CONVENANCE] Re: 3 questions débutant
Ainsi parlait Patrice Karatchentzeff : Le Mon, 19 Nov 2001 09:29:17 +0100, [EMAIL PROTECTED] écrivait : 3. Que tu essaies de faire un minimum d'effort dans la rédaction et la formulation de ta question *en français*. Il est de bon ton de ne pas faire de remarques quand aux fautes de langue, le Français n'est peut-être pas la langue natale de la personne en question. -- Charles
Re: [CONVENANCE] Re: 3 questions débutant
Charles Goyard wrote: Ainsi parlait Patrice Karatchentzeff : Le Mon, 19 Nov 2001 09:29:17 +0100, [EMAIL PROTECTED] écrivait : 3. Que tu essaies de faire un minimum d'effort dans la rédaction et la formulation de ta question *en français*. Il est de bon ton de ne pas faire de remarques quand aux fautes de langue, le Français n'est peut-être pas la langue natale de la personne en question. Oui, enfin, dans mon cas, c'est pas un problème de langue natale. C'est plus un problème d'attention... Mais je ne sais pas si la remarque de PK visait mes fôtes où si c'était juste une remarque générale. Nico. -- Nicolas SABOURET LIMSI-CNRS, BP133, 91403 Orsay, France http://www.limsi.fr/Individu/nico
Re: 3 questions débutant + 2 ex :rebol
On Monday 19 November 2001 14:10, [EMAIL PROTECTED] wrote: merci pour les reponses. pas de panique, mon français n'est pas si mauvais. Pour le html sur la liste, je veux bien l'enlever mais comment, entre w95 et aol... Tu vas dans les menus de AOL, ou bien tu demandes à l'aide en ligne. je sais mais money... C'est ce que je disais aussi quand j'avais windows. Avec linux actuellement c'est un choix quasi éthique que tu dois faire (enfin c'est comme ça que je l'entends moi). Donc exit aol qui ne respecte rien. J'ai viré mon forfait illimité pour un autre limité mais qui respecte les fondements du web. He oui, l'informatique c'est pas que fric, du matos et des logiciels, c'est aussi des idées. Humanistes de surcroît. Plus sérieux aimerait travailler avec rebol, je cherche dans les packages, aucune réponse... que faire ? Rebol n'a pas de licence GPL, donc exit de debian officiel. Le dernier Login t'en diras plus. mon hébergeur ovh me dit que debian c'est plus dur à mettre en place php mysql, pourquoi ? Car le systeme est redhat ? Linux n'est pas linux ? Excuse-moi de te dire ça, mais évite d'écrire en chinois si tu veux qu'on te comprenne. Debian = *.deb RedHat = *.rpm Linux = noyau Suis seul dans mon coin, pas très calé en computer aussi, j'aime debian pour son approche et les critiques lues, mais ne voudrais pas bosser pour des prunes Si tu veux y consacrer du temps, tu bosseras c'est sûr et pas pour des prunes. bonne journées @+ Sergio __ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif
Re: 3 questions débutant + 2 ex :rebol
[EMAIL PROTECTED] a écrit : merci pour les reponses. pas de panique, mon français n'est pas si mauvais. Pour le html sur la liste, je veux bien l'enlever mais comment, entre w95 et aol... Mauvais provider, changer de provider. Note d'ailleurs que, debian ou pas, tu auras beaucoup de mal à te connecter sous linux. je sais mais money... Plus sérieux aimerait travailler avec rebol, je cherche dans les packages, aucune réponse... que faire ? Rebol n'est pas un logiciel libre, donc il n'est pas disponible sur Debian. Toutefois, s'il y a une version linux, il devrait s'installer quelle que soit la distribution. mon hébergeur ovh me dit que debian c'est plus dur à mettre en place php mysql, pourquoi ? Car le systeme est redhat ? Linux n'est pas linux ? apt-get install phpmyadmin -- Josselin Mouette | Étudiant en thèse [EMAIL PROTECTED] | [EMAIL PROTECTED] LÉOM - ÉCL (UMR CNRS 5512)| (+33) 4 72 18 60 61 `-- [Laboratoire d'électronique, optoélectronique et microsystèmes] pgpBQ5eISsNGi.pgp Description: PGP signature
Re: [CONVENANCE] Re: 3 questions débutant
Nicolas SABOURET écrivait: Charles Goyard wrote: Ainsi parlait Patrice Karatchentzeff : Le Mon, 19 Nov 2001 09:29:17 +0100, [EMAIL PROTECTED] écrivait : 3. Que tu essaies de faire un minimum d'effort dans la rédaction et la formulation de ta question *en français*. Il est de bon ton de ne pas faire de remarques quand aux fautes de langue, le Français n'est peut-être pas la langue natale de la personne en question. Oui, enfin, dans mon cas, c'est pas un problème de langue natale. C'est plus un problème d'attention... Mais je ne sais pas si la remarque de PK visait mes fôtes où si c'était juste une remarque générale. générale bien sûr. La remarque de Charles est fondée bien sûr mais pas dans ce cas. Il ne faut pas sous prétexte que votre interlocuteur n'est peut-être pas francophone laissait tout passer : le message initial est un galimatias ignoble entre un croisement d'IRC et de débile léger. Le respect passe dans les deux sens. Quand on est demandeur, on fait l'effort d'y mettre (suivant ses moyens) les formes¹. PK ¹: d'autant plus qu'ici le demandeur *est* français. -- |\ _,,,---,,_ Patrice KARATCHENTZEFF ZZZzz /,`.-'`'-. ;-;;,_ mailto:[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' http://p.karatchentzeff.free.fr '---''(_/--' `-'\_)
Re: [CONVENANCE] Re: 3 questions débutant
From: Patrice Karatchentzeff [EMAIL PROTECTED] ... Il ne faut pas sous prétexte que votre interlocuteur n'est peut-être pas francophone laissait tout passer ... Je suppose que quand tu écris laisser laissait, c'est du second degré ? ;-) Laurent.
Re: 3 questions débutant+ 2 ex :rebol
[EMAIL PROTECTED] a écrit : merci pour les reponses. pas de panique, mon français n'est pas si mauvais. Pour le html sur la liste, je veux bien l'enlever mais comment, entre w95 et aol... Mauvais provider, changer de provider. Note d'ailleurs que, debian ou pas, tu auras beaucoup de mal à te connecter sous linux. Avec Debian il faut du temps car il est necessaire de tout configurer manuellement donc dans ce cas c'est plus difficile, mais aussi plus interessant. Sinon avec une mdk c'est comme sous win98. Il n'y a vraiment aucune difficulté. Frédéric
Re: 3 questions débutant + 2 ex :rebol
Petit poème en prose de [EMAIL PROTECTED], le lundi 19 nov 2001: mon hébergeur ovh me dit que debian c'est plus dur à mettre en place php mysql, pourquoi ? Car le systeme est redhat ? Linux n'est pas linux ? Suis seul dans mon coin, pas très calé en computer aussi, j'aime debian pour son approche et les critiques lues, mais ne voudrais pas bosser pour des prunes J'ai mis en place une appli mysql + php + apache sur ma machine d'abord sur mdk 7.1 (rpm puis compil car il manquait le pdf) puis je l'ai passée sur la potato où elle tourne maintenant. La compil et la configuration c'est du pareil au même ça ne dépend pas de la distri mais à la limite de la version de l'appli. Pour la programmation php il suffit d'un éditeur ... Pour installer en paquet il n'y a pas photo entre le système apt et ses petits frères et soeurs apt-get, apt-cache et les rpm de Mdk ou RH. La configuration de la deb est plus sécurisée mais demande plus de temps peut-être. Au bout du compte ce n'est pas du temps perdu: ce que tu feras au début tu n'auras pas à le faire ensuite lorsque tu te seras rendu compte que c'est nécessaire. Les listes c'est pour ne pas bosser seul justement ! Dans la doc d'install ils disent qu'un coq pourrait installer la potato: ce n'est pas faux ! Mais tu ne seras pas aussi assisté que dans d'autres distri pour l'install de certaines choses (imprimante, firewall) et ça se comprend et se justifie. En revanche par exemple l'install du serveur postfix est exemplaire. Et quand faut y aller, faut y aller. Seuls les gens qui ne l'ont pas installée ni utilisée n'en font pas la promo. -- jean-michel
Re: Re: [CONVENANCE] Re: 3 questions débutant
Laurent PETIT écrivait: From: Patrice Karatchentzeff [EMAIL PROTECTED] ... Il ne faut pas sous prétexte que votre interlocuteur n'est peut-être pas francophone laissait tout passer ... Je suppose que quand tu écris laisser laissait, c'est du second degré ? ;-) Oh, à ce niveau-là, on est proche du troisième :-) PK, confus -- |\ _,,,---,,_ Patrice KARATCHENTZEFF ZZZzz /,`.-'`'-. ;-;;,_ mailto:[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' http://p.karatchentzeff.free.fr '---''(_/--' `-'\_)
Stuart Andrews Sun 3 questions
Stuart Andrews - your email address isn't working. Return-Path: [EMAIL PROTECTED] Received: (qmail 28409 invoked by uid 0); 27 Sep 2000 09:22:52 - Received: from unknown (HELO flick.ihug.co.nz) (202.89.141.10) by 0 with SMTP; 27 Sep 2000 09:22:52 - Message-Id: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 27 Sep 2000 21:19:06 +1200 To: [EMAIL PROTECTED] (Stuart Andrews) From: C. Falconer [EMAIL PROTECTED] Subject: Re: Sun 3/50 question In-Reply-To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed At 09:35 PM 9/26/00 +, you wrote: Mr Falconer, ( apologies iof the gender assumption is wrong ) Its a safe guess in the geek world (sadly) Sorry I can't help with the question but thanks for the info that the Debian 2.2 will boot a Sun 3/50. I have a Sun 3/60 at home and was wondering if you had any tips for the setup. I have a couple of Intel boxes that will allow me to boot the Sun using NFS root etc and runnningm a diskless client. I have done Intel to Intel before but was wondering which dists and whether you had an NFS kernel with initrd working that you could email. I am quite OK building the NFS / and /usr filessystems on the intel but from memory, your kernel would be customised already. Also, what is the method of booting via the le (lance) device. When I run minicom from the Intel and get the Sun3 equivalent of the sparc ok prompt, what is the boot command? I have tried things like boot le (0,0,0) and so on. Do I also need a RARP server. Forgive the many questionss. It's been a while since I had a look at the Sun3 and getting it working. Most of that is straight-forward... The only bit I don't know involves making the machine use le0 as the default boot device. Mine was like that when I got it... did yours have a drive installed or something? Anyway - I had mine going fine with my potato box as an everything-server. The sun now reports memory errors on boot... I think its poked :-\ To get it to work I downloaded a file called linux-xkernel2.0e.tar.gz This file contains an entire tree for you to put under /usr/export on your linux server, and that contains all the files needed to boot the sun, and give it a root filesystem. Its about 3 Mb, yell out if you want me to mail it to you, or you might find it somewhere on the web too. Changes I had to make to get it working 1) I had to go from the kernel-space NFS drivers to the user-space ones... not a big deal because nothing else here uses NFS. 2) I couldn't get it working with kernel 2.4.x the rarpd support is in kernel 2.2 only. I did however find a rarpd program which kinda worked. Other than that - there are some options required in your kernel, but everything is fairly well documented in the attached readme. As soon as xdm is running, the documentation stops. It was quite a puzzle to find out that I lacked a ~/.xsession, and that the default windowmanager is twm. Yell out if you want this file emailed to you. -- Criggie
3 Questions ONLY.
1: When I connect to the Internet in Linux, 'xconsole' shows the following message: ppp-compress-1 module not found I have compiled and installed Kernel 2.2.5 for Linux (Debian 'slink'). The PPP driver was compiled as a module. Is this correct? 2: I'm using Netscape Communicator 4.6 (downloaded from the STORM distribution), and I have memory problems: I have 64 MB RAM and 40 MB swap space on '/dev/hda3'. When Netscape locks, and I reopen it, the swap space is liberated only If I restart X entirely. Why? Is there any way to do this manually? I use version 4.6, because 4.5 issues too many problems (almost memory problems). 4.6 from STORM is more stable than Debian's. Do you? Note that I use KDE 1.1.2 as window manager (bites memory). 3: I'm using Kernel 2.2.5, because I have a SoundBlaster 64 PCI soundcard. I have enabled the sound support and driver in the kernel directly, and I have made the devices 'audio*' 'dsp*' 'mixer*' and 'sequencer*, and 'midi*'. I have no MIDI support. Why? May Kernel 2.2.5 issues problems? I have read that 2.2.x are dangerous for some systems. Reply to: [EMAIL PROTECTED] Thanks, very much for your support.
3 questions. Please, HELP ME!
Hi! I'm a Debian Linux 2.1 'slink' user, and I have 3 questions: 1. I have compiled the version 2.2.4-intl of Linux Kernel and, at boot time, my screen shows the following message: SIOCADDRT: Invalid argument I have read the documentation, and says that is a bug in pppd versions 2.2.0 and earlier. I have currently installed pppd v2.3 patch level 5. Why does occur this? How can I patch the kernel? 2. My distribution doesn't make some device files, such as /dev/modem, /dev/audio, /dev/mixer, /dev/sndstat (I cannot use my SoundBlaster PCI 64, and I use my modem with device file /dev/ttyS1 directly). How can I workaround this? 3. I have the defrag utility. How can I defragment my Linux partition, since a mounted drive cannot be defragmented? Please, send your reply at [EMAIL PROTECTED], as soon as possible. Thanks very much for your support!!
Re: 3 questions. Please, HELP ME!
On Sat, 1 Apr 2000, José María Pongilioni López [EMAIL PROTECTED] wrote: Hi! I'm a Debian Linux 2.1 'slink' user, and I have 3 questions: 1. I have compiled the version 2.2.4-intl of Linux Kernel and, at boot time, my screen shows the following message: SIOCADDRT: Invalid argument I have read the documentation, and says that is a bug in pppd versions 2.2.0 and earlier. I have currently installed pppd v2.3 patch level 5. Why does occur this? How can I patch the kernel? I *think* this occurs when running a 2.2.x kernel with slink, because the /etc/init.d/network script tries to add a route to the loopback interface (lo). This is not neccessary any more with a 2.2.x kernel. Look for a line starting with route add ... in /etc/init.d/network, comment it out and see if that helps. 2. [...] 3. I have the defrag utility. How can I defragment my Linux partition, since a mounted drive cannot be defragmented? There is no need to 'defrag' ext2 filesystems, you don't have to worry about that. -- Philip Lehman [EMAIL PROTECTED]
Re: 3 questions. Please, HELP ME!
José María Pongilioni López writes: I use my modem with device file /dev/ttyS1 directly). How can I workaround this? Don't. You should use /dev/ttyS1 directly: /dev/modem is a bad idea (and it isn't a device file: it's just a link to /dev/ttyS1). -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: 3 questions. Please, HELP ME!
1. [snip] 2. My distribution doesn't make some device files, such as /dev/modem, /dev/audio, /dev/mixer, /dev/sndstat (I cannot use my SoundBlaster PCI 64, and I use my modem with device file /dev/ttyS1 directly). How can I workaround this? Those devices, some of htem, are just symlinks. For example, /dev/modem/ is a symlink to /dev/ttyS1, so if you run ln -s /dev/ttyS1 /dev/modem, it will make the symlink for you. As far as audio goes, to create those devices you need to go to /dev and ./MAKEDEV audio However, prior to that you have to include sound support into kernel, and with PCI card I am not sure hwo to do that (I think it is PnP, then you are sorta screwed.) Read Sound-HOWTO and Kernel-HOWTO for that. You can find them at linuxdoc.org 3. I have the defrag utility. How can I defragment my Linux partition, since a mounted drive cannot be defragmented? Well, one way is to unmount the partition (umount /zip , f.e) and defrag it. If its a /usr or /, then if you really wan to defrag it, then you have to do some more worka LOT more work. So dont worry about it. How big is the defragmentation, how many files you have and how big the partition is? HTH, Andrei - Andrei S. Ivanov [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://arhses.dyndns.org -| http://scorpio.dynodns.net -| http://scorpio.myip.org-| --All the pages bundled together. UIN 12402354 For GPG key, go to above URL/GnuPG -
Re: 3 questions. Please, HELP ME!
3. I have the defrag utility. How can I defragment my Linux partition, since a mounted drive cannot be defragmented? Well, one way is to unmount the partition (umount /zip , f.e) and defrag it. If its a /usr or /, then if you really wan to defrag it, then you have to do some more worka LOT more work. So dont worry about it. How big is the defragmentation, how many files you have and how big the partition is? you need a separate /boot partition or a zImage and loadlin on a dos partition. go to single-user mode (init s). unmount all partitions, remount / read-only. defrag all (but /boot and /) partitions. then defrag / at last. reboot the system as soon as possible, as the filesystem data in memory will not be consistent with the one on disk any more (as / is still mounted). if you have a separate /boot partition, then after the reboot everything should be fine. now you may unmount /boot, defrag it, remount, AND DON'T FORGET TO RUN LILO BEFORE REBOOTING!! if your /boot is on /, then you need to boot with loadlin from dos, as the lilo map file will be made invalid by the defragmentation. first thing after booting: run lilo. then all should be fine. everything herein without any warranty!! it's your data! ;-) final notes: i don't thing, that the whole thing is worth the effort. the only partition on my system, that ever reaches fragmentation above 5% is /var, so it is sensible to defrag only that one (if any). you have a separate /var, don't you? :-) however - defragmentation is usually useless on ext2 as a) it keeps fragmentation low by nature and b) it spreads data all over the disk, so even defragmenting won't make the filesystem faster (only reading large files will be somewhat faster, but there are not many big files on a linux system, that need fast access and ever get fragmented). correct me, if i'm wrong ... regards -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Linux - the last service pack you'll ever need.
3 questions
I have 3 questions: 1) I installed Scilab (mathematical package) and I'm having problems with Backspace and Delete key. In Xwindows they work, but in Scilab I only get ~3. How to change setup. I know I can add Xdefaults, but don't know what to insert. 2) Is it possible to start Xwindows as regular user (not root) and without using suid ? 3) How to start xdm at start-up and how to install user keyboard before xdm starts ? I use Debian 2.0. Bostjan
3 questions
1. What's the difference between hamm (frozen) and slink? 2. Where is the xload package in hamm (frozen)? Several weeks before I could find it but when I selected, it gave me some kind of dependency error. And I can't even find it in my newly updated package list (in dselect). 3. I've read discussions about Stampede Linux on Slashdot the other day, and somebody metioned about apt in debian. I can't find it in hamm (frozen) which is within my expectation. I know it won't be out until 2.1, but since somebody already used it, so I think it must be somewhere... TIA Dennis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 3 questions
On Wed, 10 Jun 1998, Dennis Dai wrote: 1. What's the difference between hamm (frozen) and slink? Slink will eventually become Debian 2.1. It contains those packages which either aren't ready for prime time yet, or which contain additional features past the freeze date of Debian 2.0. 2. Where is the xload package in hamm (frozen)? Several weeks before I could find it but when I selected, it gave me some kind of dependency error. And I can't even find it in my newly updated package list (in dselect). xload is now included in the xcontrib package (moved out of xproc). 3. I've read discussions about Stampede Linux on Slashdot the other day, and somebody metioned about apt in debian. I can't find it in hamm (frozen) which is within my expectation. I know it won't be out until 2.1, but since somebody already used it, so I think it must be somewhere... Apt is Debian's next-generation frontend to dpkg. While the GUI version of it isn't yet working, the command-line interface and the dselect method are both reasonably polished. Many people feel that using apt as a method for dselect is far superior to the other options. You should be able to find the latest apt package compiled for hamm in the project/experimental directory of your favorite mirror. A version compiled for libc5 (bo) should be available at http://www.debian.org/~jgg/ -- Scott K. Ellis [EMAIL PROTECTED] http://www.gate.net/~storm/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: 3 questions
Thanks a lot Scott. Now it's much clearer. Dennis -Original Message- From: Scott Ellis [SMTP:[EMAIL PROTECTED] Sent: Wednesday, June 10, 1998 1:36 PM To: Dennis Dai Cc: Debian User list Subject: Re: 3 questions On Wed, 10 Jun 1998, Dennis Dai wrote: 1. What's the difference between hamm (frozen) and slink? Slink will eventually become Debian 2.1. It contains those packages which either aren't ready for prime time yet, or which contain additional features past the freeze date of Debian 2.0. 2. Where is the xload package in hamm (frozen)? Several weeks before I could find it but when I selected, it gave me some kind of dependency error. And I can't even find it in my newly updated package list (in dselect). xload is now included in the xcontrib package (moved out of xproc). 3. I've read discussions about Stampede Linux on Slashdot the other day, and somebody metioned about apt in debian. I can't find it in hamm (frozen) which is within my expectation. I know it won't be out until 2.1, but since somebody already used it, so I think it must be somewhere... Apt is Debian's next-generation frontend to dpkg. While the GUI version of it isn't yet working, the command-line interface and the dselect method are both reasonably polished. Many people feel that using apt as a method for dselect is far superior to the other options. You should be able to find the latest apt package compiled for hamm in the project/experimental directory of your favorite mirror. A version compiled for libc5 (bo) should be available at http://www.debian.org/~jgg/ -- Scott K. Ellis [EMAIL PROTECTED] http://www.gate.net/~storm/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 3 Questions...
[EMAIL PROTECTED] (Bjoern Starke) writes: 1.) i can`t find a file called 'man.config' on my debian 1.2.6. So what should i do? (i need it for configuration stuff) There doesn't seem to be one. But dpkg -L man suggests /etc/manpath.config. 2.) Normal users (members of the group 'ppp') should be able to start a dialup internet connection via pppd. What groups must they be in? [snip] To run /usr/sbin/pppd, they just need dip. dialout might not be necessary, and lets them use any /dev/ttyS*, which you might not want. Experiment. (I don't use pon, so I don't know about it.) 3.) My users aren't able to start internet services like ftp, www or telnet. The programm starts, but services can't be used. (root of course _can_ use them). [snip] Host name lookup failture ^ This suggests something I've seen on this list before; check the permissions on /etc/resolv.conf, they should be -rw-r--r--. Can normal users use IP addresses? -- Carey Evans * [EMAIL PROTECTED] Double, double, toil and trouble, / Fire burn and cauldron bubble.
3 Questions...
Hello, 1.) i can`t find a file called 'man.config' on my debian 1.2.6. So what should i do? (i need it for configuration stuff) 2.) Normal users (members of the group 'ppp') should be able to start a dialup internet connection via pppd. What groups must they be in? I have added them to the following groups: 'ppp', 'dialup', 'dip'. Is there any group missing, or is there one to much? (can one of the groups cause security problems?) 3.) My users aren't able to start internet services like ftp, www or telnet. The programm starts, but services can't be used. (root of course _can_ use them). This is what happens when starting ftp as normal user (ppp group member): ftp ftpopen (to)ftp.uni-paderborn.de Host name lookup failture As root, this is no problem, so what must be changed? Kind regardsbjoern -- It's not a bug, it's a feature. http://home.pages.de/~BjS
Re: 3 Questions
On Mon, 17 Jun 1996, Mark Phillips wrote: It really is empty!! I'll paste in what I did: # pwd /proc/3 # ls /usr/bin/color-ls: exe: No such file or directory /usr/bin/color-ls: root: No such file or directory /usr/bin/color-ls: cwd: No such file or directory cmdline environ fd/ mem stat status cwd@ exe@ maps|root@statm # cat /proc/3/environ | xargs -0n1 | grep '^TERM=' # cat environ # Somehow I doubt the pid of your shell is 3. Type 'echo $$'. Use that number as the pid. Why will the problem go away - what's wrong with using the -detach option? It'll still have a controlling terminal. If you're using a shell without job control (sh), it'll be in the same process group as the shell. But does this have anything to do with why the process regularly dies? Surely having a controlling terminal doesn't do any harm? I thought it was dying because of SIGHUPs or something when you exited the shell. If it's dying for some other reason, check /var/adm/messages. I think there's some option you can set in /etc/ppp/options to make it very verbose? Guy
Re: 3 Questions
On Sun, 16 Jun 1996, Mark Phillips wrote: No - I checked, plus I even removed .cshrc and the problem remained. The strange thing is that TERM is set okay for xterms, but not for linux consoles. Could there be a bug in tcsh? Maybe - do this on a running tcsh whose pid is xxx: cat /proc/xxx/environ | xargs -0n1 | grep '^TERM=' to see what tcsh was passed as the TERM. It should be the same in the actual shell. I did this - the environ file is empty!!! What could be wrong? Use pppd -d /dev/cua1 instead, and your program will go away. oops - I meant problem. Why will the problem go away - what's wrong with using the -detach option? Thanks, Mark Phillips. ([EMAIL PROTECTED])
Re: 3 Questions
On Mon, 17 Jun 1996, Mark Phillips wrote: Maybe - do this on a running tcsh whose pid is xxx: cat /proc/xxx/environ | xargs -0n1 | grep '^TERM=' to see what tcsh was passed as the TERM. It should be the same in the actual shell. I did this - the environ file is empty!!! What could be wrong? I doubt the file was empty. You can't view it with less or something because it stats as zero size. Just cat it. Use the xargs line to format it nicely. Why will the problem go away - what's wrong with using the -detach option? It'll still have a controlling terminal. If you're using a shell without job control (sh), it'll be in the same process group as the shell. Guy
Re: pppd and setuidness (was Re: 3 Questions)
One could make the uid of the account zero to achieve this without making pppd setuid, though I can imagine this making people jump up and down about security - can anyone think of an attack on this? If the user figures a way to change their shell, you're dead. Quite so. Similarly if there's a way of running a shell under a uid provided you know the appropriate password. AFAICT su is safe against this as long as pppd (or whatever script one uses) isn't in /etc/shells. I'd be very wary indeed of actually *trying* this! - Richard -- http://www.elmail.co.uk/staff/richard/ GCS d- s+:- a-- C++ ULVS+++$ P+++ L++ E++ W(++,--) N(++,+) o? K w--- O? M- V? PS(+,+++) PE Y+ PGP+ t- 5++ X+@ R tv--- b++ DI+ D+ G e++ h r% y++
Re: 3 Questions
On Mon, 17 Jun 1996, Mark Phillips wrote: Maybe - do this on a running tcsh whose pid is xxx: cat /proc/xxx/environ | xargs -0n1 | grep '^TERM=' to see what tcsh was passed as the TERM. It should be the same in the actual shell. I did this - the environ file is empty!!! What could be wrong? I doubt the file was empty. You can't view it with less or something because it stats as zero size. Just cat it. Use the xargs line to format it nicely. It really is empty!! I'll paste in what I did: # pwd /proc/3 # ls /usr/bin/color-ls: exe: No such file or directory /usr/bin/color-ls: root: No such file or directory /usr/bin/color-ls: cwd: No such file or directory cmdline environ fd/ mem stat status cwd@ exe@ maps|root@statm # cat /proc/3/environ | xargs -0n1 | grep '^TERM=' # cat environ # Why will the problem go away - what's wrong with using the -detach option? It'll still have a controlling terminal. If you're using a shell without job control (sh), it'll be in the same process group as the shell. But does this have anything to do with why the process regularly dies? Surely having a controlling terminal doesn't do any harm? Thank's for your help, Mark Phillips. ([EMAIL PROTECTED])
3 Questions
I have 3 problems I would appreciate help with. 1. How does TERM get set? When bash is the login shell for a user, it seems that TERM gets set to linux when logging in from the console. But when I changed my shell to tcsh, TERM no longer gets set to linux as it should. Why? P.S. Is there any advantage to using bash instead of tcsh? Does bash have all the features that tcsh has? 2. I use the following command: # pppd -d -detach /dev/cua1 To establish my ppp link to uni. However I have been finding that often I get a message saying that this job is done, even though the ppp connection has not been broken at the other end. I just run this command again and the link is reestablished, but it is annoying the way it just dies every now and then for no reason. Why? Also, why is there no ppp-off script included with the ppp package? 3. My machine name is destiny, yet I cannot rlogin to my own machine. When I type rlogin destiny I get: destiny.phillips.com.au: No route to host I don't know why it doesn't work. What follows is all the information that I thought might be relevant. I hope someone can help me. My hosts file is: 127.0.0.1 localhost 192.1.1.1 destiny.phillips.com.au destiny I have setup my resolv.conf for my uni ppp connection, namely: domain cc.flinders.edu.au search maths.flinders.edu.au cs.flinders.edu.au stats.flinders.edu.au nameserver 129.96.252.31 nameserver 129.96.252.46 nameserver 129.96.1.21 These nameservers are the ones at uni. I would have thought though that doing rlogin destiny would use the lo interface? When I run route I get: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface localhost * 255.255.255.255 UH0 0 1 lo annex05.cc.flin * 255.255.255.255 UH0 0 0 ppp0 default annex05.cc.flin 0.0.0.0 UG0 0 3 ppp0 (when not connected via ppp, I only get the first two lines). When I run ifconfig I get: loLink encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 TX packets:1 errors:0 dropped:0 overruns:0 ppp0 Link encap:Point-Point Protocol inet addr:129.96.250.55 P-t-P:129.96.250.15 Mask:255.255.0.0 UP POINTOPOINT RUNNING MTU:552 Metric:1 RX packets:2783 errors:0 dropped:0 overruns:0 TX packets:4456 errors:0 dropped:0 overruns:0 Does anything here seem wrong? I can't work out why it doesn't work as I compared it with my slackware system (which does work) and can't see any significant differences. Thank's in advance for your help. Mark Phillips. ([EMAIL PROTECTED])
Re: 3 Questions
On Sun, 16 Jun 1996, Mark Phillips wrote: 1. How does TERM get set? it is set by login(1). P.S. Is there any advantage to using bash instead of tcsh? Does bash have all the features that tcsh has? well, being a LONG time tcsh user, no, bash can't do everything tcsh does. tcsh can do command line spell checking, has a better (IMO) built in ``which'' (it recognizes aliases), amoung other things. but bash will help prevent you from learning bad skills (auto-spell correction only teaches you that you don't have to spell well). and bash is more standard. i highly recommend working with bash rather than tcsh, i switched for a variety of reasons, especially for shell programming. Linus dislikes tcsh a great deal, and also urges not to use it, and there is a rather good FAQ on the dangers of (t)csh programming posted regularly to comp.unix.programmer Also, why is there no ppp-off script included with the ppp package? good question. and why isn't pppd setuid root? if it's a security issue, a ppp group would be in order. jeff --- Why Linux? source code. POSIX. tcpip. job control. support from the authors. drivers for most hardware. because one terminal or process is never enough. forget the other O/Ss, i use Linux- the choice of a gnu generation.
Re: 3 Questions
On Sun, 16 Jun 1996, Jeffery S. Coy Jr. wrote: On Sun, 16 Jun 1996, Mark Phillips wrote: good question. and why isn't pppd setuid root? if it's a security issue, a ppp group would be in order. I'd say 'because it doesn't neeed to be' is a good justification. If you need to have non-root users execute ppp as root, take a look at the 'sudo' or 'super' packages. They allow you to define commands that can be executed as root by a set of users... without forcing your choice of 'this should be setuid root' programs on all other Debian users. Christian
pppd and setuidness (was Re: 3 Questions)
good question. and why isn't pppd setuid root? if it's a security issue, a ppp group would be in order. I'd say 'because it doesn't neeed to be' is a good justification. If you need to have non-root users execute ppp as root, take a look at the 'sudo' or 'super' packages. They allow you to define commands that can be executed as root by a set of users... without forcing your choice of 'this should be setuid root' programs on all other Debian users. Personally I find that the diald package is an excellent way of avoiding this whole issue. However: As someone pointed out last time this came up, when your machine is acting as a PPP server you need to run the pppd as root from a dialin account. One way of doing this (with the commercial PPP with which I am familiar) is to make the pppd setuid root and run it from a shell script which is that user's login shell. (I suppose you could run the pppd directly, but doing it from scripts is more convenient as it allows you to pass arguments to the pppd and set various options on a per-user basis.) One could make the uid of the account zero to achieve this without making pppd setuid, though I can imagine this making people jump up and down about security - can anyone think of an attack on this? - Richard -- http://www.elmail.co.uk/staff/richard/ GCS d- s+:- a-- C++ ULVS+++$ P+++ L++ E++ W(++,--) N(++,+) o? K w--- O? M- V? PS(+,+++) PE Y+ PGP+ t- 5++ X+@ R tv--- b++ DI+ D+ G e++ h r% y++
Re: 3 Questions
On Sun, 16 Jun 1996, Mark Phillips wrote: 1. How does TERM get set? TERM is set from the kernel in init/main.c to linux. init, login, et al, propagaate it. When bash is the login shell for a user, it seems that TERM gets set to linux when logging in from the console. But when I changed my shell to tcsh, TERM no longer gets set to linux as it should. Why? Perhaps your .tcshrc or .cshrc is messing with it. P.S. Is there any advantage to using bash instead of tcsh? Does bash have all the features that tcsh has? Read csh programming considered harmful. Just do a web search and you'll have many hits. # pppd -d -detach /dev/cua1 Use ppd -d /dev/cua1 instead, and your program will go away. Also, why is there no ppp-off script included with the ppp package? There is - /etc/ppp/ip-down 3. My machine name is destiny, yet I cannot rlogin to my own machine. When I type rlogin destiny I get: destiny.phillips.com.au: No route to host 192.1.1.1 destiny.phillips.com.au destiny I would have thought though that doing rlogin destiny would use the lo interface? Look at what you've told it destiny's address was. Guy
Re: pppd and setuidness (was Re: 3 Questions)
On Sun, 16 Jun 1996, Richard Kettlewell wrote: good question. and why isn't pppd setuid root? if it's a security issue, a ppp group would be in order. Personally I find that the diald package is an excellent way of avoiding this whole issue. However: i've been using kerneld (and request-route) to do this for some time now, so it really wasn't an issue. i was merely asking a question (since pppd installs itself setuid root when you build your own). jeff --- Why Linux? source code. POSIX. tcpip. job control. support from the authors. drivers for most hardware. because one terminal or process is never enough. forget the other O/Ss, i use Linux- the choice of a gnu generation.
Re: 3 Questions
Thanks for your help. When bash is the login shell for a user, it seems that TERM gets set to linux when logging in from the console. But when I changed my shell to tcsh, TERM no longer gets set to linux as it should. Why? Perhaps your .tcshrc or .cshrc is messing with it. No - I checked, plus I even removed .cshrc and the problem remained. The strange thing is that TERM is set okay for xterms, but not for linux consoles. Could there be a bug in tcsh? # pppd -d -detach /dev/cua1 Use ppd -d /dev/cua1 instead, and your program will go away. program or do you mean problem? My problem is that this process keeps on terminating prematurely. I get a message saying the job is finished even though I haven't told it to finish and even though the modem link hasn't been broken. I thought that all the -detach option did was to stop the pppd process from detaching itself from the terminal I ran it from. I don't understand why this would solve my problem. Also, why is there no ppp-off script included with the ppp package? There is - /etc/ppp/ip-down But isn't this only executed after the link goes down? How do I tell the link that I want it to go down - that's what I thought ppp-off was for? Also, if I put things like reset the modem in ip-down, won't this happen even when pppd dies prematurely like I mention above (in which case I want to restart pppd rather than resetting the modem.) Thanks again for your help - I appreciate it. Mark Phillips. ([EMAIL PROTECTED])
Re: 3 Questions
On Sun, 16 Jun 1996, Mark Phillips wrote: No - I checked, plus I even removed .cshrc and the problem remained. The strange thing is that TERM is set okay for xterms, but not for linux consoles. Could there be a bug in tcsh? Maybe - do this on a running tcsh whose pid is xxx: cat /proc/xxx/environ | xargs -0n1 | grep '^TERM=' to see what tcsh was passed as the TERM. It should be the same in the actual shell. Use pppd -d /dev/cua1 instead, and your program will go away. oops - I meant problem. Also, why is there no ppp-off script included with the ppp package? There is - /etc/ppp/ip-down But isn't this only executed after the link goes down? How do I tell the link that I want it to go down - that's what I thought ppp-off was for? Read the manpage for ppp under the signals option. Send it a SIGTERM with for example killall pppd. Also, if I put things like reset the modem in ip-down, won't this happen even when pppd dies prematurely like I mention above (in which case I want to restart pppd rather than resetting the modem.) Use the persist option for this. Guy