Searched refs:groupname (Results 1 – 9 of 9) sorted by relevance
/DragonOS/user/apps/user-manage/ |
H A D | README.md | 84 > groupadd [options] groupname 86 groupadd -g\<gid\> -p\<passwd\> groupname 100 > groupdel groupname 102 groupdel \<groupname\> 115 > groupmod [options] groupname 117 groupadd -g\<new gid\> -n\<new groupname\> groupname
|
/DragonOS/user/apps/user-manage/src/check/ |
H A D | info.rs | 58 pub groupname: String, field 69 format!("{}:{}:{}:\n", self.groupname, passwd, self.gid) in to_string_group() 78 format!("{}:{}::\n", self.groupname, passwd) in to_string_gshadow() 85 pub groupname: String, field 91 pub groupname: String, field
|
H A D | check.rs | 112 let (groupname, gid) = (data[0].to_string(), data[2].to_string()); in check_group_gid() 113 if !info.group.is_empty() && info.group == groupname { in check_group_gid() 126 if !info.group.is_empty() && info.group != groupname { in check_group_gid() 131 } else if info.group.is_empty() || info.group == groupname { in check_group_gid() 132 info.group = groupname; in check_group_gid() 149 let mut groupname = info.username.clone(); in check_group_gid() localVariable 152 groupname = info.group.clone(); in check_group_gid() 154 info.group = groupname.clone(); in check_group_gid() 166 .arg(groupname) in check_group_gid() 517 groupname: cmd.groupname.clone(), in check() [all …]
|
/DragonOS/user/apps/user-manage/src/cmd/ |
H A D | groupadd.rs | 39 let groupname = info.groupname.clone(); in main() localVariable 42 println!("Add group [{}] successfully!", groupname); in main()
|
H A D | groupdel.rs | 39 let groupname = info.groupname.clone(); in main() localVariable 42 println!("Delete group [{}] successfully!", groupname); in main()
|
H A D | groupmod.rs | 40 let groupname = info.groupname.clone(); in main() localVariable 42 println!("Modify group [{}] successfully!", groupname); in main()
|
/DragonOS/user/apps/user-manage/src/parser/ |
H A D | parser.rs | 102 let groupname = args.last().unwrap().clone(); in parse() localVariable 130 GroupCommand { groupname, options } in parse()
|
H A D | cmd.rs | 94 pub groupname: String, field
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 601 if field[0] != info.groupname { in update_group_file() 619 if field[0] != info.groupname { in update_gshadow_file() 658 if field[0] == info.groupname { in update_group_file() 682 if field[0] == info.groupname { in update_gshadow_file()
|