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
Post a Comment