Author Topic: Too many guest accounts  (Read 1301 times)

0 Members and 1 Guest are viewing this topic.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Too many guest accounts
« on: February 28, 2013, 08:17:35 pm »
This again is probably a trivial thing, but I have 2 guest accounts and I only want one.

 on my log in screen I have my own account, guest and guest account, neither guest or guest account is passworded but if I log into guest account network is disabled, guest is enabled.

In users and groups I see 2 accounts listed my own account & guest, I've deleted guest 3 times but it immediately comes back.

is there any way I can have just 1 guest account listed on the login screen preferably network enabled because I don't see any point in there being 2

Many thanks

Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
  • Karma: 343
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Too many guest accounts
« Reply #1 on: February 28, 2013, 08:27:23 pm »
a) which Linux distro/version/architecture ?

and

b) does it really matter .. the guest account is only created in /tmp when you log into it .. so it's not taking up space.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #2 on: February 28, 2013, 08:38:39 pm »
Quote
a) which Linux distro/version/architecture ?

peppermint 3 LXDE default DE

Quote
does it really matter .. the guest account is only created in /tmp when you log into it .. so it's not taking up space.

Yes it does because if for example if my daughter wanted to use my pc while I was out she would be presented with a choice she doesn't need to be presented with also she only has an evens chance of selecting the right one, she may choose the one that doesn't give her network access and lets face it the chances are if she wanted to use the pc in the first place it would be to go on to the internet,


Many thanks

Graeme

If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1511
  • Karma: 119
  • Gender: Male
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #3 on: February 28, 2013, 09:42:50 pm »
OK, you might have one 'real' guest account and one with the name 'guest'
Try disabling the real guest account (replace gedit with leafpad if need to):
Code: [Select]
sudo gedit /etc/lightdm/lightdm.conf
Change or add this line:
Code: [Select]
allow-guest=false

Now Save and Exit from file.
Reboot and see which 'guest' is missing

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
  • Karma: 343
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Too many guest accounts
« Reply #4 on: February 28, 2013, 09:49:51 pm »
What's the output from:
Code: [Select]
cat /etc/passwd | grep "/home"
and
Code: [Select]
ls -a /tmp
and the contents of:
Code: [Select]
gedit /etc/lightdm/lightdm.conf
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #5 on: February 28, 2013, 10:04:40 pm »
Hi guys

What SeZo suggested has left me with Guest only (which is fine) but I don't know yet if that account has network enabled but I assume it does because that's the account that was enabled before,

@Mark  in view of that do you still want the outputs you asked for ?




Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
  • Karma: 343
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Too many guest accounts
« Reply #6 on: February 28, 2013, 10:18:25 pm »
If it works the way you want .. NO

If not .. YES :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1511
  • Karma: 119
  • Gender: Male
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #7 on: February 28, 2013, 10:19:57 pm »
Quote
What SeZo suggested has left me with Guest only

That would suggest that Guest is a normal account (as the system generated was disabled)
If you got network etc then it should be fine to use except it is allowed to write data and save settings,
whilst the real guest account clears its tracks on log out.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
  • Karma: 343
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Too many guest accounts
« Reply #8 on: February 28, 2013, 10:22:47 pm »
Yeh, as it's likely not a normal "guest" session .. it might ba a good idea to see what groups it belongs to.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #9 on: February 28, 2013, 10:23:01 pm »
I think I'm quite happy to leave it as is, the only people who will ever use this account is people I trust and would want to give full access too anyway






Graemw
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #10 on: February 28, 2013, 10:23:58 pm »
Ok so what do you think I should do ?



Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
  • Karma: 343
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Too many guest accounts
« Reply #11 on: February 28, 2013, 10:26:32 pm »
Actually if it's a normal USER account and not a guest session .. and YOU didn't create that account .. you REALLY should check which groups it belongs to, and try to track down what's creating it.

Are you saying it's listed in Users & Groups ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #12 on: February 28, 2013, 10:31:05 pm »
Quote
Are you saying it's listed in Users & Groups ?

Yes

according to advanced user settings it's a member of guest

To be honest I think I created this account a while ago because I couldn't get guest to enable network thinking I could just delete if it didn't work



Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13807
  • Karma: 343
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Too many guest accounts
« Reply #13 on: February 28, 2013, 10:47:52 pm »
If you created it, and it does what you want .. all is fine then :)

If you didn't create it .. that's another story.

It's a bit odd that you can't delete the account though .. I just created one called guest, and had no problem deleting it.

Did you log off/on again after deleting it ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2666
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Too many guest accounts
« Reply #14 on: March 01, 2013, 06:13:28 am »
Quote
Did you log off/on again after deleting it ?

Yes I logged off and it was still there and I tried rebooting and it still wouldn't go away, even immediately after deleting if I simply came out of users and groups and went back in it was back
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal