docker操作记录ubu-16.04

[BEGIN] 2019/12/4 15:40:43
Last login: Wed Dec  4 13:56:18 2019 from 192.168.114.1
root@coder:~# man addgroup
ADDUSER(8)                                                             System Manager's Manual                                                            ADDUSER(8)NAMEadduser, addgroup - add a user or group to the systemSYNOPSISadduser  [options]  [--home  DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--ingroup GROUP | --gid ID] [--disabled-pass‐word] [--disabled-login] [--gecos GECOS] [--add_extra_groups] [--encrypt-home] useradduser --system [options] [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--group | --ingroup GROUP | --gid  ID]  [--disabled-password]  [--dis‐abled-login] [--gecos GECOS] useraddgroup [options] [--gid ID] groupaddgroup --system [options] [--gid ID] groupadduser [options] user groupCOMMON OPTIONS
ADDUSER(8)                                                             System Manager's Manual                                                            ADDUSER(8)NAMEadduser, addgroup - add a user or group to the systemSYNOPSISadduser  [options]  [--home  DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--ingroup GROUP | --gid ID] [--disabled-pass‐word] [--disabled-login] [--gecos GECOS] [--add_extra_groups] [--encrypt-home] useradduser --system [options] [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--group | --ingroup GROUP | --gid  ID]  [--disabled-password]  [--dis‐abled-login] [--gecos GECOS] useraddgroup [options] [--gid ID] groupaddgroup --system [options] [--gid ID] groupadduser [options] user groupCOMMON OPTIONS
ADDUSER(8)                                                             System Manager's Manual                                                            ADDUSER(8)NAMEadduser, addgroup - add a user or group to the systemSYNOPSISadduser  [options]  [--home  DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--ingroup GROUP | --gid ID] [--disabled-pass‐word] [--disabled-login] [--gecos GECOS] [--add_extra_groups] [--encrypt-home] useradduser --system [options] [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--group | --ingroup GROUP | --gid  ID]  [--disabled-password]  [--dis‐abled-login] [--gecos GECOS] useraddgroup [options] [--gid ID] groupaddgroup --system [options] [--gid ID] groupadduser [options] user groupCOMMON OPTIONS
root@coder:~# man addgroup
ADDUSER(8)                                                             System Manager's Manual                                                            ADDUSER(8)NAMEadduser, addgroup - add a user or group to the systemSYNOPSISadduser  [options]  [--home  DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--ingroup GROUP | --gid ID] [--disabled-pass‐word] [--disabled-login] [--gecos GECOS] [--add_extra_groups] [--encrypt-home] useradduser --system [options] [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--group | --ingroup GROUP | --gid  ID]  [--disabled-password]  [--dis‐abled-login] [--gecos GECOS] useraddgroup [options] [--gid ID] groupaddgroup --system [options] [--gid ID] groupadduser [options] user groupCOMMON OPTIONS[--quiet] [--debug] [--force-badname] [--help|-h] [--version] [--conf FILE]DESCRIPTIONadduser  and  addgroup  add  users  and  groups to the system according to command line options and configuration information in /etc/adduser.conf.  They arefriendlier front ends to the low level tools like useradd, groupadd and usermod programs, by default choosing Debian policy conformant UID  and  GID  values,creating a home directory with skeletal configuration, running a custom script, and other features.  adduser and addgroup can be run in one of five modes:Add a normal userIf called with one non-option argument and without the --system or --group options, adduser will add a normal user.adduser  will  choose  the first available UID from the range specified for normal users in the configuration file.  The UID can be overridden with the --uidoption.The range specified in the configuration file may be overridden with the --firstuid and --lastuid options.By default, each user in Debian GNU/Linux is given a corresponding group with the same name.  Usergroups allow group writable directories to be easily  main‐tained  by placing the appropriate users in the new group, setting the set-group-ID bit in the directory, and ensuring that all users use a umask of 002.  Ifthis option is turned off by setting USERGROUPS to no, all users' GIDs are set to USERS_GID.  Users' primary groups can also be overridden from  the  commandline  with  the  --gid  or  --ingroup  options  to  set  the  group  by  id or name, respectively.  Also, users can be added to one or more groups defined inadduser.conf either by setting ADD_EXTRA_GROUPS to 1 in adduser.conf, or by passing --add_extra_groups on the commandline.adduser will create a home directory subject to DHOME, GROUPHOMES, and LETTERHOMES.  The home directory can be overridden from  the  command  line  with  the--home  option,  and  the  shell  with the --shell option. The home directory's set-group-ID bit is set if USERGROUPS is yes so that any files created in theuser's home directory will have the correct group.adduser will copy files from SKEL into the home directory and prompt for finger (gecos) information and a password.  The gecos  may  also  be  set  with  the--gecos  option.   With the --disabled-login option, the account will be created but will be disabled until a password is set. The --disabled-password optionwill not set a password, but login is still possible (for example with SSH RSA keys).  To set up an encrypted home  directory  for  the  new  user,  add  the--encrypt-home option.  For more information, refer to the -b option of ecryptfs-setup-private(1).If  the  file /usr/local/sbin/adduser.local exists, it will be executed after the user account has been set up in order to do any local setup.  The argumentspassed to adduser.local are:username uid gid home-directoryThe environment variable VERBOSE is set according to the following rule:0 if --quiet is specified1 if neither --quiet nor --debug is specified2 if --debug is specified(The same applies to the variable DEBUG, but DEBUG is deprecated and will be removed in a later version of adduser.)Add a system userIf called with one non-option argument and the --system option, adduser will add a system user. If a user with the same name already exists in the system uidrange  (or,  if  the  uid  is  specified, if a user with that uid already exists), adduser will exit with a warning. This warning can be suppressed by adding"--quiet".adduser will choose the first available UID from the range specified for system users in the configuration file (FIRST_SYSTEM_UID  and  LAST_SYSTEM_UID).  Ifyou want to have a specific UID, you can specify it using the --uid option.By default, system users are placed in the nogroup group.  To place the new system user in an already existing group, use the --gid or --ingroup options.  Toplace the new system user in a new group with the same ID, use the --group option.A home directory is created by the same rules as for normal users.  The new system user will have the shell /bin/false (unless overridden  with  the  --shelloption), and have logins disabled.  Skeletal configuration files are not copied.2 if --debug is specified(The same applies to the variable DEBUG, but DEBUG is deprecated and will be removed in a later version of adduser.)Add a system userIf called with one non-option argument and the --system option, adduser will add a system user. If a user with the same name already exists in the system uidrange  (or,  if  the  uid  is  specified, if a user with that uid already exists), adduser will exit with a warning. This warning can be suppressed by adding"--quiet".adduser will choose the first available UID from the range specified for system users in the configuration file (FIRST_SYSTEM_UID  and  LAST_SYSTEM_UID).  Ifyou want to have a specific UID, you can specify it using the --uid option.By default, system users are placed in the nogroup group.  To place the new system user in an already existing group, use the --gid or --ingroup options.  Toplace the new system user in a new group with the same ID, use the --group option.A home directory is created by the same rules as for normal users.  The new system user will have the shell /bin/false (unless overridden  with  the  --shelloption), and have logins disabled.  Skeletal configuration files are not copied.2 if --debug is specified(The same applies to the variable DEBUG, but DEBUG is deprecated and will be removed in a later version of adduser.)Add a system userIf called with one non-option argument and the --system option, adduser will add a system user. If a user with the same name already exists in the system uidrange  (or,  if  the  uid  is  specified, if a user with that uid already exists), adduser will exit with a warning. This warning can be suppressed by adding"--quiet".adduser will choose the first available UID from the range specified for system users in the configuration file (FIRST_SYSTEM_UID  and  LAST_SYSTEM_UID).  Ifyou want to have a specific UID, you can specify it using the --uid option.By default, system users are placed in the nogroup group.  To place the new system user in an already existing group, use the --gid or --ingroup options.  Toplace the new system user in a new group with the same ID, use the --group option.A home directory is created by the same rules as for normal users.  The new system user will have the shell /bin/false (unless overridden  with  the  --shelloption), and have logins disabled.  Skeletal configuration files are not copied.root@coder:~# man sha256sum
SHA256SUM(1)                                                                User Commands                                                               SHA256SUM(1)NAMEsha256sum - compute and check SHA256 message digestSYNOPSISsha256sum [OPTION]... [FILE]...DESCRIPTIONPrint or check SHA256 (256-bit) checksums.With no FILE, or when FILE is -, read standard input.-b, --binaryread in binary mode-c, --checkread SHA256 sums from the FILEs and check themroot@coder:~# exit
注销Connection closed by foreign host.[END] 2019/12/4 16:39:05

