修改用戶標識符

修改用戶標識符php

-bash-4.1$ idbash

uid=501(www) gid=501(www) 組=501(www)ide

-bash-4.1$ su -ui

密碼:spa

-bash-4.1# cp /etc/skel/.bashit

.bash_logout   .bash_profile  .bashrc        class

-bash-4.1# cp /etc/skel/.bash* /home/www/file

-bash-4.1# chown -R www:www /home/wwwgc

-bash-4.1# su - www密碼

[www@opark_gc_php_113 ~]$ 


系統默認useradd文件

-bash-4.1# cat /etc/default/useradd 

# useradd defaults file

GROUP=100

HOME=/home

INACTIVE=-1

EXPIRE=

SHELL=/bin/bash

SKEL=/etc/skel

CREATE_MAIL_SPOOL=yes

-bash-4.1# 

相關文章
相關標籤/搜索