PERM_RUNAS -> PERM_FULL_RUNAS

This commit is contained in:
Todd C. Miller
2004-01-16 23:07:03 +00:00
parent ceb3653d71
commit ecfc813757
2 changed files with 2 additions and 2 deletions

2
env.c
View File

@@ -461,7 +461,7 @@ rebuild_env(envp, reset_home, noexec)
insert_env(format_env("USER", runas_pw->pw_name, VNULL), 1);
}
/* Set $HOME for `sudo -H'. Only valid at PERM_RUNAS. */
/* Set $HOME for `sudo -H'. Only valid at PERM_FULL_RUNAS. */
if (reset_home && runas_pw->pw_dir)
insert_env(format_env("HOME", runas_pw->pw_dir, VNULL), 1);

2
sudo.c
View File

@@ -399,7 +399,7 @@ main(argc, argv, envp)
#endif /* RLIMIT_CORE && !SUDO_DEVEL */
/* Become specified user or root. */
set_perms(PERM_RUNAS);
set_perms(PERM_FULL_RUNAS);
/* Close the password and group files */
endpwent();