Link to home
Start Free TrialLog in
Avatar of drv35
drv35Flag for United States of America

asked on

Solaris 10, get message "mesg: cannot change mode" when su -

Hello,
I have about 20 Solaris 10 servers that are almost identical, however on about 5 of them when I try to su - user1, I get the message "mesg: cannot change mode".  It still appears to work, but I always get the message.  What am I missing?

Thanks in advance,
Dave
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

check in the user1 .profile to see if mesg command is run and if there is something wrong in it
Avatar of drv35

ASKER

Don't see anything.  I checked both .profile (listed below) and local.profile in the user's directory.  Am I looking in the correct place?



#: cat .profile
#       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:?}
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

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
SOLUTION
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 drv35

ASKER

Found it!  Thanks for the prompt replies!