@[email protected] to [email protected] • edit-216 days agoWhy disable ssh login with root on a server if I only log in with keys, not password?message-square76fedilinkarrow-up1101
arrow-up1101message-squareWhy disable ssh login with root on a server if I only log in with keys, not password?@[email protected] to [email protected] • edit-216 days agomessage-square76fedilink
On a server I have a public key auth only for root account. Is there any point of logging in with a different account?
minus-square@[email protected]linkfedilink4•edit-215 days ago? It’s .bashrc, not bashrc, and .bashrc is in the home directory. If .bashrc is immutable, it can’t be removed from home.
minus-squareSavvyWolflinkfedilinkEnglish1•14 days agoIt’s the directory that needs to be writable to delete files, not the file itself. Although the immutable bit (if that’s what you’re talking about - I thought you meant unsetting the write bit) might change that, I’m not sure.
?
It’s .bashrc, not bashrc, and .bashrc is in the home directory.
If .bashrc is immutable, it can’t be removed from home.
It’s the directory that needs to be writable to delete files, not the file itself.
Although the immutable bit (if that’s what you’re talking about - I thought you meant unsetting the write bit) might change that, I’m not sure.