summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/chrootuser/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/chrootuser/user.go b/pkg/chrootuser/user.go
index a024877a5..9be386ef9 100644
--- a/pkg/chrootuser/user.go
+++ b/pkg/chrootuser/user.go
@@ -9,7 +9,7 @@ import (
)
// GetUser will return the uid, gid of the user specified in the userspec
-// it will use the /etc/password and /etc/shadow files inside of the rootdir
+// it will use the /etc/passwd and /etc/group files inside of the rootdir
// to return this information.
// userspace format [user | user:group | uid | uid:gid | user:gid | uid:group ]
func GetUser(rootdir, userspec string) (uint32, uint32, error) {