linux - What does the first star (*) mean in visudo command restriction -


restriction example in visudo :

(all) nopasswd: (all) /bin/cp * /var/www/html/* 

i understand of it, first star driving me nuts. best guess , either command options or source path.

thanks!

it both options , source argument. command line starts /bin/cp , includes /var/www/html match.

however rule might not what's intended. rather dangerous. can misuse rule bypass destination restriction.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -