将非 root 用户配置迁移到 root 用户配置
如果先前在 V7.0 或更高版本 中使用了 Linux 和 UNIX 平台上的非 root 用户标识,那么您可以在 WebSphere® Application Server V9.0 中以 root 用户身份运行 Deployment Manager 或应用程序服务器。
开始之前

本文是关于概要文件配置迁移。要将应用程序迁移到最新版本,请使用 WebSphere Application Server Migration Toolkit。有关更多信息,请参阅 WASdev 上的 Migration Toolkit。
sptcfg过程
将概要文件或 Deployment Manager 目录的所有权设置为运行 WebSphere Application Server 的同一用户。
必须完成此操作,Deployment Manager 或应用程序服务器才能正确运行。
作为 root 用户,运行以下命令:
cd $WASROOT/profiles/
chown -R wasadmin dmgr/
chgrp -R wasndgrp dmgr/
chmod -R 755 dmgr/
...
cd $WASROOT/profiles/dmgr/bin
./startManager.sh
其中,概要文件名称是 dmgr,它作为
wasadmin 中主组为 wasndgrp 的用户运行。提示: 有关帮助信息,请参阅对迁移进行故障诊断。