Hi all :-)
this is the part of my script:
email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo
| mutt -s test message $name -b email0 email1
if I run this script of own user, runs correctly
but when (inside the script) I use:
su user -c
email0=us
user, runs correctly
but when (inside the script) I use:
su user -c
email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo
| mutt -s test message $name -b email0 email1
You need to quote the command. su reads just 1 argument after -c and
invokes
I am trying to delete a file created by a user in their home directory
through the gdm PostSession script. This is proving difficult since
/home is an nfs mounted directory. This is the line of the script.
su $USER -c rm -f /home/$USER/.smb.lock
I know $USER is correctly set, and this script
3 matches
Mail list logo