?
Solved

XDM login to Solaris

Posted on 1997-03-26
1
Medium Priority
?
337 Views
Last Modified: 2013-12-16
Scenerio:
We are running Solaris, and some users will use NCD to login to Solaris through XDM.

Problem:
The "w" command will display all users currently login, but the count of total users are not correct (it seems that the count does not reflect those users logging in with XDM); however, "whodo -l" will count correctly.
So I am confused...when users logon with XDM, will Solaris record it in the utmp file? If it does, how come the "w" count is not correct? If it doesn't, how come "whodo -l" will count correctly? (since both "w" and "whodo" is reading utmp).

Thanks in advance!
0
Comment
Question by:earvin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
pc012197 earned 200 total points
ID: 1811966
XDM logins per se are usually not recorded in the utmp file. Instead, utmp entries are generated when 'xterm +ut' is executed. I think +ut is the default setting, it may be overridden in your /usr/openwin/lib/xdm/Xsession, though.

0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question