Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 6 of 6) sorted by relevance

/DragonOS/user/apps/user-manage/
H A DREADME.md23 > /etc/passwd
40 > /etc/passwd
62 > /etc/passwd
67 ## passwd section
71 > 普通用户: passwd
72 > root 用户: passwd username
78 > /etc/passwd
86 groupadd -g\<gid\> -p\<passwd\> groupname
126 > /etc/passwd
128 _/etc/passwd 文件格式:_
H A DCargo.toml19 name = "passwd"
20 path = "src/cmd/passwd.rs"
/DragonOS/user/apps/user-manage/src/check/
H A Dinfo.rs60 pub passwd: Option<String>, field
65 let mut passwd = String::from(""); in to_string_group() localVariable
66 if self.passwd.is_some() { in to_string_group()
67 passwd = "x".to_string(); in to_string_group()
69 format!("{}:{}:{}:\n", self.groupname, passwd, self.gid) in to_string_group()
73 let mut passwd = String::from("!"); in to_string_gshadow() localVariable
74 if let Some(gpasswd) = &self.passwd { in to_string_gshadow()
75 passwd = gpasswd.clone(); in to_string_gshadow()
78 format!("{}:{}::\n", self.groupname, passwd) in to_string_gshadow()
H A Dcheck.rs519 passwd: None, in check()
532 if let Some(passwd) = cmd.options.get(&CmdOption::Passwd) { in check()
533 info.passwd = Some(passwd.clone()); in check()
/DragonOS/user/apps/user-manage/src/cmd/
H A Dmod.rs4 mod passwd; module
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs26 let passwd = open_file("/etc/passwd"); in new() localVariable
31 passwd_file: passwd, in new()