Ben, as another approach you could (as root)
 useradd -m dummy
 passwd dummy  (...)
 
become user 'dummy' and install what is interesting to you
then as root again compare what trashedUser and dummy have/have not.
 on the console 'ls -la' , but ideal for comparison is the midnight
commander 'mc' -if installed (Options/show hidden files)
After having copied those to trashedUser change the owner ship
 chown  trashedUser._maybeTrashedUser_ filename
(but check in /home/dummy/ first what the correct group is since some
applications may use their group id (though I am not sure for regular user
accounts)
When you are sure you can simplify the many chown commands by using
wildcards for files ( .bash*  and so on...) or -R for recursive for
entire directories ( .kde/ and so on)

Well, this is a nice exercise, but quiet a bit of work if this is all new
to you. You may be better off by just creating a new user and copying your
old data and documents to the new account.

 Good luck ...................... Horst

CLIPPED FROM ARCHIVES:
=====================
On Thursday 25 April 2002 15:11, Jacob Meuser wrote:
      > On Thu, Apr 25, 2002 at 02:57:18PM -0700, Mark Bigler wrote:
      > > That should recreate all the default config files and restore
your
      > > home files.  From there you'll need to reestablish the settings
you
      > > want.
      > >
      > > But, I'm sure there are many other cleaner ways to get things
back.
      >
      > Why delete the user account and then recreate it?  That'll just
      > reinstall .profile/.bashrc, no?  Don't those live somewhere in
/etc
      > anyway and could just be copied from there?

....

Reply via email to