apl logo

A.P. Lawrence

Information and Resources for Unix and Linux Systems
Bloggers and the self-employed
RSS FeedsGet 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