Tag Info

Hot answers tagged


You're using a remote filesystem. If the server doesn't want you to delete a file, you won't be able to delete the file. The local root user is not necessarily all-powerful on the remote machine. There is presumably an access control list on the Windows machine that causes the file to be read-only or non-deletable through remote accesses.


Just add the options to the command: admin ALL = NOPASSWD: /usr/bin/netstat -i admin ALL = NOPASSWD: /usr/bin/netstat -r Then admin will be able to run sudo netstat -i, but not sudo netstat etc.


Edit the sudores file with visudo and add one line (or as many as you need) like in my example admin ALL=/bin/netstat -r admin ALL=/bin/netstat -i ALL= can be a hostname, IP or localhost The sudoers file is very well commented, at least in my CentOS


Thank's to @don_crissti for the link: systemd-readahead-replay.service.html, here is what this file does. Excerpt: systemd-readahead-collect.service is a service that collects disk usage patterns at boot time. systemd-readahead-replay.service is a service that replays this access data collected at the subsequent boot. Since disks tend to be ...

Only top voted, non community-wiki answers of a minimum length are eligible