vishalsbti
IS-IT--Management
- May 20, 2002
- 5
Hi ,
why do we get an error " is not an identifier" when a bourne shell user logs in to the system….
For example here the user “xyz” is doing a login…to the system ,the login is successful but with this error message
$ su - xyz
Password:
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
-sh: /usr/bin:: is not an identifier
Here are the contents of “.profile" file of the user
# !/bin/sh
# This is the default standard profile provided to a user.
#They are expected to edit it to meet their own needs.
MAIL=/usr/mail/${LOGNAME:?}
PATH=/usr/bin:/usr/ucb:/usr/local/bea/weblogic700:/usr/local/apache-ant-1.5.3-1/bin:/etc:/usr/atria/bin:$PATH
export $PATH
Please let me know what could be wrong here…)
regards
Vishal
why do we get an error " is not an identifier" when a bourne shell user logs in to the system….
For example here the user “xyz” is doing a login…to the system ,the login is successful but with this error message
$ su - xyz
Password:
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
-sh: /usr/bin:: is not an identifier
Here are the contents of “.profile" file of the user
# !/bin/sh
# This is the default standard profile provided to a user.
#They are expected to edit it to meet their own needs.
MAIL=/usr/mail/${LOGNAME:?}
PATH=/usr/bin:/usr/ucb:/usr/local/bea/weblogic700:/usr/local/apache-ant-1.5.3-1/bin:/etc:/usr/atria/bin:$PATH
export $PATH
Please let me know what could be wrong here…)
regards
Vishal