Link to home
Start Free TrialLog in
Avatar of phyer1
phyer1

asked on

Lost user environment

After a site administrator "modified" the /etc/group file on Solaris 5.8 server, the sybase user and other "special" application users no longer get their application environment.
When attempting to switch user (su -) to these users, the following message is displayed;

Warning: USER environment variable could not be set.
/usr/bin/sh: /etc/TIMEZONE: not found
/usr/bin/whoami: Command not found
Cannot find termcap
Cannot find termcap
groups: No passwd entry

I have asked the site admin to restore the passwd, group and shadow for a previous date.
The error is now as follows:

Warning: USER environment variable could not be set.

This is a production site, and I dont want to rebuild them, but my time is growing short.
The sybase user environment is required in order to run the database engine.
The other background app users are required to do applicatioin based printing and database interface to other server/databses.
SOLUTION
Avatar of balasundaram_s
balasundaram_s

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Joe Woodhouse
Joe Woodhouse

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of phyer1
phyer1

ASKER

Excellent help