Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

[Minor-change] [file="README.md"] Use of 'sudo' by the root user. #230

Open
vharsh opened this issue Jul 24, 2016 · 5 comments
Open

[Minor-change] [file="README.md"] Use of 'sudo' by the root user. #230

vharsh opened this issue Jul 24, 2016 · 5 comments

Comments

@vharsh
Copy link

vharsh commented Jul 24, 2016

The # before the command sudo dnf install docker fedora-dockerfiles shows that it was performed by the root user.
Following the best practices of not logging in as the root user, shouldn't the # be changed to a $ ?

@aditya-konarde
Copy link

+1. It doesn't make sense for the root user to use sudo for dnf. We can either execute the command directly as root or replace # with $ over there. Is anyone working on this?

@mattdm
Copy link
Member

mattdm commented Oct 18, 2016

I agree with @vharsh on keeping with the don't-log-in-as-root practice and using $ sudo as the "do with privs" indicator rather than #.

@aditya-konarde
Copy link

I would like to work on this, may I? @mattdm

@trishnaguha
Copy link
Contributor

@aditya-konarde Feel free to send the patch in a PR :).

aditya-konarde added a commit to aditya-konarde/Fedora-Dockerfiles that referenced this issue Oct 18, 2016
This pull request fixes issue fedora-cloud#230

Replaced the # before the command with $ since the command uses sudo.
aditya-konarde added a commit to aditya-konarde/Fedora-Dockerfiles that referenced this issue Oct 18, 2016
aditya-konarde added a commit to aditya-konarde/Fedora-Dockerfiles that referenced this issue Oct 18, 2016
This pull request fixes issue fedora-cloud#230

Replaced the # before the command with $ since the command uses sudo.
@aditya-konarde
Copy link

Looks like I sent the PR to my own fork first(new to git). Anyway the pull request is up for review at #243. Hopefully it will be my first contribution :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants