usermod -l newuser olduser
groupmod oldgroup -n newgroup
usermod -d /home/newuser newuser (to change home directory, must be root)
cat /etc/passwd to verify that it worked
cat /etc/group
vi /etc/sudoers to change entry (as root)
Wednesday, June 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment