□ su(substitute user) ○ This linux command allows a user to log in as another user Without log out ○ "su" without parameter is same as "su root"(=Login as root) ○ Account password to login is required □ sudo(substitute user do) ○ This linux command allows a user to execute as another user's authority Without log out ○ "sudo" without parameter is same as "sudo -u root"(=Execute as root's authority) ○ Current login account's password is required □ Difference between "su" and "sudo su" ○ su : system admin(=root) account's password is required ○ sudo su : Current login account's password is required...... It also posted at : http://cysecguide.blogspot.com/2016/09/difference-between-sudo-and-su.html
author | tychebe |
---|---|
permlink | difference-between-sudo-and-su |
category | security |
json_metadata | {"tags":["security","sudo","su","linux"],"links":["http://cysecguide.blogspot.com/2016/09/difference-between-sudo-and-su.html"]} |
created | 2016-09-21 08:41:48 |
last_update | 2016-09-21 08:41:48 |
depth | 0 |
children | 0 |
last_payout | 2016-10-22 09:03:54 |
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 | 706 |
author_reputation | 27,548,928,872 |
root_title | "difference between sudo and su" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,315,003 |
net_rshares | 768,882,200 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tychebe | 0 | 53,981,556 | 100% | ||
alina1 | 0 | 714,900,644 | 100% | ||
nristen | 0 | 0 | 100% |