A command to assign rights issues raised

Today, in order to strengthen the authority of the machine control, operation and maintenance so that the brothers root privileges to recover all the training machines, just gave dev authority, when I boarded dev found no written permission, operation and maintenance to quickly find a temporary root privileges to each user to configure an account, assign a directory can be written, and to run third-party command some of empowerment, then a problem, too big steps lead to major problems in the assigned rights when accidentally / bin / su privileges to change, and all ordinary users su not move, Google it,

Problem Description: You can not use su among ordinary users -
the cause: the case of groups and permissions as / bin / su is modified human
solution: chown root.root / bin / su && chmod 4755 / bin / su && ls -lda / bin / su
result is normal ls as shown below:

 

Guess you like

Origin www.cnblogs.com/peizhe123/p/12514228.html