You are not logged in.

#1 2012-08-21 21:33:58

StR@ng3r
Member
Registered: 2011-11-12
Posts: 61

git-daemon user created after latest update

I just updated (among others git) and after my reboot, I was presented a "git-daemon user" on my login screen.

Can anyone tell me the reason for this? What are the benefits and do I want/need that thing? If not, what would be the best way to get rid of that 'feature' (user)?

Thanks

Last edited by StR@ng3r (2012-08-21 21:34:20)

Offline

#2 2012-08-22 19:27:09

AaronBP
Member
Registered: 2012-08-06
Posts: 140
Website

Re: git-daemon user created after latest update

I've got the same issue. What DM are you using? Do you have accountsservice installed?

Offline

#3 2012-08-22 19:37:59

bzt
Member
From: Germany
Registered: 2010-04-11
Posts: 38

Re: git-daemon user created after latest update

Try using the following command. I used this to hide the "switch user" option from the GNOME Shell menu, which appeared after the update though there was only one login account.

# chsh -s /bin/false git

My Arch Linux related PKGBUILD pastes: http://pastebin.com/u/bzt

Offline

#4 2012-08-23 21:20:21

StR@ng3r
Member
Registered: 2011-11-12
Posts: 61

Re: git-daemon user created after latest update

I am using lighdm and the above actually did the trick. Thank you very much.

Offline

#5 2012-08-23 22:10:38

Musikolo
Member
Registered: 2008-11-10
Posts: 30

Re: git-daemon user created after latest update

Hi guys,

What I have done to solve it is to change the user ID. First of all I searched for files owned by the git user:

find / -type f -user git

Since none was found, I edited the file /etc/passwd and changed the ID 999 for 499. You can also do this using some other command or KUser, but the result is the same.

git:x:499:999:git daemon user:/:/bin/false

After that, the user disappeared from my login box.

I hope it helps!

Offline

#6 2012-08-24 12:38:26

d029940
Member
Registered: 2012-08-24
Posts: 7

Re: git-daemon user created after latest update

Hello Musikolo,

I am using lightdm and tried to apply your tip. It did not work, although the variable minimum-uid = 1000 in /etc/lightdm/users.conf.

Now something very strange:
- Adding git to the variable hidden-users in /etc/lightdm/users.conf actually works on my archlinux installation in virtualbox 32bit, classic boot. The same config does not work on my native 64bit machine using systemd for boot.

Last edited by d029940 (2012-08-24 12:49:35)

Offline

#7 2013-04-01 14:12:28

otto88
Member
Registered: 2012-12-16
Posts: 74

Re: git-daemon user created after latest update

not work it, how do i do to delete "git-user" from my kdm login ??

thanks

Offline

#8 2013-11-02 11:29:04

chuckiv
Member
Registered: 2013-10-28
Posts: 87

Re: git-daemon user created after latest update

bump.

i also would like to know how to remove this user

and more importantly actually, understand wtf just happend.

i certainly did not add this "user"

hmm

Offline

#9 2013-11-02 16:12:40

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,100

Re: git-daemon user created after latest update

otto88 wrote:

how do i do to delete "git-user" from my kdm login ??

Either give the 'git' user a UID <500
or add it to the 'HiddenUsers=' line in '/usr/share/config/kdm/kdmrc', after uncommented it.

chuckiv wrote:

how to remove this user

Why do you want to remove it? You can keep it and not use it.

understand wtf just happend.

This user is created by the 'git.install' scriptlet of the package, and it will be re-created during the next upgrade of git, if you remove it.
To get rid of it first uninstall the package:
pacman -R git
and re-install it with:
pacman -S --noscriptlet git

But the 'git' user/group will be re-created at the next upgrade of git.

Last edited by berbae (2013-11-02 16:14:54)

Offline

#10 2013-11-09 02:22:55

chuckiv
Member
Registered: 2013-10-28
Posts: 87

Re: git-daemon user created after latest update

add it to the 'HiddenUsers=' line in '/usr/share/config/kdm/kdmrc', after uncommented it

thank you for the explanation and the simplest solution

big_smile

edit: I actually just made kdm auto-login myself since im the only user, so i never see that stupid git user anymore anyways ;P

this can be done in kde system settings > login screen > convenience
check box "enable auto-login"

in case anyone is interested in that approach... it also reduces boot time and stops you from having to enter your password twice in a row if youre using kdm login and kde wallet.

Last edited by chuckiv (2013-11-09 02:31:51)

Offline

Board footer

Powered by FluxBB