> Scripts cannot have the setuid bit set. It's a security thing, imagine > a bash script setuid root. Have fun modifying it :) > > Try: > > su - username -c "commandtorun" > > Have fun! > > iphitus
Ick. I was hoping for a better way. Maybe launching the script from a C program ... which would first do a setuid on the process? Sheesh! There's gotta be SOME other way to do this besides su'ing and opening a new shell. Anyway, thanks. DR ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ============================================================================== _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
