user is not in the sudoers file. This incident will be reported. How to fiw this pb ?

View previous topic View next topic Go down

user is not in the sudoers file. This incident will be reported. How to fiw this pb ?

Post by Algerien1970 on Wed 10 Jun - 16:36

I have this error message :


user is not in the sudoers file.  This incident will be reported.



I want to know to fix it
avatar
Algerien1970
Forum Manager
Forum Manager

Messages : 485
Date d'inscription : 2015-05-14

http://wien2k.forumalgerie.net

Back to top Go down

Re: user is not in the sudoers file. This incident will be reported. How to fiw this pb ?

Post by Algerien1970 on Wed 10 Jun - 23:44

I found how to fix this pb


* Type the command :  pkexec visudo

You will be asked to make uthentification like this below :



the file will be opened :

and you add your account user to the file like this below :

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
regabdou ALL=(ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d

* push on CTRL + X

* type Y

* Entree

Now the problem is fixed

regabdou@algerien1970-Dell:~$ sudo apt-get install csh
Reading package lists... Done
Building dependency tree      
Reading state information... Done
csh is already the newest version.
The following packages were automatically installed and are no longer required:
  aglfn libquvi-scripts libquvi7 libupstart1 linux-headers-3.13.0-44
  linux-headers-3.13.0-44-generic linux-headers-3.13.0-45
  linux-headers-3.13.0-45-generic linux-image-3.13.0-44-generic
  linux-image-3.13.0-45-generic linux-image-extra-3.13.0-44-generic
  linux-image-extra-3.13.0-45-generic printer-driver-hpijs unity-2d-shell
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
avatar
Algerien1970
Forum Manager
Forum Manager

Messages : 485
Date d'inscription : 2015-05-14

http://wien2k.forumalgerie.net

Back to top Go down

Re: user is not in the sudoers file. This incident will be reported. How to fiw this pb ?

Post by Algerien1970 on Wed 10 Jun - 23:49

REFERENCES : 


[You must be registered and logged in to see this link.]


[You must be registered and logged in to see this link.]
avatar
Algerien1970
Forum Manager
Forum Manager

Messages : 485
Date d'inscription : 2015-05-14

http://wien2k.forumalgerie.net

Back to top Go down

Re: user is not in the sudoers file. This incident will be reported. How to fiw this pb ?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum