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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -