Viewing a response to: @inquiringtimes/re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180112t173307463z
sudo just gives you temporary root permissions. You can think of the sudo command as a temporary switch user command. The `su` command in linux allows you to switch user so `sudo` is like "switch user, do as". Try it yourself, with your main account type the `whoami` command and it should return your username. Then type `sudo whoami` and and it should return `root`. This just tells you that what ever command you run after `sudo` you run with `root` permissions.
author | kslo |
---|---|
permlink | re-inquiringtimes-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180112t192647472z |
category | sysadmin |
json_metadata | {"tags":["sysadmin"],"app":"steemit/0.1"} |
created | 2018-01-12 19:26:45 |
last_update | 2018-01-12 19:26:45 |
depth | 2 |
children | 9 |
last_payout | 2018-01-19 19:26:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 470 |
author_reputation | 574,428,101,189 |
root_title | "How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,072,911 |
net_rshares | 0 |
yeah, but confusing why sudo accepts my account password, and mint doesn't even let you log into root with su.... so I'm feeling like I'm secure because mint doesn't let me use root, but wondering if I'm less secure than I think.... :-(
author | inquiringtimes |
---|---|
permlink | re-kslo-re-inquiringtimes-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180112t195125095z |
category | sysadmin |
json_metadata | {"tags":["sysadmin"],"app":"steemit/0.1"} |
created | 2018-01-12 19:51:24 |
last_update | 2018-01-12 19:51:24 |
depth | 3 |
children | 8 |
last_payout | 2018-01-19 19:51:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.028 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 236 |
author_reputation | 22,511,044,719,347 |
root_title | "How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,076,905 |
net_rshares | 4,169,704,839 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
kslo | 0 | 4,169,704,839 | 100% |
@inquiringtimes I'm not as familiar with Mint as others, but I think it's just a flavor of Debian (to which Ubuntu is as well). You can log in to your root account by typing `sudo su` on the command line. Because your main account is a part of the sudoers group you have the ability to use `sudo`. If you're a former windows junkie who has seen the light like I was, then it's similar to right-clicking on a program and saying "run as Administrator". As long as you are using your main account and you have a secure password I think you're probably fine.
author | kslo |
---|---|
permlink | re-inquiringtimes-re-kslo-re-inquiringtimes-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180112t201358622z |
category | sysadmin |
json_metadata | {"tags":["sysadmin"],"users":["inquiringtimes"],"app":"steemit/0.1"} |
created | 2018-01-12 20:13:57 |
last_update | 2018-01-12 20:13:57 |
depth | 4 |
children | 1 |
last_payout | 2018-01-19 20:13:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 558 |
author_reputation | 574,428,101,189 |
root_title | "How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,080,780 |
net_rshares | 0 |
I was just stuck with windows until I installed linux without doing a dual boot... ONLY LINUX. Yes, mint is ubuntu\debian flavoured. I got a new computer recently, I'm going to up my security in a number of ways on the new one... I love how simple linux is to use compared to 15 years ago.... the first time I tried to install linux was a nightmare... hehe. now I only am forced to learn commandline stuff occasionally, which gives me a gradual learning process on the deeper workings.
author | inquiringtimes |
---|---|
permlink | re-kslo-re-inquiringtimes-re-kslo-re-inquiringtimes-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180112t201832486z |
category | sysadmin |
json_metadata | {"tags":["sysadmin"],"app":"steemit/0.1"} |
created | 2018-01-12 20:18:33 |
last_update | 2018-01-12 20:18:33 |
depth | 5 |
children | 0 |
last_payout | 2018-01-19 20:18:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 490 |
author_reputation | 22,511,044,719,347 |
root_title | "How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,081,602 |
net_rshares | 0 |
sudo asks for your permission to validate access, this is so if you login as your user, walk away and someone comes up and tries to use `sudo rm -rf` they need authentication.
author | themarkymark |
---|---|
permlink | re-inquiringtimes-re-kslo-re-inquiringtimes-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180112t202417425z |
category | sysadmin |
json_metadata | {"tags":["sysadmin"],"app":"steemit/0.1"} |
created | 2018-01-12 20:24:12 |
last_update | 2018-01-12 20:24:12 |
depth | 4 |
children | 5 |
last_payout | 2018-01-19 20:24:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 175 |
author_reputation | 1,776,981,320,642,323 |
root_title | "How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,082,578 |
net_rshares | 0 |
> **DISCLAIMER** if a person approaches just after the user walks away (tailgating), `sudo` will not require a password. To force behavior of `sudo` to require a password: 1. `sudo visudo` 1. add ```Defaults env_reset,timestamp_timeout=0```
author | r351574nc3 |
---|---|
permlink | re-themarkymark-re-inquiringtimes-re-kslo-re-inquiringtimes-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180706t111430040z |
category | sysadmin |
json_metadata | {"tags":["sysadmin"],"app":"steemit/0.1"} |
created | 2018-07-06 11:14:30 |
last_update | 2018-07-06 11:14:30 |
depth | 5 |
children | 4 |
last_payout | 2018-07-13 11:14:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.230 HBD |
curator_payout_value | 0.072 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 248 |
author_reputation | 169,747,269,306,049 |
root_title | "How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 63,644,383 |
net_rshares | 151,585,844,282 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
themarkymark | 0 | 97,754,091,059 | 100% | ||
salty-mcgriddles | 0 | 43,871,943,577 | 100% | ||
exifr | 0 | 4,324,401,435 | 100% | ||
exifr0 | 0 | 5,635,408,211 | 100% |