ubuntu服务器中新建用户及设置主目录
2017-09-25 10:54
357 查看
创建用户:
sanqi@sanqi:~$ sudo adduser sun
stack@stackd:~$ sudo adduser sun[sudo] password for stack:
Adding user
sun' ... Adding new groupsun’ (1005) …
Adding new user
sun' (1005) with groupsun’ …
Creating home directory
/home/sun' ... Copying files from/etc/skel’ …
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for sun
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] Y
到此就可以了
相关文章推荐
- ubuntu设置好samba服务器后,windows登录共享目录时出现“Samba服务器 解决不允许一个用户使用一个以上用户名与一个服务器或共享资源的多重连接”
- 如何在ubuntu设置共享目录文件夹给Windows用户
- ubuntu server vsftpd 匿名用户上传下载及目录设置
- 设置LINUX 服务器中FTP 用户登录的默认目录
- 设置Samba服务器中新建文件/目录的权限
- Linux使用笔记: 设置Samba服务器中新建文件/目录的权限
- ubuntu 作为服务器,创建新用户,并设置为管理员权限。
- Linux使用笔记: 设置Samba服务器中新建文件/目录的权限
- ubuntu 新建用户到指定的目录
- ubuntu下useradd与adduser区别,新建用户不再home目录下
- ubuntu 16.04 搭建 oracle11g 服务器(三)-------创建表空间和用户并设置开机自启
- ubuntu 14.04 下FTP服务器的搭建--锁定用户目录,解决vsftpd: refusing to run with writable root inside chroot()
- ubuntu下useradd与adduser区别,新建用户不再home目录下
- ubuntu 14.04 下FTP服务器的搭建--锁定用户目录,解决vsftpd: refusing to run with writable root inside chroot()
- ubuntu下useradd与adduser区别,新建用户不再home目录下
- 设置Samba服务器中新建文件/目录的权限
- 服务器无法访问应用程序目录。该目录不存在或因为安全设置而无法访问。
- 我的服务器开发之路-配置vsftpd并添加用户限定目录规避无法写入
- 【安装oracle——准备工作】配置内核参数+添加用户组及用户+为oracle用户配置shell限制+创建目录结构+设置oracle环境
- Ubuntu 新建用户并添加到管理组