1. Home
  2. Knowledge Base
  3. GMS
  4. Why can I not retreive user variables with adduser on Unix?

Why can I not retreive user variables with adduser on Unix?

Question

I have been trying to use the "adduser ge" function to find the value of variables in GMS under UNIX, however all variables return as 0.

Answer

The problem arises because of a difference between DOS and UNIX shells.

All backslashes () must be escaped in a UNIX shell.

The correct syntax to set a system variable on UNIX is:
adduser se username password \testcount 20

The correct syntax to get a domain variable on UNIX is:
adduser ge username password domainuservariable.

The escaping of backslashes () is not required in interactive or batch modes because the input does not go through the shell.

NB: "username" and "password" must be replaced with the fully qualified username and password of a user with administrator rights on the server.

Keywords:linux adduser glmail variable

Was this article helpful?

Related Articles

Contents

Need Support?

Can't find the answer you're looking for?
Contact Support