Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9715

Re: How do I change the GUI login user?

From cl@isbd.net
Newsgroups comp.sys.raspberry-pi
Subject Re: How do I change the GUI login user?
Date 2015-09-28 19:25 +0100
Message-ID <1adodc-tc5.ln1@esprimo.zbmc.eu> (permalink)
References <24lrbc-p16.ln1@esprimo.zbmc.eu> <55eb355e$0$23742$e4fe514c@news.xs4all.nl>

Show all headers | View raw


A. Dumas <alexandre@dumas.fr.invalid> wrote:
> On 05/09/2015 19:24, cl@isbd.net wrote:
> > A simple question but I can't find how to do it.
> >
> > I want to change the user that logs in to the Pi GUI.  This is on a
> > new raspbian installation.  I don't care too much if it logs me in
> > automatically as the new user or if I have to enter name and password.
> 
> # Add a new user "newname":
> sudo adduser newname
> # Edit user rights, duplicate last line, replace pi with newname:
> sudo visudo
> # Add newname to all the same groups as pi, except group pi:
> for i in $(groups pi | sed 's/.*: //' | sed 's/^pi //'); do sudo adduser 
> newname $i; done
> # Use newname for GUI login, edit: autologin-user=newname
> sudo nano /etc/lightdm/lightdm.conf
> 
Brilliant, thank you, all done and working. (Well, I edited /etc/group
directly but near enough)

-- 
Chris Green
ยท

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How do I change the GUI login user? cl@isbd.net - 2015-09-05 18:24 +0100
  Re: How do I change the GUI login user? "A. Dumas" <alexandre@dumas.fr.invalid> - 2015-09-05 20:33 +0200
    Re: How do I change the GUI login user? cl@isbd.net - 2015-09-28 19:25 +0100

csiph-web