Reputation
480
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 7
Newest
 Yearling
Impact
~21k people reached

May
28
comment Why does Ubuntu provide the Multiverse repository?
@Pandya it's free as in beer, but not free as in speech
May
20
comment How can I make my shell prompt look like a cheeseburger?
It doesn't look anything like that in the font I have here though.
Apr
3
comment How is 'rm -rf /' able to delete all files in the system?
Looking another way, the link count isn't zero, because opening a file adds a link within /proc.
Feb
25
comment What is the functional difference between sudo su and sudo -i?
As we've discovered "the user environment do not changes" isn't correct.
Feb
25
comment What is the functional difference between sudo su and sudo -i?
Thanks. According to that, su changes HOME, USER, LOGNAME and SHELL. sudo su changes SUDO_COMMAND and USERNAME (to root) as well. If the shell of the user you're switching to is different to the current shell, it will have to start it, causing its rc file to run.
Feb
25
comment What is the functional difference between sudo su and sudo -i?
Obviously it changes USER and HOME (and SUDO_COMMAND), I guess it must pull from /etc/passwd, but I dont' see (and haven't during testing) how PATH can change.
Feb
25
comment What is the functional difference between sudo su and sudo -i?
sudo su doesn't run .profile (it hasn't logged in) or .bashrc (it hasn't started bash) or anything, so how would it change PATH?
Feb
24
comment What is the difference in running script with ./
See also unix.stackexchange.com/a/4459/22005 for why.
Jan
1
comment How to make `apt-get upgrade` use less resources?
It was accepted, so I guess it worked...
Oct
15
comment /etc/apt/apt.conf gets cleared every time I change proxy settings under settings->network->Network proxy
Needs a semicolon in the .conf or it doesn't work.
May
23
comment 14.04 doesnt have package imagemagick
Is the typo in the question the cause of the failure?
Apr
14
comment How to find the difference between a script file and a binary file?
Good information, but not really an answer to this question.
Mar
27
comment How to make `man` work for shell builtin commands and keywords?
If there are executables masked by builtins, you can specify the section. man time vs. man 1 time
Aug
12
comment What is the functional difference between sudo su and sudo -i?
You're not making it much better. sudo -i won't ask for root's password either, so it's not relevant to the question.
Aug
12
comment What is the functional difference between sudo su and sudo -i?
And deleting your comments just adds to the confusion.
Aug
12
comment What is the functional difference between sudo su and sudo -i?
No, it will not. sudo runs su as root, and root can su to any user without knowing their password. Fundamental misunderstandings about how the system works deserve a downvote IMO.
Aug
12
comment What is the functional difference between sudo su and sudo -i?
If you run sudo su you are asked for your password, not the root password. The root user doesn't even need to have a password. Regardless, if an admin is using the root password, that doesn't imply that all the regular users know it.
Aug
12
comment What is the functional difference between sudo su and sudo -i?
That's completely unrelated to using su.
Aug
12
comment What is the functional difference between sudo su and sudo -i?
"Using su creates security issue, and is essentially dangerous." What?
Jan
21
comment What is SNMP used for?
It also doesn't really answer the question as written.