When you change the default-Stanza to LDAP
you have to specify for all local (already existing) users SYSTEM = "files" and registry = files - or e.g. the login process will search them on the LDAP-Server.
If LDAP is the default you need to specify that a user should create or exists locally:
Regards
I am implementing LDAP on Linux based system using openldap.
My management objects to the idea that all individual users will authenticate against an LDAP server because “what if it is not available”
Their suggestion is that we run in parallel a set of local configured users and a set of LDAP... (1 Reply)
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
If I create a new user id test:
mkuser id=400 test
then I want it to LDAP user:
chuser -R LDAP SYSTEM=LDAP registry=LDAP test
It shows:
3004-687 User "test" does not exist.
How to do? (4 Replies)
Hi Gurus,
I have a script that requires me to switch from local user to root. Anyone who has an idea on this since when i switch user to root it requires me to input root password.
It seems that i need to use expect module here, but i don't know how to create the object for this.
... (1 Reply)
Hi,
I have been asked to create a ksh script that will search against an LDAP directory from various HP-UX, SUSE, and AIX 5.3 and 6.1 machines. The objective is to verify the boxes are successfully authenticating users from the LDAP store. This is something I've never done, and I could use... (0 Replies)
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Hello,
i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works.
i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him.
I looked for how to do, for the moment all the... (3 Replies)
I'd like to add some x/linux-based servers to my current AIX-based TDS/SDS server community. Reading the Fine Install Guide (rtfig ?) I believe this may be covered by the section "Upgrade an instance of a previous version to a different computer" i.e. I'm going to install latest/greatest SDS on a... (4 Replies)
Discussion started by: maraixadm
4 Replies
LEARN ABOUT HPUX
passwd_export
passwd_export(1m)passwd_export(1m)NAME
passwd_export - Creates local password and group files
SYNOPSIS
passwd_export [-d dir_name] [-m max_entries] [-h[elp]] [-n] [-s] [-v] [-x]
OPTIONS
The name of the directory to store the password, group, and organization files created by passwd_export. If you do not enter a directory
name, the files are stored in the /etc directory. Display help information. Ignore passwd_override and group_override file entries.
Without this option, passwd_export applies the override entries from both files to the local password and group files it creates. The max-
imum number of entries that can be stored in the local files. Sort the local password and group file entries by UNIX number. If you do
not specify this option, the entries are in order as they are retrieved from the registry. Run in verbose mode. Do not create entries for
users with OMIT as their encrypted password in the passwd_override and group_override files. See the passwd_override and group_override
reference pages for further details about omitting users.
DESCRIPTION
The dceshared/bin/passwd_export command creates local password and group files from registry data. These files are used when the network
registry is unavailable and by programs that use the original UNIX passwd and group interfaces instead of the DCE interfaces. Use
passwd_export to keep these local files consistent with the registry database.
When passwd_export runs, it makes backup copies of the current password and group files, if they exist. The files are named, respectively,
passwd.bak and group.bak.
By default, the backups are stored and the new files created in the /etc directory. You can override the default by supplying a directory
name with the -d option.
Running passwd_export
The passwd_export command is commonly run with an entry in /usr/lib/crontab. For example, to update the files every hour, the entry is 0 *
* * * dceshared/bin/passwd_export In large network environments, it is a good idea to stagger the times passwd_export is run.
RELATED INFORMATION
Commands: rgy_edit(1m)
Files: group(5), passwd(5), passwd_override(5), group_override(5)passwd_export(1m)