加拿大华人论坛 美国华人新闻Where user and group information stored
在加拿大
User names and primary groups are stored in /etc/passwd. This file can be directly edited using the 'vi' editor, although this is not recommended. Format of the file is...User name (normally all lower case)Password (encrypted - only contains the letter 'x')User ID (a unique number of each user)Primary Group IDComment (Normally the person's full name)Home directory (normally /home/<user name>Default shell (normally /bin/bash)Each field is separated by a colon.Passwords for each user are stored in /etc/shadow. This file should only be changed using the passwd command.Group information is stored in /etc/group. This file can be directly edited using the 'vi' editor. Format of the file is...Group nameGroup password (hardly ever used)Group IDUser names (separated by commas)Each field is separated by a colon.Default filesWhen a new user is created, the default files and directories that are created are stored in /etc/skel.This directory can be modified to fit your needs. Modifications only effect new users and does not change anything for existing users.
·加拿大新闻 前滑门!这辆旗舰新车的设计很独特,车尾更是别出心裁
·加拿大新闻 资料外泄!CanadianTire15万客户资料恐已曝光
·加拿大新闻 多伦多印度网红在大学课堂烹饪黄油鸡!全场“鸡飞狗跳“!
·加拿大新闻 温市长沈观健强调:公园土地转作其他用途需议会一致和全民公
·加拿大新闻 博励治在感恩节去食品银行"作秀":通胀这么高,
·中文新闻 阿莉亚妮·蒂特莫斯 (Ariarne Titmus) 退役:奥运伟人宣布游泳生涯
·澳洲新闻 这张图解释了:为什么澳大利亚人比世界上几乎所有人都富有