|
|
@ -459,7 +459,7 @@ conjunction with the 'login' or 'logout'")
|
|
|
|
if os.getuid() == 0 and os.getgid() == 0:
|
|
|
|
if os.getuid() == 0 and os.getgid() == 0:
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self.printERROR("The user is not root")
|
|
|
|
self.printERROR(_("The user is not root"))
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1037,7 +1037,7 @@ conjunction with the 'login' or 'logout'")
|
|
|
|
foundMountHome = self.isMount(pathHome ,"none",False)
|
|
|
|
foundMountHome = self.isMount(pathHome ,"none",False)
|
|
|
|
domain = self.clVars.Get("cl_remote_host")
|
|
|
|
domain = self.clVars.Get("cl_remote_host")
|
|
|
|
if not domain:
|
|
|
|
if not domain:
|
|
|
|
self.printWARNING("The computer is not in domain")
|
|
|
|
self.printWARNING(_("The computer is not in domain"))
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
if foundMountRemote:
|
|
|
|
if foundMountRemote:
|
|
|
|
textLineUmount = self.umountSleepPath(pathRemote)
|
|
|
|
textLineUmount = self.umountSleepPath(pathRemote)
|
|
|
|