[fpc-pascal] shell script with root rights and automatic password

Sven Barth pascaldragon at googlemail.com
Mon Dec 7 08:02:34 CET 2015


Am 07.12.2015 00:52 schrieb "Rainer Stratmann" <rainerstratmann at t-online.de
>:
> > For your task sudo may help. With it you allow the user (or group) in
> > question to run programs with root rights, but they have to identify
> > with their own password. Lowering security risk ...
>
> What do you mean exactly with "with their own password"?

When one calls sudo one uses the password of one's own account to elevate
the rights and not the root password, at least as long one is in a group
that allows that in the sudoers file (usually that group is "wheel").

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151207/ae5bc804/attachment.html>


More information about the fpc-pascal mailing list