[systemd-devel] Convert Inittab-Entry to systemd

Colin Guthrie gmane at colin.guthr.ie
Wed Aug 28 03:11:34 PDT 2013


'Twas brillig, and Daniel Spannbauer at 28/08/13 07:36 did gyre and gimble:
> Here is the service-file:
> 
> [Unit]
> Description=marco Autologin
> After=getty.target
> 
> [Service]
> ExecStart=/usr/bin/xinit /home/xalz/.xsession -- /usr/bin/X :1 vt08 -r
> -br -dpms -s off
> User=xalz
> PAMName=xalz
          ^^^^

Use literally: "PAMName=login"

When Auke made his earlier comments he was being literal but I can see
how it could be interpreted to mean "use *your* login name" :)

It corresponds to the file in /etc/pam.d/login which controls how things
in the PAM stack are initialised are initialised.

HTHs

Col

> Group=alz
> Environment="PATH=/usr/uti/sys:/usr/uti:/usr/uti/mcu::/usr/uti/sys:/usr/uti:/usr/uti/mcu:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/uti/inst:/usr/uti/inst"
> 
> [Install]
> WantedBy=multi-user.target
> 
> 
> any ideas?


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list