显示安全性信息
作者和客户端都可以使用“op_manfile -header_print”来显示安全性信息,包括模型是否受到保护、当前用户拥有何种访问级别,以及当前用户是否为该模型的作者(因此可以执行注册操作)。
% op_manfile -header_print -m supernet2
|------------------------------------------------------------------------|
|file path : /usr/client/op_models/supernet2.nt.m |
|------------------------------------------------------------------------|
|file type : Network Model |
|------------------------------------------------------------------------|
|creation |
| date : Fri Dec 29 18:20:12 1995 |
| application : opnet |
| release : 3.0.A |
| compat rel. : 3.0.A |
|------------------------------------------------------------------------|
|last modification |
| date : Fri Dec 29 18:38:12 1995 |
| version : 3 |
| user : a_user |
| host : maginty |
|------------------------------------------------------------------------|
|edit lock |
| status : unlocked |
|------------------------------------------------------------------------|
|user lock |
| status : unlocked |
|------------------------------------------------------------------------|
|security |
| status : protected |
| reg. sites : 2 |
| local site : full access |
| world : not registered |
|------------------------------------------------------------------------|
|suite info |
| name : The SuperNet protocol suite |
| description : |
| Suite of models implementing the SuperNet protocol for Modeler |
| Copyright 1996 SuperNet, Inc. |
|------------------------------------------------------------------------|