Re: Total nOOb question: uninstalling software
On Thu, Dec 12, 2002 at 12:27:54AM +0800, Alex RENE wrote: > Hi all... I know, it's REALLY a nOOb type of question but... How do you > uninstall stuff you did not install by RPMs like from tar.gz and the > likes ... I have WAY too many browsers installed on my machine, and I d > like to get rid of a few other things too... If there is an uninstall target in the makefile just do # make uninstall in the source directory, otherwise you're on your own. Pat -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Relying on NFS availability
> set the default mount options for the NFS filesystem(on the client) to > be soft(I believe default is hard). When the system boots if it cannot > mount it, it should continue, then when something tries to access it, > it will try(again) to mount it. I am not really knowledgeable on that subject, but I have read that doing soft mounts is bad, because in some cases it may result in file corruption. Pat -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: nfs and other problems
> > > >in.telnetd: LOCAL > >in.ftpd:LOCAL > > > >ALL : 192.168.230. > >ALL:127.0.0.1 255.255.255.0 > >swat: 127.0.0.1 192.168.230. > > > /dallas ripley (rw,root_squash) First there should be no space between hosts and options. Like: /dallas ripley(rw,root_squash) An such line says you want to export to ripley. But I assume you want to export to the whole 192.168.230. THis should be (on the server), something like: /dallas 192.168.230.0/22(rw,root_squash) Pat -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
detect caracter set of a text
Hi, I have several problems with non utf-8 encoded texts, and I would like to know how to detect which encoding it is. Is there a utility usefull for that ? (I use iconv to convert, and I assume latin-1 most of the time and it works, but...) Pat -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Wrong view of ä,ö,ü
Hi, > I installed redhat 8, some programms shows the ö,ä,ü ... wrong. (vim, > perl output) > What can I do? If this is the problem I describe, this should only happen with files created with older versions of redhat. I think this is linked with UTF-8 being the default encodind, now. To overcome, you can, either set LANG=C before launching your application or convert your files encodings with iconv. Your encoding is surely latin-1. If it is not, I have no clue on how to do to detect the encoding of a file. It is a bit strange that vim doesn't recognize the right encoding, as in my case it did. Pat -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: command line config tool
Hi, You can use in text mode redhat-config-print-tui, but for a real comand line I don't know. > Hello > > Just wondering if RH has any tools that configure LPRng > from the commandline or would someone who has forgone > the pleasures of the GUI's just have to get his hands > dirty and dig into various config files. If I am not wrong the config file are xml file not really usable. Or maybe not easily usable... Pat -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
su adds ESC%G when run on tty or in rc.local
Hi, i use redhat 8.0. When, on a tty, I do $su - snfs -c "echo nothing" > /root/test in /root/test, I have ESC%Gnothing What is that ? To have more info, I do $(set -x;test=`su - snfs -c "echo nothing"`; echo $test) 2>/root/set_test in /root/set_test, there is: + set -x ++ su - snfs -c 'echo nothing' + test=ESC%Gnothing + echo $'\E%Gnothing' It didn't do that in 7.3. su snfs -c hasn't any problem, too. locale gives LANG=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL= Could someone tell me what is the issue, here ? Thanks, Pat -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: NFS Security
> > I remember reading an article online a month or two back about tunneling NFS > > over SSH. Do a Google search and see if you can find it. You may also use snfs, at http://www.math.ualberta.ca/imaging/snfs/ There is still some issues with file locking and nfs tunneling. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: VNC Server on Redhat 7.2
On Fri, Apr 12, 2002 at 06:38:25AM -0700, Brian wrote: > I did, service start vncserver and it comes back with an ok. I have a You have to put things in /etc/sysconfig/vncservers Another way of running vncservers for anyone is to use the -inetd switch of vnc and start the server from xinetd (you must also have a display manager running and accepting xdmcp connections from localhost). > Is anyone running VNC from there Windows to Linux? I can get working > from Linux to Windows. I do. It is tunneled into ssh. First the users make an ssh connection on the server. They start the vnc server by hand, and then they connect with vncviewer (and ssh tunneling). Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: ntpd doesn't use distant servers time
On Fri, Mar 08, 2002 at 10:38:06AM -0600, Bret Hughes wrote: > On Fri, 2002-03-08 at 09:08, Dumas Patrice wrote: > > > [ repeated 4 times ] > > sherkan.tuxfamily.net: *Timeout* > > > > I think the problem lies on my side because these are public timeservers for my > > zone. I think I have no firewall on my computer. And I don't administer the one > > which are on the way. However, it seems to me that they accept any outgoing > > connection. Is there a need for ingoing connection for ntp ? > > > > What could I do to understand what happens ? Is there any tool which could be > > used to follow a packet and know where a firewall blocked it ? > > Are you using ipchains for your firewall? It is the default for RH 7x. I think I have no firewall, as I have ipchains installed, but iptables instead, and I have no /etc/sysconfig/iptables, and also here is the chkconfig output: [root@zeus config-cired]# chkconfig --list iptables iptables0:Arret 1:Arret 2:Arret 3:Arret 4:Arret 5:Arret 6:Arret (Arret means stopped) Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: ntpd doesn't use distant servers time
> > Reachability for all the listed timeservers is 0, which means you have > never had a successful connect. Check your firewall logs, or do an > ntptrace. Chances are, the packets are being rejected at your side or > theirs. I did a ntptrace, It gives: [root@zeus lts_kmap]# ntptrace -d -v -t 40 ntp.tuxfamily.net DoTransmit(80.67.179.2) DoTransmit to 80.67.179.2 timeout [ repeated 4 times ] sherkan.tuxfamily.net: *Timeout* I think the problem lies on my side because these are public timeservers for my zone. I think I have no firewall on my computer. And I don't administer the one which are on the way. However, it seems to me that they accept any outgoing connection. Is there a need for ingoing connection for ntp ? What could I do to understand what happens ? Is there any tool which could be used to follow a packet and know where a firewall blocked it ? Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
ntpd doesn't use distant servers time
Hi, I have a redhat 7.2, ntp-4.1.0-4. I have a single host I try to synchronise with external servers. I took the servers from my country (france) in the list of public servers. I put them in my /etc/ntp.conf: #begin /etc/ntp.conf server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 server ntp.univ-lyon1.fr server ntp.via.ecp.fr server ntp.tuxfamily.net server ntp.obspm.fr driftfile /etc/ntp/drift #multicastclient# listen on default 224.0.1.1 broadcastdelay 0.008 #logconfig =syncall +clockall logconfig all authenticate no #end of ntp.conf After starting, it seems that I can only synchronize with the local clock, here is the ntpq output of peer and associations: [root@zeus root]# ntpq ntpq> pe remote refid st t when poll reach delay offset jitter == LOCAL(0)LOCAL(0)10 l 17 6470.0000.000 0.008 dns.univ-lyon1. 0.0.0.0 16 u- 6400.0000.000 4000.00 lptfpc46.obspm. 0.0.0.0 16 u- 6400.0000.000 4000.00 zen.via.ecp.fr 0.0.0.0 16 u- 6400.0000.000 4000.00 sherkan.tuxfami 0.0.0.0 16 u- 6400.0000.000 4000.00 ntpq> ass ind assID status conf reach auth condition last_event cnt === 1 8812 9014 yes yes nonereject reachable 1 2 8813 8000 yes yes nonereject 3 8814 8000 yes yes nonereject 4 8815 8000 yes yes nonereject 5 8816 8000 yes yes nonereject ntpq> Here is my /etc/sysconfig/clock: ZONE="Europe/Paris" UTC=true ARC=false and the date is quite good allready. mar mar 5 16:19:02 CET 2002 Note: I run timed, but with the options such that it is a master: [root@zeus sysconfig]# ps -awx | grep timed 3028 ?S 0:00 timed -t -M -F localhost Any help apreciated. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
how to uninstall .src.rpm ?
Hi, I would like to uninstall some .src.rpm I have installed on my system. I may go into the BUILD, SPEC, SOURCE. directory and delete the directories/files by hand, but is there a more automated way of doing that ? Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
sendmail nullclient and mail to root
Hi, I have configured sendmail as a nullclient with the following parameters. [root@zeus]# cat /etc/mail/null.mc include(`/usr/share/sendmail-cf/m4/cf.m4') VERSIONID(`linux setup for Red Hat Linux nullclient')dnl OSTYPE(`linux') undefine(`UUCP_RELAY')dnl undefine(`BITNET_RELAY')dnl DOMAIN(`generic')dnl FEATURE(`nullclient',`boukha.centre-cired.fr')dnl undefine(`ALIAS_FILE')dnl [root@zeus]# m4 /etc/mail/null.mc > /etc/sendmail.cf However, it seems that sendmail is trying to send mail to root on the mailhub: [root@zeus]# sendmail -bp /var/spool/mqueue (18 requests) Q-ID --Size-- -Q-Time- Sender/Recipient g17321f05428 73 Thu Feb 7 04:02 root (Deferred: 451 <[EMAIL PROTECTED]>... Sender address ) root g16921201150 73 Wed Feb 6 10:02 root (Deferred: 451 <[EMAIL PROTECTED]>... Sender address ) root How could I notify sendmail that root is really local and that mail should be delivered locally or via procmail ? Another question: how to have sendmail reread its config file ? For lot of daemons sending -HUP does the trick, but I haven't seen anything in the sendmail conf. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Problems tunneling X after su to root.
On Thu, Jan 24, 2002 at 09:16:44AM -0500, Jeff Bearer wrote: > Hello, > > I have some strange beahvior and I can't figure out what the deal is. > Some of my servers I can ssh to, su to root and tunnel an x program like > up2date. Others won't and give me this error: > > X connection to :12.0 broken (explicit kill or server > shutdown) > > If I connect to the server as root I can tunnel X, just not when I su to > root. The servers are both RH 7.2 and are both up to date. I don't see > any reason why they are behaving diffrently. Does anybody know why? I haven't a definite answer, but you should try su - instead of su. I know su - emulates a login and su doesn't. For example when I do a su LOGNAME is still my user name, with su - it is root. Maybe something like that is creating trouble. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Need help with a bash script - -n and -z always giving "true" ?
On Wed, Jan 23, 2002 at 01:51:50PM -0600, JW wrote: > > if [ -n `mount |grep "/mnt/root/cschomeserver/e"` ] #if it's already mounted don't >mount it > > fluorite:~ # ./test.sh > ./test.sh: [: too many arguments The problem in your script is that the result of the command in backquotes is put as is by bash where it is. Thus you end up with something like if [ -n server:/mnt/root on /mnt/root/. ] This is an incorrect syntax for [ -n ]. ( [ -n server:/mnt/root ] should be fine, but here you have too many arguments). The solution given in the other mail should be fine, you can test the error status of grep. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: after upgrade to 7.2 X don't start console ownership problem
Hi, > Pat I have seen these type of errors when I logged in as one user, su'ed > to another and then tried to startx. My one and only suggestion is to > log off all VT's and then login as the user and try it. I allready verified that, as I, too, had some problems when logging as a user and another user had allready logged in into another vt (with floppy disk access). Thanks anyway. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: after upgrade to 7.2 X don't start console ownership problem
On Thu, Jan 17, 2002 at 11:28:53AM -0500, Juan Martinez wrote: > In 6.X, there is a file /etc/security/console.perms which changes > ownership and permissions of files on the system when you login. I've got it too, and it seems that it wasn't changed during the upgrade (no console.perms.rpmnew and it seems to me that it is the same file). > I don't think the setup changed between 6.X and 7.X > > The file is read by the pam_console module and all files listed will get > their permissions changed so the user at the console can use the > device. When the user logs out, the file permissions are reverted to > those listed in console.perms > > In my file I have the line: > 0600 /dev/console 0600 root.root Me too. And also 0600 0600 root.root According to the pam_console man page list, /var/run/console.lock and /var/run/console are important, that's why I posted that in my previous post: /dev/console is in mode 600 owned by root /var/run/console.lock is present in mode 600 owned by root /var/run/console contains a file with name the name of the user currently logged, owned by root with perms 600 I think it shows that the user has his rights given by pam_console. Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
after upgrade to 7.2 X don't start console ownership problem
Hi, Maybe this should go on redhat-install-list ? I have just upgraded my redhat box from a 7.0 (with lots of 7.1 and 7.2 rpm) to 7.2. I start X from the console using startx. I did it without problem just one time. Now I can only start X as root. As a user, I get: Fatal server error: PAM authentication failed, cannot start X server. Perhaps you do not have console ownership? I searched a bit on the web and I found my problem risen a lot of times, but I haven't found a solution. /dev/console is in mode 600 owned by root /var/run/console.lock is present in mode 600 owned by root /var/run/console contains a file with name the name of the user currently logged, owned by root with perms 600 Any idea ? Pat ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list