You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



How to delete user account at login menu?

Author (Read 5020 times)

0 Members and 1 Guest are viewing this topic.

Re: How to delete user account at login menu?
« Reply #5 on: September 13, 2014, 05:30:30 PM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
 :) You're welcom Mpig. Happy to see you got things sorted.
 

Re: How to delete user account at login menu?
« Reply #4 on: September 13, 2014, 12:13:58 PM »
 

mpig

  • Guest
I can't see a reason that they didn't show up but you can try this from command line.

Code: [Select]
sudo deluser newuser
where newuser is the name of the account you want to delete.

It works! Thanks.  ;)

Hi Mpig

I assume ampps and mysql are the result of a software package installation? If you didn't remove the sofware do you want to delete those accounts or just have them not appear at login?

I *think* if you append the account name in the /etc/passwd file with
:/user/sbin/nologin
it will prevent the account from displaying at login.

Here's an example from my /etc/passwd file. See how each of these account names end with :/usr/sbin/nologin

mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
games:x:5:60:games:/usr/games:/usr/sbin/nologin


Please be cautious and backup the /etc/passed file first.

~Scott

All i want to do is just to delete that accounts. Since i already removed the app.
But i think i should note your solution, just in case i install this app again. Too many accounts at login menu annoying.
Thank you Scott.  ;D
 

Re: How to delete user account at login menu?
« Reply #3 on: September 13, 2014, 10:16:00 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Mpig

I assume ampps and mysql are the result of a software package installation? If you didn't remove the sofware do you want to delete those accounts or just have them not appear at login?

I *think* if you append the account name in the /etc/passwd file with
:/user/sbin/nologin
it will prevent the account from displaying at login.

Here's an example from my /etc/passwd file. See how each of these account names end with :/usr/sbin/nologin

mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
games:x:5:60:games:/usr/games:/usr/sbin/nologin


Please be cautious and backup the /etc/passed file first.

~Scott
 

Re: How to delete user account at login menu?
« Reply #2 on: September 13, 2014, 04:45:14 AM »
 

sonic

  • Guest
I can't see a reason that they didn't show up but you can try this from command line.

Code: [Select]
sudo deluser newuser
where newuser is the name of the account you want to delete.
 

How to delete user account at login menu?
« Reply #1 on: September 13, 2014, 01:09:38 AM »
 

mpig

  • Guest
I want to delete "ampps" and "mysql" account at login menu. I've tried delete it from User Manager but there's only "audi" and "root" account.  :'(

Here's screenshots:



 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section