okay ,..
your probably getting a dscl error. have you tried the dscl read directly in the terminal ?
if that fails, you need to connect your MAC ( the one doing the work ) to the Directory.
depending on your OS version, open Directory utility and add your LDAP server to the list of services and search policies.
osx 10.6.8 you'll find the utility in /System/Library/CoreServices/Directory Utility
hi all, i m tryin to create a new account on the unix work station. do i use 'useradd' command? can u guyz advice on the usage of 'useradd' command as it can comes with 'useradd -D' or 'useradd -e'
thanks :confused: (1 Reply)
Discussion started by: damian
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Hi, guys. I have two questions:
I need to write a script, which can show all the non-suspended users on system, and suspend the selected user account.
There are two things I am not sure:
1. How can I suspend user's account? What I think is: add a string to the encrypted password in shadow... (2 Replies)
Hi All,
I have a RPM for an Java based application. Currently it works fine.
But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Please help me identify these user accounts..
bin, lp, nuucp, smbnull, mysql, tftp
Can we remove these user or disable these users?We have to apply the security policy about the user identification.Since it was settup by our vendor long time ago. We do not have these informations about these... (3 Replies)
Hi All,
I want to know is there any way where if i add a user in a centos machine the can be replicated to another centos automatically.
As i have setup DRBD with heartbeat for apache webserver everything is working fine but the only thing im stuck in is about system account for ftp.
Can any... (3 Replies)
Hi,
i have the following config in the system-auth files
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth required /lib/security/$ISA/pam_deny.so
account required ... (2 Replies)
I need to check actual date a user was disabled on my HP-UX server.
Audit is claiming the user account was active during the last audit exercise. (7 Replies)
Discussion started by: cyriac_N
7 Replies
LEARN ABOUT MOJAVE
nfs4mapid
NFS4MAPID(8) BSD System Manager's Manual NFS4MAPID(8)NAME
nfs4mapid -- shows NFSv4 mappings from uids or gids to over the wire string names and string names to uids or gids.
SYNOPSIS
nfs4mapid [-G] string name
nfs4mapid [-G] GUID
nfs4mapid -u uid
nfs4mapid -g gid
DESCRIPTION
In the first form, nfs4mapid shows translations from NFSv4 string representations of users, and with the -G option, groups, to the corre-
sponding local uids and gids. In the second form shows the translations from opendirectoy GUIDS to NFSv4 strings. The well known strings
names (which are distinguished by a trailing '@' ), such as "OWNER@" and "GROUP@" are represented locally by GUIDs and may not map to uids or
gids. To map those GUIDS to NFSv4 strings use this form. The first form can be used to map the well known ids to GUIDs. nfs4mapid does this
by looking at the trailing '@' sign. Note that NFSv4 well known names are always groups and are used in ACEs. In the third form, it shows
the mapping from uids to the NFSv4 user@domain form. Similarly, in the last form it shows the mapping from gids to the NFSv4 group@domain.
nfs4mapid will also show the intermediate GUID translation if used. The NFSv4 domain name should be set with dscl(1). See opendirectory(8)
for instructions.
-G Map an NFSv4 string to a gid.
-u Map a uid to an NFSv4 user@domain string.
-g Map a gid to an NFSv4 group@domain string.
NOTES
nfs4mapid uses a privileged nfs client system call to pass the translation request down to the kernel, so results will be the same as a
request coming from an NFSv4 server. Because of this, nfs4mapid must be run with root privileges.
SEE ALSO dscl(1), nfs(5), opendirectoryd(8), mount_nfs(8),
HISTORY
The nfs4mapid utility first appeared in OSX 10.10
BSD February 20, 2014 BSD