Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 116) sorted by relevance

12345

/systemd-251/src/basic/
Duser-util.c138 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 …]
Duser-util.h45 … 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/
Dsysusers.c71 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/
Dtest-2.input3 # replacement of all fields up to the login shell.
5 #Type Name ID GECOS homedir shell
/systemd-251/units/
Dsystemd-sysusers.service25 # Optionally, pick up a root password and shell for the root user from a
30 LoadCredential=passwd.shell.root
Demergency.service.in23 ExecStart=-{{ROOTLIBEXECDIR}}/systemd-sulogin-shell emergency
Drescue.service.in22 ExecStart=-{{ROOTLIBEXECDIR}}/systemd-sulogin-shell rescue
Ddebug-shell.service.in11 Description=Early root shell on {{DEBUGTTY}} FOR DEBUGGING ONLY
/systemd-251/src/nss-systemd/
Duserdb-glue.c29 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/
Dhomectl1 # hostctl(1) completion -*- shell-script -*-
58 --shell
138 --shell)
Dmachinectl1 # machinectl(1) completion -*- shell-script -*-
45 … [MACHINES]='status show start stop login shell enable disable poweroff reboot terminate kill bind
Dsystemd-run1 # systemd-run(1) completion -*- shell-script -*-
36 … --working-directory -d --same-dir -E --setenv -t --pty -P --pipe -S --shell -q --quiet
Djournalctl1 # journalctl(1) completion -*- shell-script -*-
56 # Use the default completion for shell redirect operators
/systemd-251/src/shared/
Duser-record-show.c25 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()
Duser-record-nss.c87 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/
Dmkosi.yml81 …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-run68 {-S,--shell}'[requests an interactive shell in the current working directory]' \
D_machinectl31 "shell:Invoke a shell (or other command) in a container"
/systemd-251/po/
Dzh_TW.po539 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 需要驗證。"
Dzh_CN.po552 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 需要认证。"
DPOTFILES.skip22 units/debug-shell.service.in
/systemd-251/src/test/
Dtest-user-util.c324 …_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()
Dtest-unit-name.c241 *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/
Dfirstboot.c727 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.vimrc3 " vimrc configuration file, including write operations and shell execution.

12345