 |
教程: Linux教程-网络管理-用NT的安全对话框来观察和改变UNIX权限 |
 |
|
|
| 教程: Linux教程-网络管理-用NT的安全对话框来观察和改变UNIX权限 |
|
|
|
|
Viewing and changing UNIX permissions using the NT security dialogs in Samba
2.0.4
在samba中用NT的安全对话框来观察和改变UNIX权限。
Jeremy Allison, Samba Team
12th April 1999
Table of Contents
------------------------------------------------------------------------------
--
Viewing and changing UNIX permissions using the NT security dialogs
用NT的安全对话框来观察和改变UNIX权限
-------------------------------------------------------------------
New in the Samba 2.0.4 release is the ability for Windows NT clients to use
their native security settings dialog box to view and modify the underlying
UNIX permissions.
这项smba 2.0.4版本提出的新功能可以使NT客户用他们本地的安全设定对话框来观察和修
改根本的UNIX权限。
Note that this ability is careful not to compromise the security of the UNIX
host Samba is running on, and still obeys all the file permission rules that
a Samba administrator can set.
注意小心使用这项功能不会危及正在运行samba的UNIX主机安全,它仍然服从所有的samba
管理员设定的文件权限规则。
In Samba 2.0.4 and above the default value of the parameter "nt acl support"
has been changed from "false" to "true", so manipulation of permissions is
turned on by default.
samba 2.0.4及以上版本已经把"nt acl support"参数的默认值从“false”改成了“true
”,所以说默认情况下权限操作已经被允许了。
How to view file security on a Samba share
如何来观察samba共享文件的安全性
------------------------------------------
From an NT 4.0 client, single-click with the right mouse button on any file
or directory in a Samba mounted drive letter or UNC path. When the menu
pops-up, click on the Properties entry at the bottom of the menu. This brings
up the normal file properties dialog box, but with Samba 2.0.4 this will have
a new tab along the top marked Security. Click on this tab and you will see
three buttons, Permissions, Auditing, and Ownership. The Auditing button will
cause either an error message "A requested privilege is not held by the
client" to appear if the user is not the NT Administrator, or a dialog which
is intended to allow an Administrator to add auditing requirements to a file
if the user is logged on as the NT Administrator. This dialog is
non-functional with a Samba share at this time, as the only useful button,
the Add button will not currently allow a list of users to be seen.
方法是:NT客户用鼠标右键单击任何位于samba共享设备符或UNC路径上的文件或目录,在
弹出的菜单底部点击“属性”项,这时会出现普通文件属性对话框,而samba 2.0.4会在
安全性标记的顶部给出一个新的表项。单击这个表项可以看到三个按钮,Permissions,
Auditing, 和 Ownership。点击Auditing按钮,如果用户并不是NT管理员的话将会出现一
个错误信息:“客户没有足够权限”;如果用户以管理员身份登录的话会出现一个对话框
允许管理员对文件加入审核信息。此时,对话框中关于samba共享资源的部分将无效,因
为仅有的可用按钮“Add”会不允许查看一份用户列表。
Viewing file ownership
查看文件属主
----------------------
Clicking on the "Ownership" button brings up a dialog box telling you who
owns the given file. The owner name will be of the form :
点击“Ownership”按钮你可以查看给出文件的属主。属主名称以下面的形式列出:
"SERVERuser (Long name)"
Where SERVER is the NetBIOS name of the Samba server, user is the user name
of the UNIX user who owns the file, and (Long name) is the discriptive string
identifying the user (normally found in the GECOS field of the UNIX password
database). Click on the Close button to remove this dialog.
此处的SERVER是samba服务器的NetBIOS名,user是拥有这个文件的UNIX用户名,而(Long
name)是用来识别用户的描述字串(通常这部分内容可以在UNIX口令数据库的GECOS字段找
到)。这时在Close按钮上点击可以关闭这个对话框。
If the parameter "nt acl support" is set to "false" then the file owner will
be shown as the NT user "Everyone".
如果把"nt acl support"参数设为“false”则文件属主将以NT用户“Everyone”来显示
。
The Take Ownership button will not allow you to change the ownership of this
file to yourself (clicking on it will display a dialog box complaining that
the user you are currently logged onto the NT client cannot be found). The
reason for this is that changing the ownership of a file is a privilaged
operation in UNIX, available only to the root user. As clicking on this
button causes NT to attempt to change the ownership of a file to the current
user logged into the NT client this will not work with Samba at this time.
Take Ownership按钮并不能把文件的属主改变
[1] [2] [3] 下一页
|
|
| 教程录入:admin 责任编辑:admin |
|
|
上一篇教程: 教程: Linux教程-网络管理-基于Linux的网络试验系统的设计(一)
下一篇教程: 教程: Linux教程-网络管理-基于Linux的网络试验系统的设计(三) |
|
|
|
|
|
|
|
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |
|
|
|
|
|