Home
last modified time | relevance | path

Searched refs:groupname (Results 1 – 9 of 9) sorted by relevance

/DragonOS/user/apps/user-manage/
H A DREADME.md84 > 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 Dinfo.rs58 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 Dcheck.rs112 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 Dgroupadd.rs39 let groupname = info.groupname.clone(); in main() localVariable
42 println!("Add group [{}] successfully!", groupname); in main()
H A Dgroupdel.rs39 let groupname = info.groupname.clone(); in main() localVariable
42 println!("Delete group [{}] successfully!", groupname); in main()
H A Dgroupmod.rs40 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 Dparser.rs102 let groupname = args.last().unwrap().clone(); in parse() localVariable
130 GroupCommand { groupname, options } in parse()
H A Dcmd.rs94 pub groupname: String, field
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs601 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()