Warning: Undefined array key "cperpage" in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 230

Warning: Undefined variable $output in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 300

Warning: Undefined variable $fixed_tags in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 301

Warning: Undefined variable $isshowdots in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 302

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 305

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 308

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 311

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $more_text_link in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320
迁移 – 理想社会

Tag迁移

Linux上用户帐号的迁移

L

迁移用户帐号不是一件容易的任务。你需要确保文件所有权保持完整,密码和所属组保持原样。需要考虑的文件应该是,比如,用户的主目录和email。 在红帽企业Linux2.1和3上,好的情况是他们有相似的处理用户帐号的方法。加入系统的用户的UID和GID总是从500开始计算,一直增加,除非被 覆盖(参见man页的useradd)。这里,我们假设你使用/etc/passwd,/etc/group和/etc/shadow来做身份认证。这样 迁移用户帐号,就是把UID>=500的用户帐号导入到系统中。 为了让这个过程能工作正常,你不应该在新安装的红帽企业Linux3系统上创建新的用户帐号。下面的过程包括获取你的用户帐号,把他们添加到恰当文件的已经存在的帐号后面。这个过程只在安装后有效,建议你在添加用户帐号之前,备份你要修改的文件。 在红帽企业Linux2.1系统上: # awk -F:...

Your sidebar area is currently empty. Hurry up and add some widgets.