Index: /branches/rel_apv_10_7_3/usr/click/bin/backend/sys_cmd.c
===================================================================
--- /branches/rel_apv_10_7_3/usr/click/bin/backend/sys_cmd.c	(revision 40263)
+++ /branches/rel_apv_10_7_3/usr/click/bin/backend/sys_cmd.c	(working copy)
@@ -727,9 +727,19 @@
 	fsync(fileno(fpw));
 	fclose(fpw);
 
-	if (done)
+	if (done) {
+
+      if(cli_need_challenge() ) {
+          printf("Are you sure to delete this ip host service\n"
+                  "Type \"YES\" to confirm deletion:");
+          if(!challange_user("YES\n")) {
+             printf("Deletion canceled.\n");
+             return 0;
+          }
+      }
+
 		rename(TMPHOSTS, HOSTSFILE);
-	else {
+	} else {
 		if (name && strlen(ipa)==0)
 			printf("Hostname %s not found\n", name);
 		if (name && strlen(ipa)!=0)
@@ -2976,7 +2986,16 @@
 {
 	int		pid;
 
-	if (fcntl(STDOUT_FILENO, F_SETFD, 0) < 0) {
+       if(cli_need_challenge() ) {
+           printf("Are you sure to delete this nameserver\n"
+                   "Type \"YES\" to confirm deletion:");
+           if(!challange_user("YES\n")) {
+              printf("Deletion canceled.\n");
+              return 0;
+           }   
+        } 
+
+       if (fcntl(STDOUT_FILENO, F_SETFD, 0) < 0) {
 		ui_englog_error(ENGLOG_CLI, CLI_SYS_ERR,
 			"Unable to unset close on exec flag for stdout");
 		printf("Unable to call nameserver subsystem\n");
Index: /branches/rel_apv_10_7_3/usr/src/sys/click/app/slb/slb_wrapper.c
===================================================================
--- /branches/rel_apv_10_7_3/usr/src/sys/click/app/slb/slb_wrapper.c	(revision 40263)
+++ /branches/rel_apv_10_7_3/usr/src/sys/click/app/slb/slb_wrapper.c	(working copy)
@@ -192,6 +192,15 @@
 		return -1;
 	}
 
+    if(cli_need_challenge() ) {
+        printf("Are you sure to Delete this will clear all SLB configurations!\n"
+                "Type \"YES\" to confirm deletion:");
+        if(!challange_user("YES\n")) {
+           printf("Deletion canceled.\n");
+           return 0;
+        } 
+     } 
+
 	/* disable cli interactivity so that we don't show license errors */
 	old_cli_interactive = cli_interactive();
 	if (old_cli_interactive) {
@@ -731,13 +740,34 @@
 ca_errcode_t
 no_slb_real_https(char *real_name)
 {
-	return no_slb_real_generic(real_name, SLB_PROTOCOL_HTTPS);
+    if(cli_need_challenge() ) {
+        printf("Are you sure to delete this real service\n"
+                "Type \"YES\" to confirm deletion:");
+        if(!challange_user("YES\n")) {
+           printf("Deletion canceled.\n");
+           return 0;
+        }  
+    } 
+
+
+    return no_slb_real_generic(real_name, SLB_PROTOCOL_HTTPS);
 }
 
 ca_errcode_t
 no_slb_real_tcps(char *real_name)
 {
-	return no_slb_real_generic(real_name, SLB_PROTOCOL_TCPS);
+
+    if(cli_need_challenge() ) {
+        printf("Are you sure to delete this real service\n"
+                "Type \"YES\" to confirm deletion:");
+        if(!challange_user("YES\n")) {
+           printf("Deletion canceled.\n");
+           return 0;
+        } 
+    } 
+
+
+    return no_slb_real_generic(real_name, SLB_PROTOCOL_TCPS);
 }
 
 ca_errcode_t
