Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Multiple user accounts, guest with no password

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
MH
Posts: 204
Joined: 2008-09-20 15:16
Location: The Matrix

Multiple user accounts, guest with no password

#1 Post by MH »

This should be a no brainer, but I'll be damned if I can find anyway to implement it. I have a system with multiple users. I want a guest account that does not require a password to login. I'm running KDE, so sddm is the login manager. I want the guest user to simply select the guest account and hit the "Return" key to login, no password required. Is this possible? If so, how?
DOS > Windows > Corel > RH > Libranet > Xandros > SuSE > Debian:KDE

"It is hard to free fools from the chains they revere." --Voltaire

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Multiple user accounts, guest with no password

#2 Post by Head_on_a_Stick »

Code: Select all

# adduser --disabled-password guest
# passwd -d guest
deadbang

MH
Posts: 204
Joined: 2008-09-20 15:16
Location: The Matrix

Re: Multiple user accounts, guest with no password

#3 Post by MH »

Head_on_a_Stick wrote:

Code: Select all

# adduser --disabled-password guest
# passwd -d guest
I get "login failed" when attempting to login as a guest with an empty password. I'm running KDE, so maybe it has something to do with sddm?
DOS > Windows > Corel > RH > Libranet > Xandros > SuSE > Debian:KDE

"It is hard to free fools from the chains they revere." --Voltaire

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Multiple user accounts, guest with no password

#4 Post by debiman »

https://www.startpage.com/do/dsearch?qu ... ount+howto
and before you dismiss my post as "yet another LMGTFY", look at some of the solutions and tell us exactly why & how they do not work.

MH
Posts: 204
Joined: 2008-09-20 15:16
Location: The Matrix

Re: Multiple user accounts, guest with no password

#5 Post by MH »

debiman wrote:https://www.startpage.com/do/dsearch?qu ... ount+howto
and before you dismiss my post as "yet another LMGTFY", look at some of the solutions and tell us exactly why & how they do not work.
I scanned your list of links, read two or three that seemed most relevant, just out of curiosity, because it seems you assumed I didn't try searching for an answer myself before posting. I saw nothing of any value there. The majority of them are gdm or lightdm related, not sddm, which it seems is the problem.

I previously came across numerous posts complaining about the lack of "guest login" (no password) with sddm, including some that were specifically a feature request. However, nothing within the past year and sddm has been updated since then. My assumption is the developers simply haven't implemented that capability.
DOS > Windows > Corel > RH > Libranet > Xandros > SuSE > Debian:KDE

"It is hard to free fools from the chains they revere." --Voltaire

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Multiple user accounts, guest with no password

#6 Post by dilberts_left_nut »

So, have you checked that by trying light/gdm ?
AdrianTM wrote:There's no hacker in my grandma...

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Multiple user accounts, guest with no password

#7 Post by Head_on_a_Stick »

MH wrote:maybe it has something to do with sddm?
Can the guest user log in at the console without a password?

I don't use a display manager but I did test my suggestion before posting :)
deadbang

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Multiple user accounts, guest with no password

#8 Post by debiman »

MH wrote:it seems you assumed I didn't try searching for an answer myself before posting.
i have given up interpreting other people's posts, because it usually leads to confusion & discord.
no - i see what you write. if you don't share your (failed) attempts, i must assume there were none. simple.

also, your answer came only 20min after my answer. that's a little quick imo.

however, the search seems to suggest that kde's login manager does not have a guest account feature.
this forum thread seems to have a workaround: https://bbs.archlinux.org/viewtopic.php?id=192891

MH
Posts: 204
Joined: 2008-09-20 15:16
Location: The Matrix

Re: Multiple user accounts, guest with no password

#9 Post by MH »

dilberts_left_nut wrote:So, have you checked that by trying light/gdm ?
I tried using both lightdm and gdm sometime ago due to some other problems with sddm at the time. Neither was functional for me at that time, and the KDE folks insist sddm is what should be used. I haven't tried either since.
DOS > Windows > Corel > RH > Libranet > Xandros > SuSE > Debian:KDE

"It is hard to free fools from the chains they revere." --Voltaire

MH
Posts: 204
Joined: 2008-09-20 15:16
Location: The Matrix

Re: Multiple user accounts, guest with no password

#10 Post by MH »

Head_on_a_Stick wrote:
MH wrote:maybe it has something to do with sddm?
Can the guest user log in at the console without a password?

I don't use a display manager but I did test my suggestion before posting :)
I did not check logging in from console. I assume that will work, since all evidence since my original post points to it being an sddm issue.
DOS > Windows > Corel > RH > Libranet > Xandros > SuSE > Debian:KDE

"It is hard to free fools from the chains they revere." --Voltaire

MH
Posts: 204
Joined: 2008-09-20 15:16
Location: The Matrix

Re: Multiple user accounts, guest with no password

#11 Post by MH »

debiman wrote:
MH wrote:it seems you assumed I didn't try searching for an answer myself before posting.
i have given up interpreting other people's posts, because it usually leads to confusion & discord.
no - i see what you write. if you don't share your (failed) attempts, i must assume there were none. simple.

also, your answer came only 20min after my answer. that's a little quick imo.

however, the search seems to suggest that kde's login manager does not have a guest account feature.
this forum thread seems to have a workaround: https://bbs.archlinux.org/viewtopic.php?id=192891
I shared my failed attempt, quite clearly I thought. The link you posted was the ONLY workaround I ever came across applicable to my situation. I did not try it, as I'd rather have to use a (shared) password than implement the suggested hack.
DOS > Windows > Corel > RH > Libranet > Xandros > SuSE > Debian:KDE

"It is hard to free fools from the chains they revere." --Voltaire

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Multiple user accounts, guest with no password

#12 Post by GarryRicketson »

My approach would be to look for a way to notify the users, that the password for "guest" is "guest", for example :
Image

Post Reply