登 录
1、Linux Server autorun script
#vi /etc/rc.local (root用户)
2、以其他用户的身份运行命令
su - omimg - c 'export'
以omimg用户运行- c后面的export命令(其中export可以替换为其他全路径命令)
抱歉!评论已关闭.