Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A developer who is build a bespoke system for my company is asking me to set the following symlink, and I'm not sure whether there is any point to this at all, and why the developer can't just change their code.

They want to be able to shutdown the system using /bin/shutdown instead of /sbin/shutdown.

The bespoke system will always run on Mint, so I don't think this is a case where they need to cater for other platforms.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

The /sbin/ folder contains programs normally needed only by administrators, which is why it's not in path for regular users. As for why they can't call the /sbin/shutdown if they are executing their code with appropriate rights, you need to ask them.

I would be very cautious and ask them quite a lot of questions - they are obviously writing code that will be run with superuser rights, so they need to know what they are doing. You don't want to run crappy code with superuser rights.

share|improve this answer
    
Thanks, you are confirming my suspicions in that they seem to be a little lacking in knowledge, unless there really is some amazing reason. I thought I'd ask here first before confronting them, they don't seem to take criticism all that well! –  DanH Aug 11 '11 at 10:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.