create account

RE: How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong! by themarkymark

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @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-20180112t195125095z

· @themarkymark ·
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.
properties (22)
authorthemarkymark
permlinkre-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
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-01-12 20:24:12
last_update2018-01-12 20:24:12
depth4
children5
last_payout2018-01-19 20:24:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length175
author_reputation1,774,203,157,359,879
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_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,082,578
net_rshares0
@r351574nc3 ·
$0.30
> **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```
👍  , , ,
properties (23)
authorr351574nc3
permlinkre-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
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-07-06 11:14:30
last_update2018-07-06 11:14:30
depth5
children4
last_payout2018-07-13 11:14:30
cashout_time1969-12-31 23:59:59
total_payout_value0.230 HBD
curator_payout_value0.072 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length248
author_reputation169,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_payout1,000,000.000 HBD
percent_hbd10,000
post_id63,644,383
net_rshares151,585,844,282
author_curate_reward""
vote details (4)
@themarkymark ·
Or lock your session when you leave like a good sysadmin ;)
properties (22)
authorthemarkymark
permlinkre-r351574nc3-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-20180706t112642935z
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-07-06 11:26:42
last_update2018-07-06 11:26:42
depth6
children3
last_payout2018-07-13 11:26:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length59
author_reputation1,774,203,157,359,879
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_payout1,000,000.000 HBD
percent_hbd10,000
post_id63,645,573
net_rshares0
@r351574nc3 ·
$0.10
LOL. It was your point, not mine.
👍  , ,
properties (23)
authorr351574nc3
permlinkre-themarkymark-re-r351574nc3-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-20180706t125524981z
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-07-06 12:55:24
last_update2018-07-06 12:55:24
depth7
children2
last_payout2018-07-13 12:55:24
cashout_time1969-12-31 23:59:59
total_payout_value0.079 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation169,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_payout1,000,000.000 HBD
percent_hbd10,000
post_id63,654,884
net_rshares51,593,967,566
author_curate_reward""
vote details (3)