in reply to Re^8: [OT] A New Everything ?
in thread [OT] A New Everything ?
I thought the point here was that I was to log out as root and back in as fred. I get nothing that way:root@third:~# exit logout Connection to 220.127.116.11 closed. $ ssh email@example.com firstname.lastname@example.org: Permission denied (publickey). $
It seems fred lacks his public key in the file ~fred/.ssh/authorized_keys. You need to upload that before blocking password logins, e.g. using ssh-copy-id, add add it to the autorhized_keys file. Once that is set up, you should be able to log in using the public key.
Is that as easy asrm /usr/bin/su
Yes and no. It does remove su, but you are supposed to uninstall the entire package, e.g. using apt-get remove package-name on Debian-based distributions. The package name depends on the distribution. On Ubuntu, it's in util-linux, and you really don't want to uninstall that package. Just leave su as is. It won't hurt for now.
After the useradd, I go in, and there's nothing in home. That doesn't make sense to me.
Home is supposed to be empty, or a copy of /etc/skel/. How should the operating system know what you want to put there?
|Replies are listed 'Best First'.|
Re^10: [OT] A New Everything ?
by marto (Cardinal) on Sep 23, 2020 at 10:11 UTC