• ubuntu 添加 Samba 然后windows 共享


    1 安装相应的软件
    http://www.cnblogs.com/phinecos/archive/2009/06/06/1497717.html

    2 发现用户加不进去
    [root@ubuntu ~]# smbpasswd -a [用户名]
    New SMB password:
    Retype new SMB password:
    Failed to add entry for user 【用户名】.
    解决办法:
    这是因为没有加相应的系统账号,所以会提示Failed to add entry for user的错误,只需增加相应的系统账号test就可以了:
    [root@ubuntu ~]# groupadd test -g 6000
    [root@ubuntu ~]# useradd test -u 6000 -g 6000 -s /sbin/nologin -d /dev/null

    这时就可以用smbpasswd -a test增加test这个samba账号了!为了增加系统的安全性,所以加的系统账号不要给shell它,也不给它指定目录,到时在/home目录给test账号建个文件夹,该文件夹只有test有读写权限即可!
    http://blog.csdn.net/minenamewj/article/details/17356703

    3 添加网络映射驱动器
    \ip[path]

    输入用户名和密码

  • 相关阅读:
    My 1st webUI try
    option(recompile)
    Add&Delete WindowService
    powershell
    bootstrap模态框,等待遮盖层
    spring-boot通过@Scheduled配置定时任务
    bootstrap-table的一些参数配置
    $('xx')[0].files[0]的意思
    Go国内镜像
    基础语法-defer使用(12)
  • 原文地址:https://www.cnblogs.com/qinqiu/p/4666696.html
Copyright © 2020-2023  润新知