-L:锁定用户账号 -U:解锁How to modify a group property definition: groupmod: -g GID -n New Group 修改用户的属组 groupdel gpasswd To modify the account date attribute: chage:修改用户的日期属性 -E:距离1970-1-1号的时间天数,过了这个时间,账号不可访问 -I: 设置活动天数 -m:修改密码最小使用时间 -M:修改密码最长使用时间 -W:警告时间To view information about a user: id -n 显示名称 -u 显示UID -g:显示基本组ID
matter how they are packaged, the first thing in the kernel, that is, the core of use, is the same: all are Linux!
How is the core defined? To put it simply, it is the Operating System, which is responsible for processing everything in all systems, including hard drive control, memory management, travel management, file System, network functions, and so on. We can regard the core as an interface operating system between the program and the hardware.
Command: Modify comment information
Chage: Modify password expiration information for a user account
CHAGE–L username viewing expired information with a user
GPASSWD command: Add a password to a group
Etc/gshadow
When the user switches his or her base group to this group, if it has this group as an additional group, it switches directly; otherwise, a password is required;
NEWGRP: Switch user's basic group;
Newgrp group_name
Su USERNAME: Non-login switching means that
) Create user Mandriva, whose ID is 1005; Basic Group is distroUseradd–u 1005–g distro Mandriva(3) Create user Mageia, whose ID is 1100, home directory is /home/linuxUseradd–u 1100–d/home/linux Mageia(4) add password to user Mageia , password is mageeduecho mageedu | passwd--stdin Mageia(5) Delete Mandriva, but keep its home directoryUserdel Mandriva(6) Create user Slackware, whose ID number is 2002, B
openSUSE comes from Novell's commercial version SUSE Linux and has a large number of advanced features, such as the comfortable and searchable home directory in Windows Vista, in addition, you can add a self-running test experience disk Live Disc ).
"I have used Linux and want to go deeper"
If you are familiar with Linux or have confidence in your learning abil
same rules--it should be able to adapt to different user environments, easily change their behavior, and easily integrate with different environments. Rather than assuming that others are consistent with your needs, give them the freedom to customize the system.
4, go to the center of the
Distributed software development also doomed the system's interface and form is not unified-because everyone likes to invent the wheel. And everyone's wheels are more or less suitable for themselves and the co
"" –passwordbox ""Instance:#!/bin/Bashpassword=$ (Whiptail--title"Test Password Box"--passwordbox"Enter your password and choose Ok to continue." Ten - 3>1 1>2 2>3) Exitstatus=$?if[$exitstatus =0]; Then Echo "Your password is:"$PASSWORDElse Echo "You chose Cancel."fiCreate a menu barWhen you want the user to choose an arbitrary number of choices, you can use the menu box.Grammar:Whiptail–title ""–menu" "[ ] . . .Instance:#!/bin/bashoption=$ (Whiptail--title"Test Menu Dialog"--menu"Choose
x86-Linux distro. the user does not need to first compile, install, or configure anything.
CDE-exec " (included within the package) -->
CDE implements a form of lightweight application virtualization alization that allows you to easily distribute portable software, to deploy applications to the cloud, to make Computational experiments reproducible, and to run software on non-native
distro. You are need to reboot the box . Before you apply to patch, note down your current kernel version:
$ uname-a
$ uname-mrs
Sample outputs:
Linux 3.13.0-95-generic x86_64
Debian or Ubuntu Linux$ sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
Reboot the server: $ sudo Reboot
Related:ubuntu Linux
software.
Select different versions
A Linux release refers to what we usually call a "Linux operating system". It may be released by an organization, company, or individual. For example, Red Hat Enterprise Edition and openSUSE are released by the company, while Ubuntu and Linux Mint are released by the Organization.
Linux
change the permissions of this file, otherwise the other person is not authorized to view the boot file)Cobbler profile Add--name=centos7_hello--distro=centos7_test--kickstart=/var/lib/cobbler/kickstarts/ks7.cfg (Import ks The. cfg file is the boot file under the Centos7_hello menu)Systemctl Restart Cobblerd (restart this service again)Cobbler sync (sync config file)The configuration of the server is ready to complete.Five, configure the client. Conn
1. UsersLinux users fall into two categories: Administrators and ordinary users.Administrator: The user name is root, it almost has the right to exercise all commands, generally do not recommend the use of root permissions, because Linux does not support the recycling mechanism.For example: RM-RF/or RM-RF/* etc.Normal User: Divided into the system user and the login userSystem User: Only for the service run program, is the system to meet the service r
of drivers. After version 3.0 is the "A.B.C" format, B increases with the release of the new version, and C represents some bug fixes, security updates, new features, and drivers.The third way no longer uses even numbers for stable version, odd for the development version of the naming method. For example: 3.7.0 is not a development version, but a stable version!
Linux distributionsLinux is primarily used as part of a
build their own Linux-derived versions of the early open source technology.3. What is Linux distribution?The so-called release (distro) refers to a configuration of the Linux operating system, which the company builds Linux by extracting it. Currently, the most popular
========================================================== =
========================================================== =
Common iptables firewall configuration problems:
Author: kenduest)
Last Updated: 8/18/2006
========================================================== =========================================================== =
Title List project: (generally, the firewall configuration problem on the local machine)
1. How can I query my current iptables configuration settings?2. How do I di
' Zonker ' Brockmeier (July 17, 2007)Translator: Wang Xu (July 19, 2007)What are the outstanding advantages of rsync? First, it is designed to transfer only the different parts of the file, not the entire file, to speed up the file transfer. For example, I am writing this article, so I can now use rsync to replicate once, and then transfer again. The second time (third, fourth time ...) ), rsync transmits only the different parts of the file. This will greatly save time, especially when replica
=$ (whiptail--title "Test PASSWORD box"--passwordbox "Enter your PASSWORD and choose OK to continue." 3>1 1>2 2>3)Exitstatus=$?if [$exitstatus = 0]; Thenecho "Your password is:" $PASSWORDElseecho "You chose Cancel."Fi
Create a menu bar
When you want the user to choose an arbitrary number of choices, you can use the menu box.
Grammar:
Whiptail–title "
"–menu" "
[ ] . . .
Instance:
#!/bin/bashoption=$ (Whiptail--title "Test menu Dialog"--menu "Choose your Option" 15 60 4"1" "Grill
Document directory
Introduction
Step 1. Download, install and run
Step 2. Create an application to run on Linux inside windows
Step 3. Deploy your application on Linux inside windows
Step 4. Run your application on Linux inside windows
Conclusion
Http://dev.mainsoft.com/Default.aspx? Tabid = 49 # Step 2
Using
1. Linux operating system users and user groupsLinux operating system is multi-tasking (multi-tasks) multi-user (Multi-users) time-sharing operating system, the Linux operating system user is to let us log on to Linux permissions; whenever we log in to the operating system with a username, Linux authenticates the user
, but a stable version!
Linux distributionsLinux is primarily used as part of a Linux distribution (often referred to as "distro"). These distributions are written by individuals, loosely organized teams, as well as business organizations and volunteer organizations. They typically include other system software and application software, as well as an install
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.