Searched refs:username (Results 1 – 10 of 10) sorted by relevance
/DragonOS/user/apps/user-manage/ |
H A D | README.md | 5 > useradd [options] username 7 useradd -c \<comment\> -d \<home\> -G \<group\> -g \<gid\> -s \<shell\> -u \<uid\> username 32 > userdel [options] username 34 userdel -r username 48 > usermod [options] username 50 usermod -a -G<组 1,组 2,...> -c<备注> -d<登入目录> -G<组名> -l<名称> -s<登入终端> -u<用户 id> username 72 > root 用户: passwd username
|
/DragonOS/user/apps/user-manage/src/check/ |
H A D | check.rs | 26 info.username = cmd.username; in check() 60 if info.username.is_empty() { in check() 69 info.comment = info.username.clone() + ",,,"; in check() 72 let home_dir = format!("/home/{}", info.username.clone()); in check() 85 username: Some(info.username.clone()), in check() 149 let mut groupname = info.username.clone(); in check_group_gid() 196 info.username = cmd.username; in check() 201 username: Some(info.username.clone()), in check() 208 info.home = Some(Self::home(&info.username)); in check() 215 fn home(username: &String) -> String { in home() [all …]
|
H A D | info.rs | 5 pub username: String, field 22 info.username, info.uid, info.gid, info.comment, info.home_dir, info.shell in from() 30 pub username: String, field 37 pub username: String, field 51 pub username: String, field
|
/DragonOS/user/apps/user-manage/src/cmd/ |
H A D | useradd.rs | 39 let username = info.username.clone(); in main() localVariable 41 println!("Add user[{}] successfully!", username); in main()
|
H A D | userdel.rs | 39 let username = info.username.clone(); in main() localVariable 41 println!("Delete user[{}] successfully!", username); in main()
|
H A D | usermod.rs | 40 let username = info.username.clone(); in main() localVariable 42 println!("Modify user[{}] successfully!", username); in main()
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 99 if info.group == info.username { in write_group_file() 111 .filter(|username| !username.is_empty()) in write_group_file() 113 if field[0].eq(info.group.as_str()) && !users.contains(&info.username.as_str()) { in write_group_file() 114 users.push(info.username.as_str()); in write_group_file() 130 let data = format!("{}::::::::\n", info.username,); in write_shadow_file() 141 if info.group == info.username { in write_gshadow_file() 153 .filter(|username| !username.is_empty()) in write_gshadow_file() 155 if field[0].eq(info.group.as_str()) && !users.contains(&info.username.as_str()) { in write_gshadow_file() 156 users.push(info.username.as_str()); in write_gshadow_file() 205 field[0] != info.username.as_str() in update_passwd_file() [all …]
|
/DragonOS/user/apps/user-manage/src/parser/ |
H A D | parser.rs | 17 let username = args.last().unwrap().clone(); in parse() localVariable 66 UserCommand { username, options } in parse() 82 let mut username = None; in parse() localVariable 84 username = Some(args.last().unwrap().clone()); in parse() 86 PasswdCommand { username } in parse()
|
H A D | cmd.rs | 80 pub username: String, field 88 pub username: Option<String>, field
|
/DragonOS/.github/workflows/ |
H A D | publish-dragonos-docker-image.yml | 21 username: ${{ secrets.DOCKERHUB_USERNAME }}
|