In gnome, you can use gnomesu any_command (if you got this installed) or in debian gksu any_comand to force the user put root pwd. You can do an SHEL "gnsu reboot" and then, if the user put right password the system will be rebooted. I remember in kde there are the same comands kdesu (or something like this), Please, next time open different topic (it's free of charge... ;-)
2009/6/23 sig de <[email protected]> > Hi Benoit, > > I am sorry, I have questions with differnet topic. > > I try t shutdown comp with script like this : > > SHELL "halt" or SHELL "reboot" > > But it can't work because need the password. > > Could you mind tohelp me? > > > Thanks a lot > > > Best Regards > Sigit > > > > > > 2009/6/22 Benoît Minisini <[email protected]> > > > Hi, > > > > Since the last revision of the development version, I think that now > gb.qt4 > > is > > stable enough to replace gb.qt. > > > > So I invite everyone using the development version to switch from gb.qt > to > > gb.qt4 in their project, and to report any problem or regression they > get. > > > > In the future, gb.qt will be "deprecated". It will be renamed "gb.qt3", > and > > "gb.qt4" will become "gb.qt". > > > > Regards, > > > > -- > > Benoît > > > > > > > ------------------------------------------------------------------------------ > > Are you an open source citizen? Join us for the Open Source Bridge > > conference! > > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > > $250. > > Need another reason to go? 24-hour hacker lounge. Register today! > > > > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > > _______________________________________________ > > Gambas-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
