<br><br><br>Jack Byers [EMAIL PROTECTED] On Sat, Dec 01, 2001 at 08:59:49PM +0000, Jack Byers wrote: > > > > Well I was trying to back up my /etc dir of my 5.2 sys byers > > by copying it over to a subdir under a username on my 6.2 sys corni > > I used ftp as root and thot i had the right syntax > > to get the files copied over to that subdir.
> Whoa... Sounds very bad. > Another exemple why you shouldn't do this as root, I guess. umm, yes altho i was trying to copy files some of which rqr root > > full reinstall only possibility? or what? > > I am not thinking too clearly right now... > > any advice appreciated.. > Use `ls` to get the list of the files in /etc/ that are dated > from the ftp transfer. Use `rpm -qf` to determine what packages > these belong to and re-install them using the `--replacefiles` > to get the /etc/ files by default. > Some of the files change, you should be able to edit by hand > provided you don't have too complicated a system (passwd, > group, shadow, hosts, etc...) > Emmanuel Emmanuel, thanks for your response I actually didnt get hit too hard, the ftp command quit well before copying all of /etc on byers to /etc on corni, probably bc of some permissions thing, not sure. In any case I am extremely lucky. corni is still up, functioning It did overwrite XF86Config which might not be a prob, might work wochange I havent tested restarting X yet, looking for my corni monitor specs It also got /etc/hosts* these I have corrected It got fstab I corrected this, havent tested reboot yet locate was broken bc /etc/group was overwritten i found an old copy now locate works again it got inetd.conf I corrected this. maybe a few others also corrected. The remaining stuff looks like i dont use much or at all, but would like to correct them if it is clear how to proceed in a way that doesnt cause me more problems than i already have. I am not sure exactly how rpm works with that '--replacefiles' from the man page --replacefiles Install the packages even if they replace files from other, already installed, packages. not clear as to implications: --is it necessary to use this --replacefiles option --will upgrade of a pkg fail wo it? --or will it upgrade the basic pkg wo overwriting my faulty files? My main question re doing rpm upgrade on various pkgs is: will it, especially with the --replacepkgs : modify many other config files that I havent overwritten and dont want modified? I have done some rpm upgrading in the past, but far from an expert for what it is worth here is the list of files and rpm -qf response Any comments welcome root@corni /etc]# rpm -qf DIR_COLORS fileutils-4.0-21 /etc/HOSTNAME <<< corrected /etc/MACHINE.SID <<< what is this? what creates it? [byers@byers /etc]$ rpm -qf MACHINE.SID & [byers@byers /etc]$ file MACHINE.SID is not owned by any package [root@corni /etc]# rpm -qf Muttrc mutt-1.0.1i-6 [root@corni /etc]# rpm -qf TextConfig SVGATextMode-1.9-1 [root@corni /etc]# rpm -qf adjtime initscripts-5.00-1 [root@corni /etc]# rpm -qf aliases sendmail-8.9.3-20 [root@corni /etc]# rpm -qf aliases.db sendmail-8.9.3-20 [root@corni /etc]# rpm -qf apcd.conf file apcd.conf is not owned by any package [root@corni /etc]# rpm -qf at.deny at-3.1.7-14 [root@corni /etc]# rpm -qf auto.master autofs-3.1.4-4 [root@corni /etc]# rpm -qf auto.misc autofs-3.1.4-4 [root@corni /etc]# rpm -qf backuptab file backuptab is not owned by any package [root@corni /etc]# rpm -qf bashrc bash-1.14.7-22 [root@corni /etc]# rpm -qf codepages samba-common-2.0.6-9 [root@corni /etc]# rpm -qf codepages/codepage.437 file codepages/codepage.437 is not owned by any package [root@corni /etc]# root@corni /etc]# rpm -qf conf.linuxconf linuxconf-1.17r2-6 [root@corni /etc]# rpm -qf cron.daily/updatedb.cron file cron.daily/updatedb.cron is not owned by any package [root@corni /etc]# rpm -qf cron.daily/inn-cron-expire inn-2.2.2-3 [root@corni /etc]# rpm -qf cron.daily/inn-cron-rnews inn-2.2.2-3 [root@corni /etc]# rpm -qf cron.daily/tetex.cron tetex-1.0.6-11 [root@corni /etc]# rpm -qf cron.daily/tmpwatch tmpwatch-2.2-1 [root@corni /etc]# rpm -qf cron.hourly/inn-cron-nntpsend inn-2.2.2-3 [root@corni /etc]# rpm -qf cron.weekly/makewhatis.cron man-1.5h1-1 [root@corni /etc]# rpm -qf crontab crontabs-1.7-7 [root@corni /etc]# rpm -qf csh.cshrc setup-2.1.8-1 [root@corni /etc]# rpm -qf dhcpc dhcpcd-1.3.18pl3-1 [root@corni /etc]# rpm -qf dhcpc/resolv.conf file dhcpc/resolv.conf is not owned by any package [root@corni /etc]# rpm -qf dhcpc/hostinfo-eth0 file dhcpc/hostinfo-eth0 is not owned by any package [root@corni /etc]# root@corni /etc]# rpm -qf dumpdates dump-0.4b15-1 [root@corni /etc]# rpm -qf exports <<< corrected setup-2.1.8-1 [root@corni /etc]# rpm -qf fdprm util-linux-2.10f-7 [root@corni /etc]# rpm -qf gated.conf.sample gated-3.5.11-1 [root@corni /etc]# rpm -qf gettydefs getty_ps-2.0.7j-9 [root@corni /etc]# rpm -qf gpm-root.conf gpm-1.18.1-7 [root@corni /etc]# rpm -qf group <<< fixed, found old corni copy setup-2.1.8-1 [root@corni /etc]# rpm -qf hosts.allow <<< corrected setup-2.1.8-1 [root@corni /etc]# rpm -qf host.conf <<< ok setup-2.1.8-1 root@corni /etc]# rpm -qf inetd.conf <<< corrected inetd-0.16-4 [root@corni /etc]# rpm -qf info-dir info-4.0-5 thanks Jack _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list