MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / set_spring_user

Method set_spring_user

class/projectModel/javaModel.py:1512–1519  ·  view source on GitHub ↗

@name 建立本地HOST

()

Source from the content-addressed store, hash-verified

1510
1511 @staticmethod
1512 def set_spring_user():
1513 '''
1514 @name 建立本地HOST
1515 '''
1516 try:
1517 pwd.getpwnam('springboot')
1518 except KeyError:
1519 public.ExecShell('useradd springboot')
1520
1521 def del_hosts(self, domain):
1522 '''

Callers 2

get_system_user_listMethod · 0.95

Calls 1

ExecShellMethod · 0.80

Tested by

no test coverage detected