User and Permissions Management Commands


Command

Action

chmod permissions filename

Changes the access permissions on filename, using numeric or symbolic permissions codes. (See Chapter 13, "Users, Groups, and Permissions.")

chown username filename

Changes the ownership of filename to the user username. (See Chapter 13.)

chgrp groupname filename

Changes the group ownership of filename to the group groupname. (See Chapter 13.)

passwd

Changes your login password. The root user can specify a username after passwd to change the password of a particular user. (See Chapter 13.)

adduser

Runs a script that adds a new user to the system. (See Chapter 13.)

rmuser username

Runs a script that removes a user from the system. That user will no longer be able to log in to the system. (See Chapter 13.)

vipw

Allows you to edit the /etc/master.passwd file directly, and it updates the database upon exiting. (See Chapter 13.)





FreeBSD 6 Unleashed
FreeBSD 6 Unleashed
ISBN: 0672328755
EAN: 2147483647
Year: 2006
Pages: 355
Authors: Brian Tiemann

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net