WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Backing up root password without backing home directory  (Read 1757 times)

Offline nbt384

  • Newbie
  • *
  • Posts: 17
Backing up root password without backing home directory
« on: February 17, 2010, 01:11:01 AM »
Hi.

Self-explanatory from title - I have a persistent home directory that takes god knows how long to back up when I try to reboot.

Is it possible to back up the root password without backing up the home directory?

Cheers

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Backing up root password without backing home directory
« Reply #1 on: February 17, 2010, 01:39:11 AM »
Edit to remove home/tc from /opt/.filetool.lst
Then in the same file add etc/shadow
10+ Years Contributing to Linux Open Source Projects.

Offline nbt384

  • Newbie
  • *
  • Posts: 17
Re: Backing up root password without backing home directory
« Reply #2 on: February 17, 2010, 03:39:17 AM »
How do I get permission to edit it.

Even as root user, it says "Permission denied"

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Backing up root password without backing home directory
« Reply #3 on: February 17, 2010, 03:51:46 AM »
I am not sure what you have tried.

I use leafpad to edit files.

To start as root, open the terminal, and type sudo leafpad.

To open hidden files, click on the square at the top left, and type in the name.


If you use persistent home and opt, you only need to backup things not in home or opt, which isn't much.

You can also make new extensions for things not in home or opt, and not use backup at all. However, if you did that, to change the password, you would need to make another new extension.

Without backup, start up and shut down is quick.
Many people see what is. Some people see what can be, and make a difference.