加拿大华人论坛 美国华人新闻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.
·加拿大新闻 素里抢走温哥华风采 “光明之夜”圣诞灯节将移师素里举办
·加拿大新闻 国庆㓥客|景德镇酒店房价暴涨¥83变¥1051 市监局急立案调查
·加拿大新闻 卑诗扩展青少年滥药支援服务 素里治疗中心新增12床位
·加拿大新闻 威麟R08将于9月20日上市 首创首任车主整车终身质保
·加拿大新闻 五菱缤果 S:城市出行的闪耀之星
·生活百科 如果垃圾的盖子可以消失,该怎么办?维多利亚
·中文新闻 特朗普在英国:尽管凯尔·斯塔默(Keir Starmer)敦促,但美国总