Koozali.org: home of the SME Server

backups of passwd, group, gshadow, and shadow

osiris9510

backups of passwd, group, gshadow, and shadow
« on: February 03, 2006, 09:07:34 PM »
Does E-Smith have any way of restoring corrupted files of:

/etc/passwd
/etc/group
/etc/gshadow
/etc/shadow

???

I've narrowed the problem down to those files.

What are the lock files associated with these 4 files? each of them has the same number in it, 3447. Is that a process ID? If it is, would killing that process help? There is no process 3447, but maybe its a rouge process? What if I deleted these 4 lock files?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: backups of passwd, group, gshadow, and shadow
« Reply #1 on: February 03, 2006, 09:09:16 PM »
Quote from: "osiris9510"
Does E-Smith have any way of restoring corrupted files of:

/etc/passwd
/etc/group
/etc/gshadow
/etc/shadow


They are included in a standard backup/restore. They can't be restored individually - and it doesn't make sense to do so.

osiris9510

backups of passwd, group, gshadow, and shadow
« Reply #2 on: February 03, 2006, 09:12:28 PM »
Apparently one of those is corrupted. I can't make a new user with useradd, I always get "Segmentation fault".  I can change existing users but I can't add any new ones. Any ideas?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
backups of passwd, group, gshadow, and shadow
« Reply #3 on: February 03, 2006, 09:21:43 PM »
Quote from: "osiris9510"
Apparently one of those is corrupted. I can't make a new user with useradd, I always get "Segmentation fault".  I can change existing users but I can't add any new ones. Any ideas?


Search the bug tracker.

Offline jfarschman

  • *
  • 406
  • +0/-0
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com