View previous topic :: View next topic |
Author |
Message |
guest Guest
|
Posted: Mon Jul 08, 2002 10:49 pm Post subject: su root no funciona y si esta en el grupo wheel. |
|
|
No se que paso, debí de liarla con los usuarios y no consigo ahora hacer un su root (y sí, el usuario esta dentro del grupo wheel, como se comenta en el FAQ).
Code: |
root> usermod -G users,wheel mi_usuario
mi_usuario> groups
users, wheel
mi_usuario> su -
Password:
setgid: Operation not permitted
|
El caso es que antes me funcionaba, pero no se como, debi de liar el archivo /etc/group.
Quote: |
root::0:root
bin::1:bin,daemon
daemon::2:bin,daemon
sys::3:bin,adm
adm::4:adm,daemon
tty::5:
disk::6:adm
lp::7:lp
mem::8:
kmem::9:
wheel::10:mi_usuario,root
floppy::11:
mail::12:mail
news::13:news
uucp::14:uucp
man::15:man
cron::16:cron
console::17:
audio::18:
cdrom::19:
dialout::20:
ftp::21:
games::22:
at::25:at
tape::26:
video::27:
squid::31:squid
gdm::32:gdm
xfs::33:xfs
named::40:named
mysql:x:60:
postgres::70:
cdrw::80:
apache::81:
users::100:mi_usuario
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
utmp:x:406:
nogroup::65533:
nobody::65534:
sshd:x:90:
|
Hay algo mal en este archivo? Se puede restaurar de alguna forma? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PollO n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 09 Jun 2002 Posts: 36 Location: Valencia Spain
|
Posted: Tue Jul 09, 2002 9:05 pm Post subject: |
|
|
No estoy seguro de q importe de hecho no deberia hacerlo,
yo en vez de
Code: |
wheel::10:mi_usuario,root |
tengo
Code: |
wheel::10:root,mi_usuario |
Por lo demas parece q el archivo lo tienes bien , no se a que se puede deber a parte de eso, vamos el error claramente es de grupo. _________________ Besa mi reluciente culo metalico (Bender) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ElOrens n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Cartman2.jpg)
Joined: 01 Jul 2002 Posts: 72 Location: Guipúzcoa - España
|
Posted: Wed Jul 10, 2002 6:30 am Post subject: superadduser |
|
|
Prueba a "emergear" superadduser.
A mí con adduser no me entraba ni en las Xs, y también lo había añadido al wheel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|