This example shows how to use the projdel command to delete a project.
Become superuser or assume an equivalent role.
Remove the project booksite by using the projdel command.
# projdel booksite |
Display the /etc/project file.
# projects -l system projid : 0 comment: "" users : (none) groups : (none) attribs: user.root projid : 1 comment: "" users : (none) groups : (none) attribs: noproject projid : 2 comment: "" users : (none) groups : (none) attribs: default projid : 3 comment: "" users : (none) groups : (none) attribs: group.staff projid : 10 comment: "" users : (none) groups : (none) attribs: |
Log in as user mark and type projects to view the projects that are assigned to this user.
# su - mark # projects default |