From e897e9c501001cc8f5346fc9f778a38852ddfae8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Dec 2007 18:07:02 -0800 Subject: Only add the non-root escape on !developer. Jeremy. (This used to be commit a50c2d159c754c6ff88649ed859f2b3f9c24f6a1) --- source3/utils/smbpasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 17eb43cb7e..a60d605902 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -94,7 +94,7 @@ static int process_options(int argc, char **argv, int local_flags) while ((ch = getopt(argc, argv, "c:axdehminjr:sw:R:D:U:LW")) != EOF) { switch(ch) { case 'L': -#if 0 +#if !defined(DEVELOPER) if (getuid() != 0) { fprintf(stderr, "smbpasswd -L can only be used by root.\n"); exit(1); -- cgit