- 论坛徽章:
- 0
|
本帖最后由 FlyInSunShine 于 2012-12-20 19:21 编辑
回复 5# xinxinhao
哦,不好意思,可能还有点差别。
我机器上装的是OpenIndiana,但是内容我是对着Oracle的手册搞的。
个人感觉您好像没有看手册。
~
用于管理用户和组帐户的命令行工具
http://docs.oracle.com/cd/E26926 ... 1111.html#scrolltoc
~
roleadd用法概要
http://docs.oracle.com/cd/E26926 ... #REFMAN1Mroleadd-1m
其中:
roleadd adds a role entry to the passwd and shadow and user_attr databases specified by the -S option. The default repository is files. The -A and -P options respectively assign authorizations and profiles to the role. Roles cannot be assigned to other roles. The -K option adds a key=value pair to user_attr for a role. Multiple key=value pairs can be added with multiple -K options.
roleadd also creates supplementary group memberships for the role (-G option) and creates the home directory (-m option) for the role if requested. The new role account remains locked until the passwd(1) command is executed.
Specifying roleadd -D with the -g, -b, -f, -e, or -K option (or any combination of these option) sets the default values for the respective fields. See the -D option. Subsequent roleadd commands without the -D option use these arguments.
~
user_attr手册页
http://docs.oracle.com/cd/E23824 ... #REFMAN4user-attr-4
~~
route手册页
http://docs.oracle.com/cd/E26926 ... e-1m.html#scrolltoc
其中:
route
- manually manipulate the routing tables
用法概要
route [-fnvq] sub-command [ [modifiers] args]
route [-fnvq] [-p [-R root-dir]] add | delete [modifiers] destination gateway [args]
route [-fnvq] change | get [modifiers] destination [gateway [args]]
route [-fn] monitor [modifiers]
route [-fnvq] flush [modifiers]
route -p [-R root-dir] show
Subcommands
The following subcommands are supported:
add
Add a route.
change
Change aspects of a route (such as its gateway).
delete
Delete a specific route.
flush
Remove all gateway entries from the routing table.
get
Look up and display the route for a destination.
monitor
Continuously report any changes to the routing information base, routing lookup misses, or suspected network partitionings.
show
Display the list of routes to be applied at system startup. Can be used only in conjunction with the -p option.
==============
Solaris 10 我用到SUN的最后一版,Oracle发布的目前还真没碰过。
再就是OpenSolaris和OpenIndiana。
咱纯粹自己玩,希望各位交流的时候最好把问题能说的更清楚点。 |
|