Administering Resource Management in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Delete a Project From the /etc/project File

This example shows how to use the projdel command to delete a project.

  1. Become root or assume an equivalent role.
  2. Remove the project booksite by using the projdel command.
    # projdel booksite
  3. 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: 
  4. Log in as user mark and type projects to view the projects that are assigned to this user.
    # su - mark
    # projects
    default