USER-MANAGEMENT v19-01-12steemCreated with Sketch.

in #linux5 years ago
USER-MANAGEMENT v19-01-12
/etc/passwd 
/etc/shadow 
/etc/group 
/etc/profile 
/etc/adduser.conf 
/etc/default/useradd

~/.bashrc 
~/.profile 

# adduser userxyz
$ clear; finger; echo; finger userxyz; echo
$ cut -d: -f1 < /etc/passwd | sort | xargs
# chown -R userxyz:userxyz /home/userabc
# find /home -uid 1000 | wc -l
# find /home -uid 1000 | tee 1000-files.txt
# find / -uid 1000 -exec chown -v 1002:1002 {} \;
$ fuser -v /media/xyz
$ getent passwd userxyz
$ id -u userxyz
$ id -u root
$ id userxyz
$ ls -l /etc/skel
$ su -p
# useradd -D
# userdel -r userabc
# usermod -c "UserXYZ" userxyz
# vim /etc/sudoers

PASSWORD
# passwd userxyz
# passwd -S userxyz

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.034
BTC 62934.82
ETH 3119.20
USDT 1.00
SBD 3.86