APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS









SCO Skills Test

Copyright 2002,2003 A.P. Lawrence

Answers


Answer


The contents of "file" will not be displayed because suid is ignored for shell scripts.

The suid is also ignored for shells. In olden days, you could copy /bin/sh to /bin/mysh, change it's owner to root, tag it as suid, and then you had an instant way to effectively be superuser without remembering the password (or caring if it had been changed). You can't do that anymore.


Comments /Tests/SCO/e0016.html


Add your comments


Next question
Return to Question q0016
Get Complete 1007 Question Set

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.