docker 操作记录-3相关推荐

  1. docker 操作记录-2

    docker操作记录ubu-16.04 [BEGIN] 2019/12/4 13:56:06 Connecting to 192.168.114.130:22... Connection establ ...

  2. docker 操作记录-1

    docker操作记录(Ubuntu-16.04环境) Xshell 6 (Build 0115) Copyright (c) 2002 NetSarang Computer, Inc. All rig ...

  3. Docker 操作记录

    启动mysql 参考文档:http://www.runoob.com/docker/docker-install-mysql.html 获取镜像 docker pull mysql:5.6.22 运行 ...

  4. docker 操作 记录

    docker ps  #查看当前docker容器 docker exec -it  容器名称 sh  进入docker容器 docker stop 停止docker容器 转载于:https://www ...

  5. docker 学习记录1

    一. 1. Docker 是一个开源的应用容器引擎,基于 Go 语言 并遵从 Apache2.0 协议开源. Docker 可以让开发者打包他们的应用以及依赖包到一个轻量级.可移植的容器中,然后发布到 ...

  6. Docker操作总结

    文章目录 安装Docker Docker基本组成 安装Docker 阿里云镜像加速 Docker 操作 Docker原理 Docker run原理图 底层原理 Docker为什么比VM快? Docke ...

  7. Java访问华为云_华为云操作记录——JavaWeb 环境搭建

    华为云操作记录 创建用户 新建用户 sudo adduser weirwei 添加免密 root 权限 sudo vim /etc/sudoers 添加 root 权限 sudo 免密 切换到自己用户 ...

  8. Docker 操作mongo

    Docker 操作mongo 一.docker下载拉取mongo 二.docker 运行mongo 三.mongo导入导出数据 3.1 宿主机导入数据文件到mongo容器 3.2 mongo导入数据库 ...

  9. linux系统 长久记录所有用户所有操作记录

    在linux系统中想要记录所有登录过当前系统的用户操作,排查有人对当前系统做的何种操作导致系统问题,可以按照如下方法进行. 前言 在描述操作步骤之前,先说一下系统环境变量的相关配置文件 ~/.bash ...

