Hi Enrique,
On 06/11/2020 09:15 PM, enrique_pi...@yahoo.es wrote:
Yes, but doesn't work. Your wrapper execve call takes a shell param,
missing in system execve, does It takes It from passwd file for
currently login user?
El 11/6/2020 17:12, aitor_czr <aitor_...@gnuinos.org> escribió:
Hi Enrique,
On 06/11/2020 01:55 PM, enrique_pinos--- via Lxde-list wrote:
Hi, I'd like to start user session without shell permissions.
So I'm trying to start a openbox user session setting lxdm.conf,
session=/usr/bin/pcmanfm -d --desktop
But it worked only if user has bash execution permission. It's
not possible to start a session without a shell?
I would like keep the shell only for root.
Thanks a lot for your time.
Did you try modifying your /etc/passwd, for example, changing your
default shell (usually Bourn Shell "/bin/sh" or "Bourne Again
Shell" /bin/bash,
by something like "/bin/false" of "/usr/sbin/nologin"?
https://unix.stackexchange.com/questions/55106/disable-user-shell-for-security-reasons
Cheers,
Aitor.
It worked for me with "/usr/sbin/nologin". I'm using the wdm display
manager (lxdm seems to be deprecated, but you have lightdm, slim, ly...)
and *runit* as init-system.
You might first try removing all the *lx* stuff from openbox, defining
the "pcmanfm -d &" stanza in your ~/.config/openbox/autostart. I'm
running openbox with some
lxde features so far.
HTH,
Aitor.
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list