Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just read some articales about suid.

lets say i need the helpdesk to be able to change customer passwords. it would be good if i could execute a ruby script that checks the db if the user is a customer (i dont want the helpdesk to change roots password) and then it runs "passwd user" on it

what would be a secure way to do this?

share|improve this question

1 Answer 1

The current trend is to use sudo.

share|improve this answer
last year alone 4 sudo vulnerabilities. sudo seems to suck –  baj Mar 9 '11 at 13:27
@banditj: and so much more security vulnerabilities related to SUID scripts and executables... –  skinp Mar 9 '11 at 14:16

Your Answer


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.