Thanks for your reply.
I use LTSP5 as Internet cofee in different parts of the university (80
Thinclients), this machines are in a cabinet close, the student dont see
thinclient, only monitor, keyboard and mouse. The thinclient power on and power
off automatic, had autologon and the desktop configuration prevented power off
the thinclient. The students read emails and download their jobs and lectures.
Now the new policy want to use active directory and is necesary login screen,
but is necesary that the students dont poweroff the thinclients because I would
have to go power on them manually.
I see that it is difficult. I think that I run my script by power on
thinclients in loop.
Thanks for the tips
On Wednesday, March 11, 2015 6:35 PM, Vagrant Cascadian
<[email protected]> wrote:
On 2015-03-11, mario salcedo wrote:
> LDM_FORCE_SESSION and LDM_FORCE_LANGUAGE work cool.
>
> But I want that my users dont reboot and shutdown thinclients.
>
> I did
> chmod 750 /sbin/shutdown
> chmod 750 /opt/ltsp/i386/sbin/shutdown
> But nothing. The users can shutdown or reboot the thinclient.
> Anybody know which is the command for shutdown and reboot that show in
> preferences in login screen.
> Thanks
The LDM reboot menu item calls /sbin/reboot, and the shutdown menu calls
/sbin/poweroff. But LDM runs as root on the client, so you would need to
remove the execute bit on user, group and everybody. Or write a wrapper
script and replace them, but you'll need to do it properly so your
changes are preserved on upgrades.
What is the use-case that's so important to not let users reboot or shut
down a client? It wouldn't be too hard to write a patch that allows
disabling the shutdown/reboot options, but the feature is not there now.
live well,
vagrant
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net