Tags: User and user Group profile timestampLinux System account file mainly has/etc/passwd,/etc/shadow,/etc/group,/etc/gshadow four files, which and user-related files/etc/passwd user profiles,/etc/ Shadow shadow password file, an
Simulation ScenariosHT company is ready to deploy a file server for strict rights management. Allow users to access only their own files. A total of 3 departments and 15 employees, asked to create these 15 accounts, and then by the Department classification management.
Department
Chinese name
English name
manager Kevin
kevin
department (Ministry of Information)
Tian Tian
andrew
Mai Mai
Michael
BOS Project Note 11th DayContent:1. Provide a new JSON file, modify the System menu (join the Workflow menu)2. Process definition Management (query, deployment process, view PNG process picture)3. Process instance Management (query, view running status)4. Synchronize user data and role data in the BOS system to Activiti user and group tables1. Provide a new JSON
One: Linux multi-user multi-tasking introductionLinux/unix is a multi-user, multi-tasking operating system; Before introducing the Linux account and Account group management, the basic concepts of multi-user and multi-task operating system should be understood.Single-user mu
From the previous article: PHP website (nginx, PHP-FPM, MySQL) User rights analysis, you can learn how Nginx and PHP-FPM users are working.There is a working scenario:1, the company has a CentOS server running several websites, each site is maintained by different teams, if you make sure that the FTP update files, do not update the wrong, not disorderly channeling. How to avoid the original to a site update files, the results uploaded to the B site, a
server after modification (remove the # at the front end and change it to anon-access = none)Password-db = password # Name of the file saved by the user (remove the # above)Authz-db = authz # permission management file is very important. if we want to assign permissions to the entire project file, we must comment out the row file, no, even if we do more configuration in the permission configuration file, it is invalid. (Remove the # above)
3. create
In Linux, the root user is a user with a high level of permissions, which threatens the security of the operating system, therefore, we usually use a common user name when operating the computer, and temporarily use the su command to switch to the root user only when super user
The more server security requirements of servers, the more need to establish a reasonable level of user rights and server operating norms. In Linux, user information is viewed and modified primarily through user profiles .1 User information file (1) User information file/etc
system management from the fact. From the security point of view, multi-user management of the system more secure, such as Beinan users under a file do not want to let other users see, just set up the file permissions, only Beinan a user readable writable editable on the line, so that only Beinan a user can operate their private files , Linux in multi-
1,How to add an account under Linux system: User name is std02, password is PWD02?: #useradd std02#passwd std02Prompt to enter password pwd02, and then press prompt to enter PWD02You can also:#useradd-N std02-p pwd02
2,Create a new subdirectory/home/public so that it is shared by all users and has all permissions, but cannot be deleted by non-owner?: #mkdir/home/public#chmod A+trwx/home/public
3,Allow a subdirectory/home/student02 to be privatized,
After Fedora14 is installed, sudo is not enabled by default. you should first set sudo. The role of sudo is to allow the current non-root user to directly add sudo to the command before using commands without permissions, and then enter the password of the current user to complete the function of the root user, you don't have to switch users back and forth every
Add a user in Linux and add a user to a group
1. Create a user whose username and password are hadoop:
Useradd hadoop
Passwd hadoop
1. We have a group named hadoops.
Groupadd hadoops
2. Add hadoop users to the hadoops group.
Operational commands for some Linux usersUseradd Creating a userAddUser Creating a userpasswd Password Change commandUsermod Change the user name, and the user directoryUserdel Deleting a userID shows the user uid and GIDGroupadd Creating a user groupGroupdel Deleting a user
In this forum system, user group settings are very important. You can add user groups as needed.
Permission settings, used to check whether you have the permission to browse the corresponding Forum
So how can we make a registered member have a "member" User Group?
The
Solemnly declare: This article is reproduced on the Internet by the author, and the ownership belongs to the original author!
Address: http://blog.chinaunix.net/uid-20648944-id-3190395.html
View the current Login User$ WhoLoongson tty7 2012-04-27 08:58 (: 0)Loongson pts/0 2012-04-27 (: 0.0)Loongson pts/1 (: 0.0)Loongson pts/2 (: 0.0)
$ FingerLogin Name TTY Idle login time office phoneLoongson tty7 12 Apr 27 08:58 (: 0)Loongson pts/0 4 Apr 27 (: 0.0)L
The main function is # Include # Include Uid_t getuid ( Void ); Gid_t getgid ( Void ); Uid_t gettuid ( Void ); Gid_t getegid ( Void ); // Change ID Int Setuid (uid_t UID ); Int Setgid (gid_t GID ); // Exchange actual users and valid user IDs Int Setreuid (uid_t ruid, uid_t EUID ); Int Setregid (gid_t rgid, gid_t EGID ); // Change valid user ID Int Seteuid (uid_t EUID ); Int Setegid
1.1.1 Problem Description
After the system is upgraded to 6.1.0.3, no users or user groups can be searched. This is reflected in the following functional modules: wcm authorization, wcm management, and PDM management, all places where people picker page is used cannot be used.
1.1.2 Solution
This is because the Upgrade Program of portal6.1.0.3 may accidentally modify the attribute value of the People picker Portlet. As a result, the Portlet cannot fin
This section is about two commands su and sudo are all about getting root permissionsThe parameters of the sudo band are-l-c-m-v, etc.-L gives Sudo permission for the current user-C Execute Command-V time stamp-M Delete timestampAnd then there's the Setup command for sudo.Usually use regular visudo.And then step by step, this doesn't easily cause a big mistake.You can also edit the configuration file/etc/sudoersAbout configuration formatsRoot AllThat'
Front User GroupAdd User Group commandGroupaddWe just need to remember some common parameters.Groupadd-g 8888 Syz #添加 GID 888 user GroupView grep syz/etc/group after adding completeThe point is, passwd, this command.Used to change the passwordPasswd-d This is the delete pass
This section also speaks of user and user group managementOr retry the previous user-limited issueCan be used chage can also use USERADD-EChage-l View the user's time limit and some other informationYou can also use USERMOD-E to set time limits.The old boy here said there are many commands to set up some of the same fu
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.