shellcommands export

Dale Hege fhege at lumenexus.net
Tue May 21 16:45:28 PDT 2002


I'm still working with pre12 so if this is fixed in pre13 I'm sorry. I
poked through a diff and didn't see anything that poped out at me.
I have created a shell export with and filled in the following fields

export host
remote username
insert command
delete command
modify command

insert/delete/modify are filled in with the command that needs to be run.
But when I perform the action I do get an entry in the queue* tables like
I should but when freeside-queued runs the command it complains that the
host does not exist.
Long winded way to ask do you need to format the command fields so that
they look like this?
"hostname command" or
"username at hostname command"

Or should the freeside batch up the fields for username and remote host
and properly build the args column in the queue_args table?
Also, is there a list of information that is usable by these commands? To
add a user would it still be something like
useradd -d $dir -m -s $shell -u $uid $username

if so can any field be used from the svc_* table being exported?

Thanks,

-Dale





More information about the freeside-users mailing list