11-14-2011
good idea,
I have access to the logs, but i dont see anything happening, i did a tail -f [accesslog] while doing a getent passwd, i dont see anything happeneing.
Where would executing a getent command get logged in the DS logs, it may not be set for that verbose level...?
10 More Discussions You Might Find Interesting
1. Solaris
I have a very simple c++ program like:
> cat easy_gcc.cc
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
int debugging = 1;
int main()
{
printf ("This is a... (2 Replies)
Discussion started by: miltony123
2 Replies
2. Solaris
Hi
I compiled an executable on Solaris 10 which creates semaphore ( semget)
but it didn't work on solaris 9 , while it is executing sucessfully on solaris 10. It is throwing the system error that Invalid arguments ( system error 22) on solaris 9.
the ldd for the executable on two servers is as... (4 Replies)
Discussion started by: ash_bit2k2
4 Replies
3. UNIX for Dummies Questions & Answers
Hi
Got 2 solaris boxes - one uses set -o vi happily (put it in .profile)
The other reports: -o: bad option(s)
Both are solaris 9 and both users have $SHELL set to /bin/ksh
Any ideas??
Thanks (4 Replies)
Discussion started by: robbien
4 Replies
4. Solaris
HI,
When I tried to use the nc or netcat command in SOLARIS 10 server, it says
bash: nc: command not found
Any package needs to be installed for this command to work in SOL 10?:
Please someone let me know how to resolve this issue. (1 Reply)
Discussion started by: mgmk.84
1 Replies
5. Solaris
Hi All, I have a problem with FTP service on Solaris 10.
Whenever I try to FTP to one machine locally (ftp localhost) or from other machine I don't get any response, I see the ftp service on the machine is online and listening to port 21 but ftp is not responding.
Also it seems i can't... (16 Replies)
Discussion started by: belal84
16 Replies
6. Solaris
Hello
I've installed Solaris 11 on Sparc T4-1,
I tried to launch IPS GUI:
# packagemanager
/usr/lib/python2.6/vendor-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Unable to initialize gtk
could not open... (12 Replies)
Discussion started by: samer.odeh
12 Replies
7. Shell Programming and Scripting
korn shell script on Solaris
getent hosts <hostname> returns
IP FQDN
But I just want the output to be like this
<hostname> IP
things I have tried so far
getent hosts <hostname> |awk '{print $2,$1}'
using awk and substr
getent hosts <hostname> |nawk '{print substr($2,1,5)}'
... (1 Reply)
Discussion started by: snoman1
1 Replies
8. UNIX for Dummies Questions & Answers
I'm typing "id <user's id>" and its returning a different UID that what is defined in our administration system. Where does id / getent query and where is it configured to query? I'm guessing it queries the local /etc/passwd file first, and then if it doesn't find anything it would query LDAP... (2 Replies)
Discussion started by: MaindotC
2 Replies
9. Solaris
Hi All, im a bit new to Solaris 10 iv been working on Redhat and cant seem to get the sudo working on Solaris 10:D
Iv installed the below packages via pkgadd command:
gcc-4.7.2-sol10-x86-local
libiconv-1.14-sol10-x86-local
libintl-3.4.0-sol10-x86-local
sudo-1.8.13-sol10-x86-local
... (1 Reply)
Discussion started by: SolarisRSA
1 Replies
10. Solaris
hi,
I enabled bsm modules (/etc/security/bsmconv) and rebooted Solaris 10. But service is going into maintenance state. I rebooted server and I see one error saying "sys/c2audit:audit_kssl() not defined properly". I am not sure, what it is indicating and how it should be fixed. Please suggest, how... (5 Replies)
Discussion started by: solaris_1977
5 Replies
UTX(8) BSD System Manager's Manual UTX(8)
NAME
utx -- manage the user accounting database
SYNOPSIS
utx boot
utx shutdown
utx rm identifier ...
DESCRIPTION
The utx utility can be used to perform operations on the user accounting database, as done by pututxline(3).
The first argument to utx indicates an action to be performed:
boot Write a boot time record to the user accounting database. This option should typically only be used by rc(8).
shutdown Write a shutdown time record to the user accounting database. This option should typically only be used by rc(8).
rm Remove stale sessions from the user accounting database, by referring to their identifier. Stale sessions can occur if a login
service exits prematurely or fails to remove the session from the accounting database.
Utilities such as w(1) will not display the identifier corresponding with a login session, since its value is typically only of use
by the process managing the record. The following command can be used to obtain all records from the user accounting database's
active session table, including its identifiers:
getent utmpx active
Identifiers can either be supplied in hexadecimal form as displayed by getent(1), or as a string if the identifier allows such a
representation.
Because this utility requires write-access to the user accounting database, its use is limited to the super-user.
SEE ALSO
getent(1), w(1), pututxline(3)
HISTORY
The utx utility replaced utxrm in FreeBSD 10.0.
AUTHORS
Ed Schouten <ed@FreeBSD.org>
BSD
November 3, 2013 BSD