Sponsored Content
Homework and Emergencies Homework & Coursework Questions Help with unix commands for user logins Post 302636575 by iw2198 on Monday 7th of May 2012 03:44:57 PM
Old 05-07-2012
Everything you have posted has helped. I cant thank you enough. It has been frustrating me because of a misunderstanding in a few things my instructor said to me in emails. I thought she was saying that my first try using last was wrong and my second try using tail was on the right track. but thats not what she meant. We exchanged emails today.

I love this class Im taking. This one question is the difference between 96% done and 100% done my class and can move on to the next one. ha ha It figures right?
I am much more comfortable erecting steel building that typing terminal commands!Smilie
I do love learning. I'll be going back to review and read more man pages. Ill update this when I figure it out.

Thanks again
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trapping user logins in python ( post #1)

I am writting a daemon in python which should start at system start up with all inet.d services on an NIS server. Then it should listen to any user login and then start a new process for that user on his login which will continue throughout his entire session. Can anyone give any help or any... (1 Reply)
Discussion started by: thinkgeek
1 Replies

2. UNIX for Dummies Questions & Answers

Linmit user logins

Hello everyone, traditionally a user can log in on more than one machine as much as they want. In AIX 4.3, Is there a way to make it so that if the user is already logged on, the system will not let them log on, therefor not run their logon profile script again? (limit the user to one machine at a... (1 Reply)
Discussion started by: raidzero
1 Replies

3. Solaris

stay in multi user mode but stop logins to system?

I want to apply patches in multiuser mode but stop logins of other users while I do it? What is the best way to do this? I will be connected to the system via a putty session over a serial cable from another system (console is messed up)... Should I put in a dummy passwd and shadow file... (7 Replies)
Discussion started by: NewSolarisAdmin
7 Replies

4. AIX

Logging user logins

I want to know how I can turn off and turn on login logging. We have a server that appears to have stopped logging user logins. Running the who command shows nothing and the last command shows no logins for a month. The var/adm/wtmp file isn't full and there is plenty of space in the var file... (2 Replies)
Discussion started by: daveisme
2 Replies

5. Solaris

User Logins

Is the below logins are needed in the machine..... nuucp , uucp ,smmsp , svctag , listen , webservd , ip ( We are not using printers), Can you help in these? Regards, kumar (3 Replies)
Discussion started by: rajeshkumarvg
3 Replies

6. Shell Programming and Scripting

Script that outputs user logins sorted by duration

Hello, I want to write a script that takes a username as input and outputs the user's logins sorted by duration. Also I want to exclude the "still logged in" entries. I use the "last" command but Im having problems sorting the entries based on the duration. Can you help me? Thanks a lot =) (4 Replies)
Discussion started by: ddante
4 Replies

7. Solaris

Configure Solaris to accept Active Directory user logins

Is it possible to configure a Solaris server to authenticate users against an Active Directory server when logging in via ssh? I've seen some docs out there, I've followed their instructions, but it does not work. And I'm beginning to wonder if it is possible or even supported by Oracle. The... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

8. Red Hat

Limit root user of SSH logins

Hi team, I tried to modify the /etc/security/limits.conf file to limit the root user for more one login. I added the line in limits.conf file like: @root hard maxlogins 1 I also tried to modify /etc/ssh/sshd_config to limit the root userlogin by adding this: ... (10 Replies)
Discussion started by: leo_ultra_leo
10 Replies

9. Solaris

[Resolved] Strange Issue with user logins

Ok got a strange one here. None of my user accounts are able to login into the system. When trying to ssh to the server i get the following. Could not chdir to home directory /home/<homedir>: Permission denied /bin/sh: Permission denied I checked the permissions on the home directory and even... (7 Replies)
Discussion started by: JoeDirte
7 Replies

10. UNIX for Beginners Questions & Answers

Disable multiple ssh logins for an OS user in Solaris

Hi folks, I am fairly a beginner when it comes to Solaris OS administration, but part of my job somehow has scope to provide L1-level of OS administration over a few solaris servers. Now, we have a requirement to limit the number of simultaneous ssh logins/sessions to the server, sort of... (0 Replies)
Discussion started by: engrcha
0 Replies
GELF_GETMOVE(3) 					   BSD Library Functions Manual 					   GELF_GETMOVE(3)

NAME
gelf_getmove, gelf_update_move -- read and update Elf Move information LIBRARY
ELF Access Library (libelf, -lelf) SYNOPSIS
#include <gelf.h> GElf_Move * gelf_getmove(Elf_Data *data, int ndx, GElf_Move *move); int gelf_update_move(Elf_Data *data, int ndx, GElf_Move *move); DESCRIPTION
These convenience functions are used to retrieve and update class-dependent Elf32_Move and Elf64_Move structures in an ELF object. Argument data is an Elf_Data descriptor associated with a section of type SHT_SUNW_move. Argument ndx is the index of the move record being retrieved or updated. The class-independent GElf_Move structure is described in gelf(3). Function gelf_getmove() retrieves class-dependent move record at index ndx in data buffer data and copies it to the destination pointed to by argument move after translation to class-independent form. Function gelf_update_move() converts the class-independent move information pointed to by argument move to class-dependent form, and writes it to the move record at index ndx in the data buffer described by argument data. Function gelf_update_move() signals an error if any of the values in the class-independent representation exceeds the representable limits of the target type. RETURN VALUES
Function gelf_getmove() returns the value of argument move if successful, or NULL in case of an error. Function gelf_update_move() returns a non-zero value if successful, or zero in case of an error. ERRORS
These functions may fail with the following errors: [ELF_E_ARGUMENT] Arguments data or move were NULL. [ELF_E_ARGUMENT] Argument ndx was less than zero or larger than the number of records in the data descriptor. [ELF_E_ARGUMENT] Data descriptor data was not associated with a section containing move information. [ELF_E_RANGE] A value was not representable in the target type. SEE ALSO
elf(3), elf_getdata(3), elf_getscn(3), gelf(3) BSD
August 29, 2006 BSD
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy