Playback starts YouTube’s embedded player (privacy-enhanced mode).
how to add user to sudoers file in linux centos 6
ChannelhadoopCDPDescription from the creator
Every Linux system having root account and its password (by defalut user user password is root password)
if you install any software in your linux system it should have root permissions
you can directly login into your root account or you can provide root permissions to your current user by changing values in /etc/sudoers file
if you want to change /etc/sudoers file you should login into your root acoount by using
su -username (or) su -
after login into root you can goto /etc/sudoers file by using
vim /etc/sudoers (press i )
root ALL=(ALL) ALL
username ALL=(ALL) ALL
save (wq or wq!)
exit from root and come back to your useraccount and now try to install softwares
How To Create a Sudo User on CentOS,How to Add a User and Grant Root Privileges on CentOS 6.6,How To Edit the Sudoers File on Ubuntu and CentOS,Add user to Sudoers Group CentOS ,linux - How can I add a regular user to the sudoers file?
About this tutorial
hadoopCDP published this 7:41 video tutorial on October 26, 2017. It has been watched 13,710 times on YouTube.
Tags
Share
Further reading
-
How to Add User to Sudoers in CentOS | Linuxize
linuxize.com
The second option is to add the user to the sudo group defined in the sudoers file. By default, on RedHat based distributions like CentOS and Fedora, members of the “wheel” group are granted with sudo privileges.
-
How to Add a User to Sudoers in CentOS Linux - WebHostingHero.org
webhostinghero.org
Save and exit the sudoers file. Now the next time we try and run the “sudo” command with the newly added user, it’ll allow us through. Adding a User to the “wheel” Group. Another option for CentOS users is hinted at in…
-
Adding Users to Sudoers in Linux - A Step-by-Step Tutorial ...
linuxfordevices.com
1. Adding Users to Sudoers File Manually. Adding the user to the sudoers file is very easy. All you do is open the /etc/sudoers file and add the username to the list. If you haven’t already read through our tutorial exp…
This tutorial in other languages
- FRcomment ajouter un utilisateur à sudoers dans CentOS Linux 6
- EScómo agregar usuarios a sudoers en Linux CentOS 6
- PTcomo adicionar usuário para arquivo sudoers no CentOS Linux 6
- ITCome aggiungere l'utente al file sudoers in CentOS 6
- DEwie Benutzer sudoers Datei in linux centos hinzufügen 6
- NLhoe de gebruiker toe te voegen aan sudoers bestand in linux centos 6
- RUкак добавить пользователя в sudoers файл в Линукс CentOS 6
- PLJak dodać użytkownika do pliku sudoers w CentOS Linux 6
- JALinuxのCentOSのでsudoersファイルにユーザーを追加する方法6
- ARكيفية إضافة مستخدم إلى ملف sudoers في سينت أو إس لينكس 6
- HIकैसे linux centos में sudoers फाइल करने के लिए उपयोगकर्ता को जोड़ने का 6
- IDcara menambahkan pengguna ke file sudoers di CentOS linux 6