1
22
2011
7

Archlinux Essay Series: sudo

 
 

Furthermore, it's unsafe to expose root frequently. For another reason, entering and exiting super user mode is a little bit annoyous. That's why sudo comes to make thing smoother.
Step one: install it

pacman -S sudo

Step two: configure user

First, back up it.

cp /etc/sudoers /etc/sudoers.bak

Second, edit it.

visudo

Add a line in the User priviledge specification section after about line 70.

jeffrey ALL=(ALL) ALL

Last but not least, back up it again.

cp /etc/sudoers /etc/sudoers.cur

That's it. From now on, just preceed administrative commands with sudo and enter your own password, you're running it as a super user temporarily, after which you're who you are again.
Note that we have to use visudo command in order to change /etc/sudoers. Normal vi /etc/sudoers won't work.
Note that the first time you use sudo, rules are reminded with words more or less like what we've said above.
Note that in the installation process we have to be either a root login or in su mode. After the installation, we have one more choise. That is: preceeding with sudo.
Note that when preceeding commands with sudo tab-completion won't function. It's easy to fix. Just edit .bashrc with back up scheme in mind.

vim ~/.bashrc

Add following.

complete -cf sudo
 
Category: OS | Tags: | Read Count: 758
zaiya said:
Tue, 31 Aug 2021 22:51:37 +0800

Good to know about these things. I have a lot of things to learn from here and here we got many things from here. cbdbalmsalves.com I think it is very good for me to know about these things all the time.

lio said:
Fri, 10 Sep 2021 14:30:27 +0800

This is a very informative audio visual installation website especially for that programmer and IT professionals. Today they came up with the essay series of archlinux program code. Thank you so much for sharing this information with us which will be helpful for those people

Elle said:
Tue, 19 Jul 2022 02:22:47 +0800

This is related to coding and will be helpful for programmers. Since best seo services india I am not working in that area it will not help me. But I can share these details with my friends who are working in the IT field.

rose said:
Wed, 31 Aug 2022 22:19:53 +0800

People who are studying one carat solitaire diamond ring price about Archlinux essays than this information will be helpful to them. The additional reference information provided in this website will be helpful for you to understand more about it. Share these details with your friend so that everyone will be helpful with this

Miller said:
Mon, 05 Sep 2022 05:30:27 +0800

I tried rooting my device once and soft brick my device and ever since that I stopped experimenting with my devices. It took me a lot of time and resources to bring my device back into working condition. online branding services in kerala Don’t want to repeat all that.

Alyssa said:
Wed, 14 Sep 2022 18:05:47 +0800

Accidentally I have come across this website and little bit confused about the details diamonds rings near me shared here. This post is titled Archlinux Essay Series, Sudo. We will get a few more explanations regarding the topic and hope that they will be available here soon. Keep sharing more details here.

charlly said:
Sat, 17 Sep 2022 12:35:18 +0800

Having this knowledge is a good thing. I can learn a lot from this place, and we have gained a lot from it. I believe that being constantly informed about these things is CBD Oil Dosage For Anxiety highly beneficial for me. Have a good day!


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com