最新文章

  1. Jquery绑定事件(bind和live的区别)[转]
  2. 021_Jedis的ZSet数据类型
  3. 华北电力大学计算机导论试题,华北电力大学 北京 继电保护历年复试试题.doc
  4. 强化学习note1——马尔科夫奖励过程MRP和马尔科夫决策过程MDP各个函数的定义与区别
  5. 如何提升业务稳定性?
  6. Android事件分发溯源详解
  7. leader选举的源码分析-FastLeaderElection.starter
  8. 我的python 入门 安装 -- hello world
  9. 织梦dede企业律师事务所网模板源码
  10. raspberry pi_如何为Raspberry Pi编写SD卡
  11. 带滚动条html转pdf只有一页,关于html页面导出pdf滚动条以下显示不全的问题
  12. 遍历字典_十三、Python字典三种遍历方法
  13. 将apache的htaccess转换为nginx的重写规则
  14. React入门基础+练习 (一)
  15. 使用python读取excel
  16. 阿里马涛:重新定义云时代的开源操作系统
  17. 计算机网络初探(ip协议)
  18. PID控制KP.KI.KD用法
  19. 【QT】判断鼠标按键
  20. dds:core:policy

热门文章

  1. 微信小程序海报分享及好友分享
  2. 新的一年嘚拥有新的壁纸了,python批量采集高清壁纸
  3. idea替换区分大小写
  4. 一键清理Nexus仓库
  5. FPGA学习笔记2-Quartus2简介
  6. Spring总结pt4
  7. linux下多进程聊天室,从0实现基于Linux socket聊天室-多线程服务器模型-1
  8. mtk-drm初始化
  9. 苹果电脑录屏怎么录内部声音?图文教学,1分钟快速学会
  10. 5个高质量图片素材网站