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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby mark9117 » Jul 10th, '14, 20:56

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
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

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

Postby mark9117 » Jul 11th, '14, 10:23

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
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

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

Postby doktor5000 » Jul 11th, '14, 10:56

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest