Article ID: 594, created on Oct 6, 2008, last review on Apr 19, 2012

  • Applies to:
  • Confixx Professional 3

Resolution

1. Check whether the “suidperl” package is installed.

2. Check whether the suidperl package has “4755” permission.

If not, run the following command:
#chmod 4755 /usr/bin/suid/perl


If your system is SuSE you should insert the following entry into the /etc/permissions.local:
/usr/bin/suidperl root.root 4755

3. Check whether the /usr/bin/suidperl and /usr/bin/sperlX.X.X are hardlinks. The “stat /usr/bin/suidperl” and “stat /usr/bin/sperlX.X.X” commands should show identical information.

Example:

# stat /usr/bin/suidperl
File: `/usr/bin/suidperl'
Size: 1151486 Blocks: 2258 IO Block: 4096 regular file
Device: 802h/2050d Inode: 12488 Links: 2
Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-08-31 14:17:59.000000000 –0700
Modify: 2004-04-02 17:11:12.000000000 -0800
Change: 2004-08-31 14:48:16.000000000 -0700


# stat /usr/bin/sperl5.8.3
File: `/usr/bin/sperl5.8.3'
Size: 1151486 Blocks: 2258 IO Block: 4096 regular file
Device: 802h/2050d Inode: 12488 Links: 2
Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-08-31 14:17:59.000000000 -0700
Modify: 2004-04-02 17:11:12.000000000 -0800
Change: 2004-08-31 14:48:16.000000000 -0700


If they are not identical you should delete file "suidperl" and make hardlink "suidperl".

Example:

#ln /usr/bin/sperl5.8.3 /usr/bin/suidperl

85ce68e3209531714e8933ec29d267d1 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF