11-24-2015
afaiu users are there, both local and LDAP, you can login using both types of users using standard AIX tools/procedures, such as "normal" login, telnet, ftp, but you receive some error trying to open ssh session. Am I right?
Do you have problems opening an SSH session with an LDAP user or with a local AIX user or with both types of users?
10 More Discussions You Might Find Interesting
1. AIX
hello
i look for a ldap for Aix, do know it ?
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
2. SuSE
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)
Discussion started by: scampi
1 Replies
3. UNIX for Advanced & Expert Users
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)
Discussion started by: ckmehta
5 Replies
4. AIX
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)
Discussion started by: rajsharma
1 Replies
5. AIX
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)
Discussion started by: rainbow_bean
4 Replies
6. Shell Programming and Scripting
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)
Discussion started by: linuxgeek
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: tekster2
0 Replies
8. Shell Programming and Scripting
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)
Discussion started by: Little
1 Replies
9. UNIX for Advanced & Expert Users
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)
Discussion started by: vincenzo
3 Replies
10. AIX
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 FREEBSD
lastlogin
LASTLOGIN(8) BSD System Manager's Manual LASTLOGIN(8)
NAME
lastlogin -- indicate last login time of users
SYNOPSIS
lastlogin [-f file] [-rt] [user ...]
DESCRIPTION
The lastlogin utility will list the last login session of each specified user, or for all users by default. Each line of output contains the
user name, the tty from which the session was conducted, any hostname, and the start time for the session.
If more than one user is given, the session information for each user is printed in the order given on the command line. Otherwise, informa-
tion for all users is printed. By default, the entries are sorted by user name.
The lastlogin utility differs from last(1) in that it only prints information regarding the very last login session. The last login database
is never turned over or deleted in standard usage.
The following options are available:
-f file
Open last login database file instead of the system-wide database.
-r Print the entries in reverse sorted order.
-t Sort the elements by last login time, instead of user name.
FILES
/var/log/utx.lastlogin last login database
SEE ALSO
last(1), getutxent(3), ac(8)
AUTHORS
John M. Vinopal wrote this program in January 1996 and contributed it to the NetBSD project.
BSD
June 6, 2011 BSD