Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bourne shell login error

Status
Not open for further replies.

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

 
Should do:
export PATH

and not

export $PATH

Cheers,
SS

 
hey SS,

Thanx Dude !!

the error is GONE !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top