Re: [SLE] Setuid perl scripts?



When I try to start a setuid perl script on suse-10.0, I get the error
"Can't do seteuid!". I know there was a racing condition with set-id
scripts a long time ago. But isn't it fixed by now? Or do I need to
enable some kernel-option to enable set-id scripts?

no kernel option, you just need to change the permission on the file:
chmod 5711 /sr/sbin/suidperl

by the way, the next time you will run yast, SuSeconfig will change it
back to the previous permissions. You need to modify /etc/permissions


Relevant Pages

  • Re: [SLE] Setuid perl scripts?
    ... I know there was a racing condition with set-id ... scripts a long time ago. ... always put your own permission changes ... in /etc/permissions.local to preserve them across YOU and SuSEconfig ...
    (SuSE)
  • Re: Web Authentication
    ... Please use such programs only if you have a permission from the ... make a brute force attack to htaccess? ... but i dont know any other ways of authentication. ... scripts in those directories are wirted in PHP Perl and CGI scripting. ...
    (Security-Basics)
  • RE: permission
    ... Never Never Never Never EVER give access like that to the root of ANY drive. ... opening up your system to all scripts, such as scripts that are targeted ... Once that permission is set, ... to the C drive is OK as long as you don't set IIS to list content and other ...
    (Security-Basics)
  • Re: Survey: Would You Rather Black Dragon Post, or Not Post.
    ... > Bungling Dragoon wrote: ... Nor do you have my permission to give the scripts to anyone, ... Other people's work which a Bungler thinks of as his own? ...
    (alt.machines.cnc)
  • Re: [opensuse] tired of typing: find . -type d -print0 | xargs -0 chmod 0755 - heres
    ... I got tired of having to continually type the long find command to set ... directory permission for the directories on my web site as well as the same ... Help yourself to the scripts if you have a need at: ... That the scripts do is 'set' the permission the way I want them. ...
    (SuSE)