[SOLVED] username and group not found in /etc/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] username and group not found in /etc/group

Postby elviejito » Oct 12th, '15, 06:33

I have installed Mageia 5, 64-bit. Let's say my initial username as created on install is 'anxius'. KTerminal displays the username upon launch as 'anxius@localhost'. However, when I go to /etc/group there is no user 'anxius' nor is there a group by that name. In /etc/group 'live' displays with a group ID number of 1000, which I usually associate with the owner.
When I look at files by username and group, what displays is username 'anxius' and group 'live'.
I imagine I can change all this by creating a username and group 'anxius' (maybe with a GID of 500), and then doing a chown (chown -R anxius:anxius *) starting at the head of the user directory tree. I'm just worried that 'live' might be there as a group for a reason and I don't want to trash the installation. I've been using Mageia 5 for a few weeks now and just noticed this.
And if I do the above, can I then simply delete the group 'live'?
Any comments or ideas are welcomed.
Last edited by elviejito on Oct 12th, '15, 20:33, edited 1 time in total.
elviejito
 
Posts: 9
Joined: Sep 29th, '15, 17:43

Re: username and group not found in /etc/group

Postby ghostdawg » Oct 12th, '15, 16:22

I remember having this issue with the livecd Mga4 and was able to change my main user info from live to username. It also happen once user is changed, when you created a new file, it would give it the Live group ID. But now I can't remember exactly what was the solution but I got it all sorted out. Check on bugzilla and see if a bug report was done about it. I don't remember if I did once I got is fixed.
Check on IRC the #mageia channel, there's were I got my answers.
IBM ThinkCenter | 1.4ghz | 512mb | 20gb | Mageia 1-x86_32
ghostdawg
 
Posts: 11
Joined: Jun 2nd, '11, 03:17
Location: USA (MO)

Re: username and group not found in /etc/group

Postby elviejito » Oct 12th, '15, 20:30

Thanks.
I hashtagged the group 'live' and added the 'anxius' group with 'anxius' as user and that seems to have resolved the issue. Mageia still boots and I can still get into the 'anxius' login.
elviejito
 
Posts: 9
Joined: Sep 29th, '15, 17:43

Re: username and group not found in /etc/group

Postby doktor5000 » Oct 12th, '15, 20:39

It would help if you could provide the output as your user "anxius" of the command
Code: Select all
id

and also the content of /etc/passwd and /etc/group here.

FWIW, as the group name is only a representation, should be no problem just renaming the group in singleuser mode via groupmod.
As you mention UID and GID of 500, any particular reason why you need that?
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: 18058
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