como mudar meus arquivos group e sudoers com segurança? [RESOLVIDO]

1. como mudar meus arquivos group e sudoers com segurança? [RESOLVIDO]

Rúben William
jimmy456

(usa Ubuntu)

Enviado em 16/07/2012 - 14:08h

gente eu tô com um problemaço. mexi nas permissões de usuário e adicionei meu usuário ao grupo root e agora meu usuário default (zmax) não loga direito. Aparece:"Inicializando em zmax....Warning:cannot open ConsoleKitsession : Unable to open session: the permission of the setuid helper is not correct" e aí agora nem meu drive de om funciona mais nem o terminal. eu ouvi q pra resolver isso precisa editar o sudoers e o group. mas como fazer isso sem destruir mais o sistema?
aqui estão :
group:
root:x:0:root
daemon:x:1:
bin:x:2:
sys:x:3:root,
adm:x:4:zmax
tty:x:5:
disk:x:6:root
lp:x:7:zmax
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:root
fax:x:21:
voice:x:22:
cdrom:x:24:zmax
floppy:x:25:root
tape:x:26:root
sudo:x:27:zmax
audio:x:29:pulse
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:root
sasl:x:45:
plugdev:x:46:zmax
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:
mlocate:x:105:
ssh:x:106:
utempter:x:107:
messagebus:x:108:
avahi-autoipd:x:109:
avahi:x:110:
netdev:x:111:zmax
bluetooth:x:112:
lpadmin:x:113:zmax
ssl-cert:x:114:
pulse:x:115:
pulse-access:x:116:
rtkit:x:117:
saned:x:118:
admin:x:119:zmax
sambashare:x:120:zmax
winbindd_priv:x:121:
haldaemon:x:122:
powerdev:x:123:
zmax:x:1000:zmax
vboxusers:x:124:zmax
joao:x:1001:

sudoers:
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# 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

#includedir /etc/sudoers.d
zmax ALL=(ALL) NOPASSWD:ALL

meus usuários são :joao , default (zmax) e root (claro)
meu linux é Zmax RC2(Ubuntu 11.04 modificado)


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts