11-15-2012
Best Practices of people you might trust with root in production are to stay out of root as much as possible (familiarity breeds contempt and disaster, like "rm -rf *" in the wrong window). Think "su - root -c 'something-I-need-to-do'". If you need to do it again, it is in your shell history.
Good security practices say you record who goes into root on every virtual host every time. A log of what they do can be nice, too.
If these practices get in your way, consider making admin IDs to do some of the things you do as root, perhaps using group permissions as they were intended. There are already too many various tasks under root. I recently found periodic new root-owned zero-length core dump files on a prod system's SAN mounts -- which app is crashing on which machine?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know if there is software out there top allow me to take remote control of a remote CDE desktop like using MS netmeeting? I do not mean mimick the window I mean take over/share the same session. Any help is appreciated (1 Reply)
Discussion started by: boat73
1 Replies
2. HP-UX
Is there a way to connect to CDE remotely?
Preferably using 'VNC'.
I'd like to do this! (4 Replies)
Discussion started by: satinet
4 Replies
3. HP-UX
Hello,
how can I get a "remote login" option in the CDE login screen?
My Solaris box offers that by default.
I already found that this might be done by dtchooser, so I copied the /usr/dt/config/Xaccess to /etc/dt/config/Xaccess and uncommented the line * CHOOSER BROADCAST - but still no... (1 Reply)
Discussion started by: Ebbi
1 Replies
4. Solaris
Hi ,
I have SunBlade 150 Workstation (Solaris 9), I installed the OS again then when I try to login to any server using ( Options > Remote Login > Enter Host Name)
after I entered any host name nothing happened just white page for 2 or 3 mintues then the login screen reseted to the local... (4 Replies)
Discussion started by: adel8483
4 Replies
5. UNIX for Advanced & Expert Users
I'm having problem with the CDE pre login banner.
I configured the c/usr/dt/config/C/Xresources file to add my warning message:
Dtlogin*greeting.labelString: My Banner
I then modified the Dtlogin*greeting*fontList to display the message in smaller text. This did not work.
... (1 Reply)
Discussion started by: equismorio
1 Replies
6. Solaris
Dear All
I am in a strange situation where I have install the Solaris 10 5/08 OS on Netra 1280 server. When I connect it through my laptop so that I can take the GUI from xmanager. When I try to login as root or any other users also through Java Destop Environment which accepted it after few... (3 Replies)
Discussion started by: girish.batra
3 Replies
7. Solaris
I am a newbie to Solaris/UNIX. I just installed Solaris 10 and accidentally chose CDE as my desktop instead of Java. How can I set Java Desktop as my desktop?
Because before i installed my mechine is using java and more beauty from CDE.. (2 Replies)
Discussion started by: moslemovic
2 Replies
8. AIX
Hi, can somebody please, please help me?
After a power loss and server restart my server running AIX 4.2.2 could not boot. Following the procedure in my user guide
I checked the hd's with
# fsck -y /dev/hd1
# fsck -y /dev/hd2
# fsck -y /dev/hd3
# fsck -y /dev/hd4
# fsck -y /dev/hd9var
I... (0 Replies)
Discussion started by: semso
0 Replies
9. AIX
I configured CDE on AIX server and lauched CDE from desktop using reflection 14.1.
I can lauch xclock with my own id
but when i Su to any other id and try xclock it is giving the follwoing error
X connection to localhost:10.0 broken ( explicit kill or server shutdown).
Please elp on this... (1 Reply)
Discussion started by: firestar
1 Replies
10. Shell Programming and Scripting
I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like
ssh hostname path ksh HC_Report.ksh>out.html
...but it generates the HTML file in
remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies
LEARN ABOUT OSX
tk_coordstowindow
Tk_CoordsToWindow(3) Tk Library Procedures Tk_CoordsToWindow(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_CoordsToWindow - Find window containing a point
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_CoordsToWindow(rootX, rootY, tkwin)
ARGUMENTS
int rootX (in) X-coordinate (in root window coordinates).
int rootY (in) Y-coordinate (in root window coordinates).
Tk_Window tkwin (in) Token for window that identifies application.
_________________________________________________________________
DESCRIPTION
Tk_CoordsToWindow locates the window that contains a given point. The point is specified in root coordinates with rootX and rootY (if a
virtual-root window manager is in use then rootX and rootY are in the coordinate system of the virtual root window). The return value from
the procedure is a token for the window that contains the given point. If the point is not in any window, or if the containing window is
not in the same application as tkwin, then NULL is returned.
The containing window is decided using the same rules that determine which window contains the mouse cursor: if a parent and a child both
contain the point then the child gets preference, and if two siblings both contain the point then the highest one in the stacking order
(i.e. the one that's visible on the screen) gets preference.
KEYWORDS
containing, coordinates, root window
Tk Tk_CoordsToWindow(3)