JoaoSouza
(usa Mandriva)
Enviado em 22/05/2017 - 15:20h
-qwerty escreveu:
JoaoSouza escreveu:
[anny@localhost ~]$ su -
Senha:
[root@localhost ~]# nano /etc/sudoers
-bash: nano: comando não encontrado
[root@localhost ~]#
Tente
vim /etc/sudoers
ou - gedit /etc/sudoers
*******************************************************************
Se ninguém vai ser do bem, bom, tentemos ser menos mal
*Sant, 2016*
*******************************************************************
# Sudoers allows particular users to run various commands as
## the root user, without needing the root password.
##
## Examples are provided at the bottom of the file for collections
## of related commands, which can then be delegated out to particular
## users or groups.
##
## This file must be edited with the 'visudo' command.
## Host Aliases
## Groups of machines. You may prefer to use hostnames (perhaps using
## wildcards for entire domains) or IP addresses instead.
# Host_Alias FILESERVERS = fs1, fs2
# Host_Alias MAILSERVERS = smtp, smtp2
## User Aliases
## These aren't often necessary, as you can use regular groups
## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname
## rather than USERALIAS
# User_Alias ADMINS = jsmith, mikem
## Command Aliases
## These are groups of related commands...
## Networking
# Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
## Installation and management of software
# Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum
## Services
# Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig
"/etc/sudoers" [somente-leitura] 97L, 3338C