Troubleshooting
I want to change the password aging for one user, but not the defaults as shown earlier in the chapter. How can I do this?
Use the chage (change-aging) program. The chage man page provides the information you need.
I tried to use COAS to add a new user, but the program said the passwd file was locked.
If COAS exits abnormally while you are adding users, it will not properly clean up after itself. You need to remove the following files in /etc: pwtmp, passwd-, and shadow-. You should not have any further problems.
I have a shell script I want to let other people run. I set the execute bit on the file with chmod 711, but they can't run it.
Binary files can be made execute-only and will run. For shell scripts to run, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access