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]
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
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 '---''(_/--' `-'\_)
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.
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.
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])
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