0

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?

baj
  • 139
  • 2
  • 8

1 Answers1

3

The current trend is to use sudo.

Mircea Vutcovici
  • 16,706
  • 4
  • 52
  • 80