Hot answers tagged


Repeat after me: Running ANY permission command on / without knowing exactly what you're doing is a great way to break your system. Even if you know what you're doing, it's still probably the wrong thing to do. In your case, the command won't work because it's the wrong one to start. Secondly, groups are a very valid Linux construct of users, and blocking ...


If you do not know how to unlock root, you are not yet ready for its unleashed powers! In Ubuntu, the root account is disabled by default so that no login is possible. You can only run commands as root using sudo. This is because as root, every little mistake in a command you type or every malicious executable you run can mess up your entire system. ...


According to your passwd file, the username is clusteruser with a real name of clusterUser (clusteruser:...:clusterUser...). chown cares only about the username, which has no capital letters. Use chown clusteruser.


You can read all about how to configure sshd_config by typing man sshd_config. The particular option you want is PasswordAuthentication yes.


On RHEL6/7, echo account required listsep=, >> /etc/pam.d/sshd Then add the following to /etc/security/access.conf +:root:LOCAL +:@localusers:ALL +:Domain Admins:ALL -:ALL:ALL This will allow cronjobs and domain admins from AD. Not there are ABSOLUTELY NO SPACES between anything other than the group name 'Domain Admins' ...


To run a crontab as user www-data you can use the following command: crontab -u www-data -e Then you write a line, for example to run a php file every 15 minutes: */15 * * * * php -f /path_to_cron/cron.php When saving it, you will be asked by the editor: File Name to Write: /tmp/crontab.HMpG7V Save it there, no worries. crontab -e opens a file ...

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