LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Old renamed user appears in Unity greeter (https://www.linuxquestions.org/questions/ubuntu-63/old-renamed-user-appears-in-unity-greeter-4175587785/)

mfoley 08-23-2016 01:56 PM

Old renamed user appears in Unity greeter
 
Ubuntu 16.04 - I renamed a user from administrator to hprsadmin. On the greeter login, hprsadmin does not appear, but administrator still does, even though there is no such user now. I added the following file /etc/lightdm/lightdm.conf.d/50-myconfig.conf

Code:

[SeatDefaults]
allow-guest=false
greeter-hide-users=true
greeter-show-manual-login=true

Which lets me log in with the new userID, but when the inactivity timeout kicks in the greeter login shows "administrator" as the user. Likewise, the "gear" icon in the extreme upper right-hand corner shows Administrator as the currenly logged in user. If I type in hprsadmin's PW (which, of course, is the same as the former administrator's) I resume my hprsadmin session.

How can I fix the greeter to have hprsadmin instead of the now non-existant administrator as the user shown?

ondoho 08-23-2016 02:09 PM

i suspect that unity has chosen to label the root user "administrator".
in other words, there's no actual user called administrator. but there's one called root. and renaming that would be ill-advised.
but that's just a blind guess.
you should show the actual command you used to rename the user, and the output it returned.

mfoley 08-23-2016 02:44 PM

Quote:

Originally Posted by ondoho (Post 5594985)
i suspect that unity has chosen to label the root user "administrator".
in other words, there's no actual user called administrator. but there's one called root. and renaming that would be ill-advised.
but that's just a blind guess.

No, there was an actual user: administrator. I created that when I installed 16.04. That was a mistake because the domain admin user is Administrator and there would be an eventual conflict, so I changed the userId.

Quote:

you should show the actual command you used to rename the user, and the output it returned.
actual command:

usermod -l hprsadmin administrator


All times are GMT -5. The time now is 02:52 PM.