Hola a tod@s: El día 21 de octubre de 2008 9:37, Camaleón escribió:
Usa comillas :-?:
su usuario1 -c "chown usuario1 prueba.txt"
Eres GRANDIOSA !!!! @>--}--- Otro que muerde el polvo !!!! >:-) usuariox@testserver:~$ su usuario1 -c "chown usuario1 prueba.txt" Password: Pero: chown: changing ownership of `prueba.txt': Operation not permitted (GGGRRRRR!!!!!!!!! ... ya lo tenía ... sniff, sniff, sniff) Aquí sospecho que hay algo que ajustar en mi /etc/sudoers: # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. # Defaults env_reset # Uncomment to allow members of group sudo to not need a password # %sudo ALL=NOPASSWD: ALL # Host alias specification # User alias specification User_Alias OPERADORES=usuario1,usuario2,usuario3 # Cmnd alias specification Cmnd_Alias CAMBIAR=/usr/bin/chown # User privilege specification root ALL=(ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL OPERADORES ALL=(root) CAMBIAR Pero sospecha sin conocimiento, no creo que me ayude a resolver nada ... :-( Quedo atento a sus comentarios / opiniones / sugerencias ... Gracias por tu tiempo e interés. Cordialmente, Cuervo Linuxero -- No recibo/envío información elaborados en/para M$-Word, M$-Excel, M$-PowerPoint, M$-Outlook o formatos privativos similares. Le invito a leer mis razones: http://www.gnu.org/philosophy/no-word-attachments.es.html -- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org