1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Only add the non-root escape on !developer.

Jeremy.
(This used to be commit a50c2d159c)
This commit is contained in:
Jeremy Allison 2007-12-12 18:07:02 -08:00
parent 61277c718e
commit e897e9c501

View File

@ -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);