Page 1 of 1

[solved]User does not exist, but there is a group

PostPosted: Jul 10th, '14, 20:56
by mark9117
UPDATE: I ran pwck on the files and deleted a rogue user entry for the user in question. We're al god now.

Linux 3.12.21-desktop586-2.mga4 #1 SMP Thu Jun 5 21:33:45 UTC 2014 i686 i686 i686 GNU/Linux

Trying to get my backup server running after a complete rebuild and fresh install. Have hit a snag with the backuppc user. I'm unable to su as that user:

Code: Select all
su: user backuppc does not exist


But there is a passwd for the user in the /etc/passwd file and there is a backuppc group:

Code: Select all
backuppc:x:476:backuppc


The web interface for backuppc sees a different uid than expected:

Code: Select all
Error: Wrong user: my userid is 485, instead of (backuppc)


This is consistent with user information visible on the relevant files:

Code: Select all
-rwsr-xr-x 1  485 backuppc 5448 Oct 19  2013 BackupPC_Admin*
-rwxr-xr-x 1  485 backuppc 3993 Oct 19  2013 BackupPC_Admin.cgi*


I'm pretty sure there's something simple amiss here, but I am unable to add or delete user "backuppc" and while the group shows in userdrake, the user does not.

Clue?

Thanks.

Mark

Re: [solved]User does not exist, but there is a group

PostPosted: Jul 11th, '14, 10:23
by mark9117
A little addendum: this was a messy issue. The installer semed to muck up the backuppc user id and files where scattered al over the place with inadequate access as a result.

Not sure what that was about, but the BackupPC package may not be ready for prime time.

Mark

Re: [solved]User does not exist, but there is a group

PostPosted: Jul 11th, '14, 10:56
by doktor5000
mark9117 wrote:Not sure what that was about, but the BackupPC package may not be ready for prime time.

This is probably not about backuppc, but more about UID/GID generation:
https://bugs.mageia.org/show_bug.cgi?id=5133