LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to delete user account at login menu?
#3
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
[Image: q7j1yAl.png]
Reply


Messages In This Thread
How to delete user account at login menu? - by mpig - 09-13-2014, 05:09 AM
Re: How to delete user account at login menu? - by sonic - 09-13-2014, 08:45 AM
Re: How to delete user account at login menu? - by Scott(0) - 09-13-2014, 02:16 PM
Re: How to delete user account at login menu? - by mpig - 09-13-2014, 04:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)