Le 18/06/2012 19:15, Jussi Lahtinen a écrit : >> Maybe it would be possible to write a graphical su entirely in Gambas? >> The first difficulty I see is how to know if we must use 'su' or 'sudo' >> to run the command... >> >> > I have never run into need for su, I always use sudo. > Example in Ubuntu as default, you cannot do "su root". > So su is useful only if you need to change to some other user, but the > keyword in Gambas is RunAsRoot. > > Is there something where sudo would fail? > > Jussi
Some systems do not use sudo. Maybe they find it unsecure. -- Benoît Minisini ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user