摘要:
sudo apt-get install samba(4)mkdir /home/用户名/share (新建share文件夹)sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backupsudo gedit /etc/samba/smb.conf搜寻这一行文字 代码:; security = user用下面这几行取代代码:security = userchmod 777 /home/用户名/share (设置该文件夹的权限使其让所有用户可读可写可运行)[Share]path = /home/用户名/sharepublic = yeswr... 阅读全文
摘要:
远程登录时,不是ssh登陆:xrdp 可以修改并添加 /etc/xrdp/startwm.sh代码:#!/bin/shif [ -r /etc/default/locale ]; then . /etc/default/locale export LANG LANGUAGEfi. /etc/profile. /etc/X11/Xsession转自http://hi.baidu.com/sujinsujin/item/f3fd3bed56a408ddeb34c9eb/etc下:(bash.bashrc[Ubuntu]或bashrc[CentOS]);environment;profile普通用户 阅读全文