建体彩网|中彩网双色球连号|
?
快捷搜索:  as  test  1111  test aNd 8=8  test++aNd+8=8  as++aNd+8=8  as aNd 8=8

和記娛樂在線官網:用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 turne和記娛樂在線官網d 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按鈕并不能把文件的屬主轉變成你自己(在這個按鈕上點擊的話將顯示一 個對話框看護你當前登錄的身份并沒有找到,也便是和文件屬主身份不匹配)。緣故原由是在 UNIX中只有root有權進行改變文件屬主的操作。點擊這個按鈕將使NT考試測驗把文件的屬主改 成當前登錄的用戶身份,此時samba并不會進行這樣的操作。

There is an NT c和記娛樂在線官網hown command that will work with Samba and allow a user with Administrator privillage connected to a Samba 2.0.4 server as root to change the ownership of files on both a local NTFS filesystem or remote mounted NTFS or Samba drive. This is available as part of the Seclib NT security library written by Jeremy Allison of the Samba Team, available from the main Samba ftp site.

有一個chown敕令可以和samba一路應用應用戶可以治理員權限聯接到samba 2.0.4并用 root身份改變位于本地NTFS文件系統或可映射的遠程NTFS及samba資本設備上的文件屬主 。當然這個由samba開拓組成員Jeremy Allison寫的Seclib NT安然庫部件可以從samba的 主FTP站點得到。

Viewing file or directory permi和記娛樂在線官網ssions

查看文件或目錄的權限

The third button is the "Permissions" button. Clicking on this brings up a dialog box that shows both the permissions an和記娛樂在線官網d the UNIX owner of the file or directory. The owner is displayed in the form :

對話框中第三個按鈕是“Permissions”按鈕。點擊它可以顯示文件或目錄的權限及UNIX 屬主。屬主的顯示形式象下面這樣:

"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).

此處的SERVER是samba辦事器的NetBIOS名,user是擁有這個文件的UNIX用戶名,而(Long name)是用來識別用戶的描述字串(平日這部分內容可以在UNIX口令數據庫的GECOS字段找 到)。

If the parameter "nt acl support" is set to "false" then the file owner will be shown as the NT user "Everyone" and the permissions will be shown as NT "Full Control".

假如把"nt acl support"參數設為“false”則文件屬主將以NT用戶“Everyone”來顯示 ,同時權限將顯示NT的“Full Control”。

The permissions field is displayed differently for files and directories, so I'll describe the way file permissions are displayed first.

文件和目錄顯示的權限字段有些差別。以是我先先容一下文件權限的環境。

File Permissions

文件權限

The standard UNIX user/group/world triple and the correspinding "read", "write", "execute" permissions triples are mapped by Samba into a three element NT ACL with the 'r', 'w', and 'x' bits mapped into the corresponding NT permissions. The UNIX world permissions are mapped into the global NT group Everyone, followed by the list of permissions allowed for UNIX world. The UNIX owner and group permissions are displayed as an NT user icon and an NT local group icon respectively followed by the list of permissions allowed for the UNIX user and group.

UNIX標準的user/group/world三項和“read”,“write”,“execute”三個權限可以由 samba映射到NT存取節制表ACL中響應的“r”,“w”“x”位以對應NT的標準權限項。 UNIX的world權限被映射到NT全局組Everyone以跟接UNIX的world對應的權限列表。UNIX的 owner和group權限在NT平分手以用戶圖標及本地組圖標來顯示并跟接UNIX中user和group 對應的權限列表。

As many UNIX permission sets don

免責聲明:以上內容源自網絡,版權歸原作者所有,如有侵犯您的原創版權請告知,我們將盡快刪除相關內容。

您可能還會對下面的文章感興趣:

建体彩网
河南11选5开奖查询今天 今天的河南快三开奖结果 快乐飞艇哪里开的 35选7 开个家居售后服务店赚钱吗 手机棋牌游戏开发代理 安徽快三 黑龙江22选5中奖结果 福彩开奖号码 华东15选5