next up previous contents index
Next: Creating a user by Up: Creating a user Previous: Picking numeric user and

 

³õʼ»·¾³£º/etc/skel

µ±ÐÂÓû§µÄ¼ÒĿ¼²úÉúʱ£¬ÓÃ/etc/skel Ä¿Â¼µÄÎļþ³õʼ»¯¡£ ϵͳ¹ÜÀíÔ±¿ÉÒÔ²úÉú/etc/skel  ÀïµÄÎļþ¸øÓû§Ìṩһ¸öºÃµÄȱʡ»·¾³¡£ ÀýÈ磬²úÉúÒ»¸ö/etc/skel/.profile É趨EDITOR»·¾³±äÁ¿£¬ÌṩÐÂÓû§Ò»¸öÓÑÉÆµÄ±à¼­Æ÷¡£

È»¶ø£¬Í¨³£×îºÃ±£³Ö/etc/skel ¾¡Á¿Ð¡£¬ ÒòΪit will be next to impossible to update existing users' files. ÀýÈ磬Èç¹ûÓÑÉÆµÄ±à¼­Æ÷µÄÃû×ָıäÁË£¬ËùÓÐÏÖ´æÓû§±ØÐë±à¼­ËûÃǵÄ.profile ¡£ ϵͳ¹ÜÀíÔ±¿ÉÒÔÓÃÒ»¸öscript×Ô¶¯Íê³É£¬µ«ÈÔ¿ÉÄÜÆÆ»µÄ³¸öÓû§µÄÎļþ¡£

Ö»Òª¿ÉÄÜ£¬×îºÃ°ÑÈ«¾ÖÉèÖ÷ÅÔÚÈ«¾ÖÎļþÖУ¬Èç/etc/profile ¡£ ÕâÑù¿ÉÒÔÉý¼¶£¬¶ø±ÜÃâÆÆ»µÓû§×Ô¼ºµÄÉèÖá£



Lars Wirzenius
Sun Jun 29 13:31:22 EEST 1997