How to log in as guest user via terminal?
7,177
Ubuntu "guest users" are added and deleted on the fly. They are account without passwords (and locked so). You can find details on guest user also on Ubuntu Wiki.
If you want a fixed guest user, you should create one (you can do this via the control settings graphic interface of via commandline with adduser
)
Related videos on Youtube
Author by
jobin
Updated on September 18, 2022Comments
-
jobin over 1 year
I need to login as a guest user via a terminal for experimental purposes for checking the working of one of scripts.
I know I can log in as a different user using
su username
orsu - username
. However, I can't log in using this command assu guest
. I can auto-complete this assu guest-<some_id>
, but this asks for a password I am unaware of.How do I login, then, as the guest user?