Sol 2.6, CDE, su to root and how to disp - TechRepublic
General discussion
December 4, 2000 at 08:01 AM
insatiable

Sol 2.6, CDE, su to root and how to disp

by insatiable . Updated 25 years, 5 months ago

I manage webservers on Sun/Solaris 2.6. I’ve never had to configure .cshrc or .login for “users” outside of myself. I use vi.

I have 2 webdesigners who need to be able to su to root, but when they do that, they can’t use the filemanager or the dtpad at the bottom of the CDE screen. I’m not worried about them using root — they’re scared to use it and have very few things they’ll do before they exit out of it.

It’s a regular 2.6 install, but it is tightened for security, lacking some of the /etc/inetd.conf daemons. There is no xhost “server” or ttdb “server” (whatever those are!)

They use tcsh, which reads the .cshrc in their home directory.

The current .cshrc contains these, that might make a difference:
setenv PATH /usr/sbin:/usr/bin:/usr/local/sbin:/
usr/local/bin:/opt/GCC281/bin
setenv MOZILLA_HOME /usr/local/netscape
setenv LD_LIBRARY_PATH /usr/local/lib:/usr/lib:/
usr/openwin/lib:/usr/dt/lib:/usr/ucblib

I change the display, and I’ve changed the editor, and I’ve tried xhost and I’ve tried Solstice!

1. setenv DISPLAY hostname:0.0 (works, same result with IP)
set EDITOR /usr/dt/bin/dtpad (works)

Try launching editor:
/usr/dt/bin/dtpad
(Error!!)
Xlib: connection to “hostname:0.0”
refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can’t open display: hostname:0.0

Try doing the xhost command:
/usropenwin/bin/xhost +hostname
(Error!! Same as above)

Try the Solstice command:
solstice
(Error!! Same as above)

What am I missing here??? Libs? I configuration file? It’s gotta be something simple because I can’t find it documented anywhere — but I’ve never had to configure servers for users to use…..

2. What command does the user use to launch filmanager or the dtpad once they have su’d to root??

THANKS!!!!

This discussion is locked

All Comments