你可以给每个用户建一个账号,如果是相关人员就放到一个用户组。

另外,个人楼主对Linux的用户权限的概念都不是很清楚,建议补习。

On 2013/2/18 17:48, baocheng li wrote:
> 还是觉得每个人都有自己的账户,因为这台服务器,不少人都要用的
>
>
> 在 2013年2月18日下午5:40,baocheng li <[email protected]
> <mailto:[email protected]>>写 道:
>
>     那如果都用一个账号的话,大家都知道这个账号了,这个权限不是就等于就
>     是没设。
>
>
>     在 2013年2月18日下午5:36,Luo Yong <[email protected]
>     <mailto:[email protected]>>写 道:
>
>         让他们都用一个帐号访问也可以
>
>         在 2013-2-18 傍晚5:34,"baocheng li" <[email protected]
>         <mailto:[email protected]>>写 道:
>
>             Windows 用户的samba访问帐号,每个windows PC都单独有一个
>             samba 访问帐号吗?我要在服务器上为每个windows PC设置一个账
>             号,是这样吗
>
>
>             在 2013年2月18日下午5:29,Luo Yong
>             <[email protected] <mailto:[email protected]>>
>             写 道:
>
>                 不是,是直接在Ubuntu上建用户,把这些用户都放到一个组
>                 里,然後 把Windows用户的samba访问帐号都关联到那些用户
>                 上,为这个组 设置的权限就影响到这个组里的所有用户
>
>                 在 2013-2-18 傍晚5:23,"baocheng li"
>                 <[email protected] <mailto:[email protected]>>
>                 写道:
>
>                     这个办法倒是没想过,我明天 早上试下,非常感谢,这
>                     里允许访问的用户我是把用户的 IP地址放进去吗?
>
>
>                     在 2013年2月18日下午5:10,Luo Yong
>                     <[email protected]
>                     <mailto:[email protected]>>写 道:
>
>                         新建一个用户组好了,把允许访问的用户都 放到这
>                         个组里,然後把那个文件夹的访问权限 分配给那个
>                         组,完成
>
>                         在 2013-2-18 傍晚5:06,"baocheng li"
>                         <[email protected]
>                         <mailto:[email protected]>> 写道:
>
>                             各 位,
>
>                             我想在Ubuntu 服务器里面建立这样的一个
>                             share folder, 这个folder只有我指定的 某些
>                             人可以访问,其他人不能访 问,我指定的这些
>                             人可以在他们 的windows PC下通过网络访问这
>                             个文件夹,其他人就无法打开这个文件夹。在网
>                             上我也看到很多说明如何配置的文章,但是实践
>                             发现达不到我想要的结果,现在比较着急,明
>                             天就要用,周围没有懂这个的同 事。希望使用
>                             过Ubuntu 12.04 server版的朋友帮忙。
>
>                             非常感谢!!!
>                             -- 
>                             您收到此邮件是因为您订阅了 Google 网上论坛
>                             的“PerlChina Mongers 讨论组”论坛。
>                             要退订此论坛并停止接收此论坛 的电子邮件,
>                             请发送电子邮件到
>                             [email protected]
>                             <mailto:perlchina%[email protected]>。
>                             要向此网上论坛发帖,请发送电 子邮件至
>                             [email protected]
>                             <mailto:[email protected]>。
>                             通过以下网址访问此论
>                             坛:http://groups.google.com/group
>                             /perlchina?hl=zh-CN。
>                             
> <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
>                             要查看更多选项,请访问
>                             https://groups.google.com/groups/opt_out。
>                             <https://groups.google.com/groups/opt_out%A1%A3>
>
>
>                         -- 
>                         您收到此邮件是因为您订阅了 Google 网上论坛的
>                         “PerlChina Mongers 讨论组”论坛。
>                         要退订此论坛并停止接收此论坛的电子邮 件,请发
>                         送电子邮件到
>                         [email protected]
>                         <mailto:perlchina%[email protected]>。
>                         要向此网上论坛发帖,请发送电子邮件至
>                         [email protected]
>                         <mailto:[email protected]>。
>                         通过以下网址访问此论
>                         坛:http://groups.google.com /group
>                         /perlchina?hl=zh- CN。
>                         
> <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
>                         要查看更多选项,请访问
>                         https://groups.google.com /groups/opt_out。
>                         <https://groups.google.com/groups/opt_out%A1%A3>
>
>
>
>                     -- 
>                     您收到此邮件是因为您订阅了 Google 网上论坛的
>                     “PerlChina Mongers 讨论组”论坛。
>                     要退订此论坛并停止接收此论坛的电子邮件,请发送电子
>                     邮件到 [email protected]
>                     <mailto:perlchina%[email protected]>。
>                     要向此网上论坛发帖,请发送电子邮件至
>                     [email protected]
>                     <mailto:[email protected]>。
>                     通过以下网址访问此论坛:http://groups.google.com
>                     /group/perlchina?hl=zh-CN。
>                     <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
>                     要查看更多选项,请访问 https://groups.google.com
>                     /groups/opt_out。
>                     <https://groups.google.com/groups/opt_out%A1%A3>
>
>
>                 -- 
>                 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina
>                 Mongers 讨论组”论坛。
>                 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件
>                 到 [email protected]
>                 <mailto:perlchina%[email protected]>。
>                 要向此网上论坛发帖,请发送电子邮件至
>                 [email protected]
>                 <mailto:[email protected]>。
>                 通过以下网址访问此论坛:http://groups.google.com
>                 /group/perlchina?hl=zh-CN。
>                 <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
>                 要查看更多选项,请访问 https://groups.google.com
>                 /groups/opt_out。
>                 <https://groups.google.com/groups/opt_out%A1%A3>
>
>
>
>             -- 
>             您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina
>             Mongers 讨论组”论坛。
>             要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到
>             [email protected]
>             <mailto:perlchina%[email protected]>。
>             要向此网上论坛发帖,请发送电子邮件至
>             [email protected]
>             <mailto:[email protected]>。
>             通过以下网址访问此论坛:http://groups.google.com /group
>             /perlchina?hl=zh-CN。
>             <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
>             要查看更多选项,请访问 https://groups.google.com /groups
>             /opt_out。 <https://groups.google.com/groups/opt_out%A1%A3>
>
>
>         -- 
>         您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers
>         讨论组”论坛。
>         要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到
>         [email protected]
>         <mailto:perlchina%[email protected]>。
>         要向此网上论坛发帖,请发送电子邮件至
>         [email protected] <mailto:[email protected]>。
>         通过以下网址访问此论坛:http://groups.google.com /group
>         /perlchina?hl=zh-CN。
>         <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
>         要查看更多选项,请访问 https://groups.google.com /groups
>         /opt_out。 <https://groups.google.com/groups/opt_out%A1%A3>
>
>
>
>
> -- 
> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”
> 论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到
> [email protected]。
> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
> 通过以下网址访问此论坛:http://groups.google.com /group
> /perlchina?hl=zh-CN。
> <http://groups.google.com/group/perlchina?hl=zh-CN%A1%A3>
> 要查看更多选项,请访问 https://groups.google.com /groups/opt_out。
> <https://groups.google.com/groups/opt_out%A1%A3>
>
>

-- 
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。
要向此网上论坛发帖,请发送电子邮件至 [email protected]。
通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。


回复