dari #info su
cukup jelas sepertinya kenapa su nggak dapat env-nya si root

-dedi-

----------------------------------------------------------------------
If no USER is given, the default is `root', the super-user.  The
shell to use is taken from USER's `passwd' entry, or `/bin/sh' if none
is specified there.  If USER has a password, `su' prompts for the
password unless run by a user with effective user id of zero (the
super-user).

   By default, `su' does not change the current directory.  It sets the
environment variables `HOME' and `SHELL' from the password entry for
USER, and if USER is not the super-user, sets `USER' and `LOGNAME' to
USER.  By default, the shell is not a login shell.
-----------------------------------------------------------------------

On Fri, 23 Nov 2001, Arthur K. wrote:

> Apakah perbedaan antara :
> su
> su -
> dan, su - root
> 


-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke