no message
This commit is contained in:
@@ -111,7 +111,6 @@ public class Constants {
|
||||
//testuser ALL=NOPASSWD:/sbin/reboot
|
||||
//0 2 2,15 * * reboot &>/var/log/reboot.log
|
||||
//https://unix.stackexchange.com/questions/117148/how-can-i-run-reboot-as-a-normal-user-without-needing-to-enter-a-password
|
||||
public static final String ServerAddress = "alex-freenas.ddns.net";
|
||||
//--
|
||||
//https://losst.ru/komandy-terminala-linux
|
||||
public static String[] linux_system_commands = new String[]{
|
||||
@@ -467,6 +466,4 @@ public class Constants {
|
||||
};
|
||||
//все запретные символы через пробел.
|
||||
public static String all_forbidden_characters_string = "";
|
||||
public static final Machine repository_machine = new Machine("Ubuntu", "alex-freenas.ddns.net", 23, MachineType.Server);
|
||||
public static final User repository_user = new User("testuser", "mprit_2011", "");
|
||||
}
|
||||
|
||||
@@ -321,7 +321,7 @@ public class Global {
|
||||
//---
|
||||
ActivateDB(); //тут current getAccount; роль по умолчанию всегда неизвестна.
|
||||
///--------------
|
||||
|
||||
/*
|
||||
Current.set(Current.Account, new Account(){
|
||||
{
|
||||
name = "M";
|
||||
@@ -329,6 +329,7 @@ public class Global {
|
||||
role = AccountRole.Admin;
|
||||
}
|
||||
});
|
||||
*/
|
||||
Pass_2021.passes.get(PassCode_2021.CheckAccount).Do();
|
||||
//---------------
|
||||
componentsServer.ActivateDB();
|
||||
|
||||
@@ -20,9 +20,13 @@ public class GlobalProperties extends Properties {
|
||||
@Expose
|
||||
public Current.Mode Mode = Current.Mode.Normal;
|
||||
@Expose
|
||||
public int ComponentsServerPort = 7995; //пока не используется
|
||||
public String ServerAddress="alex-freenas.ddns.net";
|
||||
@Expose
|
||||
public int TestingServerPort = 7998; //пока не используется
|
||||
public String ServerUserName ="testuser";
|
||||
@Expose
|
||||
public int ComponentsServerPort = 7995;
|
||||
@Expose
|
||||
public int TestingServerPort = 7998;
|
||||
//---
|
||||
@Expose
|
||||
public int SocketTimeout = 5000;
|
||||
|
||||
Reference in New Issue
Block a user