-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2007-02-08 23:44 -0500, Juan Carlos Bravo Celis escribió:
Gracias por responder, solo me queda la duda porque hacer "su" es diferente de "su - "
¿Has probado a mirarlo en el manual? ;-) (man su) DESCRIPTION Change the effective user id and group id to that of USER. -, -l, --login make the shell a login shell (ó info su): `-' `-l' `--login' Make the shell a login shell. This means the following. Unset all environment variables except `TERM', `HOME', and `SHELL' (which are set as described above), and `USER' and `LOGNAME' (which are set, even for the super-user, as described above), and set `PATH' to a compiled-in default value. Change to USER's home directory. Prepend `-' to the shell's name, intended to make it read its login startup file(s). - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFzE8atTMYHG2NR9URAmoAAJ4n19i3C0M+ejFeKhFmop3mnC/BVgCfdrWS g8FeWf1lnZ+oMjsCk7EOUJU= =i61W -----END PGP SIGNATURE-----