tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Fred Cassirer <fvc () unx ! dec ! com>
To: tru64-unix-managers
Subject: FW: Must be root? For what? (fwd)
Date: Tue, 23 Sep 1997 21:09:39 +0000	[thread overview]
Message-ID: <96078617110554.tru64-unix-managers.marc@archive.invalid> (raw)



-----Original Message-----
From:	Paul Henderson [SMTP:pgh]
Sent:	Tuesday, September 23, 1997 5:12 PM
To:	Fred Cassirer; Will Athanasiou
Subject:	Must be root? For what? (fwd)

Fred, Will,

Forwarded message:
> From alpha-osf-managers-relay@sws1.ctd.ornl.gov Tue Sep 23 15:58:47 
1997
> Sender: alpha-osf-managers-relay@sws1.ctd.ornl.gov
> Followup-To: poster
> Precedence: bulk
> Date: Tue, 23 Sep 1997 15:47:51 -0400 (EDT)
> From: Burch Seymour RTPS <bseymour@encore.com>
> Subject: Must be root? For what?
> To: alpha-osf-managers@ornl.gov (Alpha Managers List)
> Message-Id: <9709231947.AA16846@rt-tss>
> Mime-Version: 1.0
> X-Mailer: ELM [version 2.4 PL24]
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
>
> Unrelated to my precious question regarding login/xdm/cde I have a 
new one.
> One of my coworkers is setting up an alpha system to take on the 
road.
>
> We've done rlogins to it, but this is the first time we've tried to 
run
> a cde session from that machine. When logging in, as *any* valid 
user
> we get a pop up box that says (aprox) "System Error - Must be root
> to run this application." The question is. WHAT application? The
> message gives us not a clue, and I don't know enough about CDE to
> know where to look for something like a dot-profile thing. I can't
> believe it's a user file as it does the same thing with different 
users,
> so I'm guessing its something thats system common, but I don't know 
what.
[Fred Cassirer]

This message is produced by a number of the systems management 
utilities
if they are launched from a non-root window *without* using the 
/usr/sbin/dop
utility.

For this to happen you would need to have tied to execute one of 
these from
an xterm (dterm, dxterm etc)  window, such as:

$ export DISPLAY=:0.0
$ /usr/sbin/nfsconfig

The other way this can happen (maybe) is if someone were to remove 
the setuid
permissions on /usr/sbin/dop.  It would then just simply execute the 
target
application without prompting for a root password and attempt to run 
a SysMan
application as some user, which may result in this message.

dop is used by the SysMan CDE rules for executing a management 
application
from any users desktop (after proving they know the root password).

If a CDE session were shut down with say "dxaccounts" running, when 
it starts back up
it would try to restore this application and it will fail since CDE 
won't know to request the
application to start using the dop command.  This was a known bug in 
V4.0, fixed in later
V4.0 releases.    The way this may have happened is if you were to 
have a sysman application
up and then saved the state in CDE.

You can fix this by looking in $HOME/.dt/sessions/home and current 
directories and look at the
dt.session file, it lists the commands to be executed when a user 
logs in to return to his home or
current session.   Post V4.0 systems will include a "dop" command 
prefix on any SysMan applications.


Hopefully one of these is the "root" of your problem.

-Fred Cassirer


>
> Anyone have a clue? Thanks!
>
> --
> This message from,		Encore Computer Corporation   MS/712
> Burch Seymour                   6901 W Sunrise Boulevard
> Senior Consultant		Fort Lauderdale, Fl 33313
> email: bseymour@encore.com      Vox: (954)797-5627   Fax: 
(954)797-5666
> 

                 reply	other threads:[~1997-09-23 21:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox