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 --desktopBut 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.
_______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list