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)?
Last edited by StR@ng3r (2012-08-21 21:34:20)
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
I am using lighdm and the above actually did the trick. Thank you very much.
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!
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)
not work it, how do i do to delete "git-user" from my kdm login ??
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"
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.
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)
add it to the 'HiddenUsers=' line in '/usr/share/config/kdm/kdmrc', after uncommented it
thank you for the explanation and the simplest solution
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)