/systemd-251/src/basic/ |
D | user-util.c | 138 bool is_nologin_shell(const char *shell) { in is_nologin_shell() argument 140 return PATH_IN_SET(shell, in is_nologin_shell() 161 const char **shell, in synthesize_user_creds() argument 178 if (shell) in synthesize_user_creds() 179 *shell = "/bin/sh"; in synthesize_user_creds() 196 if (shell) in synthesize_user_creds() 197 *shell = FLAGS_SET(flags, USER_CREDS_CLEAN) ? NULL : NOLOGIN; in synthesize_user_creds() 209 const char **shell, in get_user_creds() argument 220 (!home && !shell)) { in get_user_creds() 231 r = synthesize_user_creds(username, uid, gid, home, shell, flags); in get_user_creds() [all …]
|
D | user-util.h | 45 … char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell, UserCredsFlags fl… 132 bool is_nologin_shell(const char *shell);
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 71 char *shell; member 476 .pw_shell = i->shell ?: (char*) default_shell(i->uid), in write_temporary_passwd() 1394 free(i->shell); in item_free() 1491 if (!streq_ptr(a->shell, b->shell)) in item_equal() 1503 *shell = NULL, *resolved_shell = NULL; in parse_line() local 1517 &action, &name, &id, &description, &home, &shell, NULL); in parse_line() 1595 if (empty_or_dash(shell)) in parse_line() 1596 shell = mfree(shell); in parse_line() 1598 if (shell) { in parse_line() 1599 …r = specifier_printf(shell, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &resolved_… in parse_line() [all …]
|
/systemd-251/test/test-sysusers/ |
D | test-2.input | 3 # replacement of all fields up to the login shell. 5 #Type Name ID GECOS homedir shell
|
/systemd-251/units/ |
D | systemd-sysusers.service | 25 # Optionally, pick up a root password and shell for the root user from a 30 LoadCredential=passwd.shell.root
|
D | emergency.service.in | 23 ExecStart=-{{ROOTLIBEXECDIR}}/systemd-sulogin-shell emergency
|
D | rescue.service.in | 22 ExecStart=-{{ROOTLIBEXECDIR}}/systemd-sulogin-shell rescue
|
D | debug-shell.service.in | 11 Description=Early root shell on {{DEBUGTTY}} FOR DEBUGGING ONLY
|
/systemd-251/src/nss-systemd/ |
D | userdb-glue.c | 29 const char *rn, *hd, *shell; in nss_pack_user_record() local 46 assert_se(shell = user_record_shell(hr)); in nss_pack_user_record() 47 required += strlen(shell) + 1; in nss_pack_user_record() 64 strcpy(pwd->pw_shell, shell); in nss_pack_user_record()
|
/systemd-251/shell-completion/bash/ |
D | homectl | 1 # hostctl(1) completion -*- shell-script -*- 58 --shell 138 --shell)
|
D | machinectl | 1 # machinectl(1) completion -*- shell-script -*- 45 … [MACHINES]='status show start stop login shell enable disable poweroff reboot terminate kill bind
|
D | systemd-run | 1 # systemd-run(1) completion -*- shell-script -*- 36 … --working-directory -d --same-dir -E --setenv -t --pty -P --pipe -S --shell -q --quiet
|
D | journalctl | 1 # journalctl(1) completion -*- shell-script -*- 56 # Use the default completion for shell redirect operators
|
/systemd-251/src/shared/ |
D | user-record-show.c | 25 const char *hd, *ip, *shell; in user_record_show() local 223 shell = user_record_shell(hr); in user_record_show() 224 if (shell) in user_record_show() 225 printf(" Shell: %s\n", shell); in user_record_show()
|
D | user-record-nss.c | 87 r = free_and_strdup(&hr->shell, utf8_only(empty_to_null(pwd->pw_shell))); in nss_passwd_to_user_record() 147 … JSON_BUILD_PAIR_CONDITION(hr->shell, "shell", JSON_BUILD_STRING(hr->shell)), in nss_passwd_to_user_record()
|
/systemd-251/.github/workflows/ |
D | mkosi.yml | 81 …run: ./.github/workflows/run_mkosi.sh shell bash -c "[[ -e /testok ]] || { cat /failed-services; e… 93 …run: ./.github/workflows/run_mkosi.sh shell bash -c "[[ -e /testok ]] || { cat /failed-services; e…
|
/systemd-251/shell-completion/zsh/ |
D | _systemd-run | 68 {-S,--shell}'[requests an interactive shell in the current working directory]' \
|
D | _machinectl | 31 "shell:Invoke a shell (or other command) in a container"
|
/systemd-251/po/ |
D | zh_TW.po | 539 msgid "Acquire a shell in a local container" 540 msgstr "在本機容器中取得一個 shell" 543 msgid "Authentication is required to acquire a shell in a local container." 544 msgstr "在本機容器中取得一個 shell 需要驗證。" 547 msgid "Acquire a shell on the local host" 548 msgstr "在本機主機中取得一個 shell" 551 msgid "Authentication is required to acquire a shell on the local host." 552 msgstr "在本機主機中取得一個 shell 需要驗證。"
|
D | zh_CN.po | 552 msgid "Acquire a shell in a local container" 553 msgstr "在本地容器中获取一个 shell" 556 msgid "Authentication is required to acquire a shell in a local container." 557 msgstr "在本地容器中获取 shell 需要认证。" 560 msgid "Acquire a shell on the local host" 561 msgstr "在本地主机中获取一个 shell" 564 msgid "Authentication is required to acquire a shell on the local host." 565 msgstr "在本地主机中获取 shell 需要认证。"
|
D | POTFILES.skip | 22 units/debug-shell.service.in
|
/systemd-251/src/test/ |
D | test-user-util.c | 324 …_one(const char *id, const char *name, uid_t uid, gid_t gid, const char *home, const char *shell) { in test_get_user_creds_one() argument 332 __func__, id, name, uid, gid, home, shell); in test_get_user_creds_one() 346 assert_se(path_equal(rshell, shell)); in test_get_user_creds_one()
|
D | test-unit-name.c | 241 *user, *group, *uid, *gid, *home, *shell, variable 274 assert_se(get_shell(&shell) >= 0); 350 expect(u, "%s", shell); 385 expect(u, "%s", shell);
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 727 static int write_root_passwd(const char *passwd_path, const char *password, const char *shell) { in write_root_passwd() argument 750 if (shell) in write_root_passwd() 751 i->pw_shell = (char *) shell; in write_root_passwd() 769 .pw_shell = (char *) (shell ?: "/bin/sh"), in write_root_passwd()
|
/systemd-251/ |
D | .vimrc | 3 " vimrc configuration file, including write operations and shell execution.
|