Browse Community
Help
Log In
Responses(4)
Solutions(1)
dynamox
9 Legend
•
20.4K Posts
0
April 18th, 2011 13:00
Oops..you are running from the script, i thought you were doing directly from crontab. Add these lines
export NAS_DB=/nasexport PATH=$PATH:/nas/bin
NAS_DB=/nas /nas/bin/server_usermapper server_2 -Export -user /home/nasadmin/usrmapbackup.passwd
AaronJAnderson
5 Posts
I added NAS_DB=/nas to the first line and still get the same error when the script runs.
April 19th, 2011 04:00
That's the ticket! Thanks for the help.
Dell Support Resources
View All
Top
dynamox
9 Legend
•
20.4K Posts
0
April 18th, 2011 13:00
Oops..you are running from the script, i thought you were doing directly from crontab. Add these lines
export NAS_DB=/nas
export PATH=$PATH:/nas/bin
dynamox
9 Legend
•
20.4K Posts
0
April 18th, 2011 13:00
NAS_DB=/nas /nas/bin/server_usermapper server_2 -Export -user /home/nasadmin/usrmapbackup.passwd
AaronJAnderson
5 Posts
0
April 18th, 2011 13:00
I added NAS_DB=/nas to the first line and still get the same error when the script runs.
AaronJAnderson
5 Posts
0
April 19th, 2011 04:00
That's the ticket! Thanks for the help.