]> granicus.if.org Git - sudo/commitdiff
Print sudoers path in -V mode for root.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 17 Jul 2006 12:25:07 +0000 (12:25 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 17 Jul 2006 12:25:07 +0000 (12:25 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index abda444ef6c40447824472d348e3cbd54c8ae87a..e9ed07c611197c73960d81d25ed91e75226c86de 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -220,6 +220,7 @@ main(argc, argv)
                (void) printf("Sudo version %s\n", version);
                if (getuid() == 0) {
                    putchar('\n');
+                   (void) printf("Sudoers path: %s\n", _PATH_SUDOERS);
                    dump_auth_methods();
                    dump_defaults();
                    dump_interfaces();