Originally Posted by
garvinrick4
I am sorry Geoff_Lane i meant yum's sharing same Home partition not su.
Sorry. I don't understand either statement.
Are you talking about package manager differences or whether root logins are enabled by default?
I typically don't use root on any linux, preferring to setup sudoers and make the root password a random 100 characters that I don't record.
Regardless, I disable all remote root logins, unless ssh-keys are used and that is only for backups from a designated backup server's IP. I think backups need to be "pulled", never pushed, for protection against malware.
BTW, both su and sudo can be used to change to other userids, just as easily. I use this all the time when updating php websites.
Code:
sudo -u www-data php updater/updater.phar
Though I also use sudo -i when setting up new systems for the first 15 minutes or so.
Bookmarks