:: Re: [DNG] sudo or su?
Góra strony
Delete this message
Reply to this message
Autor: Didier Kryn
Data:  
Dla: dng
Temat: Re: [DNG] sudo or su?
Le 21/05/2016 23:22, emninger@??? a écrit :
> I followed the standard settings of the installer which leads me to
> have root and (a) user.
>
> Now, i know there are different philosophies about the use of sudo.
> Frankly, is there any relevant difference between 'sudo + command' or
> 'su -c + command'?
>
> TIA!
>


     Hi emniger.
.
     su allows you to execute any command, and asks root password


     sudo allows the admin to configure with fine grain what users 
and/or lists of users are allowed to execute with or without typing 
their personal password.


     Even if you are the only user of your laptop, you may like to have 
some priviledged commands be executable without typing your password. 
Also, limiting the authorized commands brings you some additional level 
of safety.


     Didier