Shell script execution

Stefan Paetow Stefan.Paetow at jisc.ac.uk
Thu Apr 16 12:37:23 CEST 2015


> as  you told but in the* radiusd -X* log I've got WARNING: Unknown module
> "echo" in string expansion "%"

Ok... that's odd because the echo module is enabled by default in v2.1.12. Check in /etc/raddb/modules for a module called 'echo'.

> And it works well. Then I've tried a second time, but without the* radiusd
> -X* command (using *service radiusd start*), and it didn't work.

Then it's a permission issue. Do this:

As root execute: su - --shell=/bin/bash radiusd

It should drop you into user radiusd. 

Then as radiusd execute: /usr/sbin/ldap_get_group_info.sh 

See whether it works. 

Then as radiusd, execute: radiusd -X 

Try your request again. You *should* see a message if FR couldn't execute the script, complete with error message.

With Regards

Stefan Paetow
Moonshot Industry & Research Liaison Coordinator

t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: stefanp at jabber.dev.ja.net
skype: stefan.paetow.janet
Lumen House, Library Avenue, Harwell Oxford, Didcot, OX11 0SG

jisc.ac.uk
 
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
Jisc Collections and Janet Ltd. is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under Company No. number 2881024, VAT No. GB 197 0632 86. The registered office is: Lumen House, Library Avenue, Harwell, Didcot, Oxfordshire, OX11 0SG. T 01235 822200.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150416/26eab134/attachment.sig>


More information about the Freeradius-Users mailing list