Sponsored Content
Operating Systems AIX HMC login - Command line and terminal session Post 302827493 by snchaudhari2 on Friday 28th of June 2013 09:48:10 PM
Old 06-28-2013
HMC login - Command line and terminal session

Hi Admins,

Just a small question - Can we have multiple session for single user on HMC.

e.g. Can I have a terminal session (via IE ) and command line (ssh) at same time ??

I am not sure whether it will impact HMC system or not. So want to make sure.

let me know folks.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why? AHHHH!! I have been connecting to the server with the line: ssh userid@website.com The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Discussion started by: xprankard
0 Replies

2. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies

3. UNIX for Dummies Questions & Answers

command to close telent session when login incorrect

i need a command to close telnet session wen login incorrect..i want to embed it into my perl script for telnet to check for login incorrect error. (2 Replies)
Discussion started by: raksha.s
2 Replies

4. Shell Programming and Scripting

Is command line invocation of gnome-terminal to run more than one command possible?

Hello, I am trying to learn how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here: #! /bin/bash # #TODO write this for gnome and xterm USAGE=" ______________________________________________ ${0##*/} run... (0 Replies)
Discussion started by: Narnie
0 Replies

5. Shell Programming and Scripting

Determining if session is a login session

Besides 'who am i' and 'tty' what commands could be used to determine if a session is interactive as compared to a web process or cron process. Any command should work with the common unix variants. (3 Replies)
Discussion started by: jgt
3 Replies

6. OS X (Apple)

How to start a new terminal from command line?

Dear All, Anyone knows how to start a new bash terminal from command line? Another question: when I use "open" command (open test.pdf) to open a pdf file, the PDF reader will start up, but cannot associate with that file. Anyone knows why? (1 Reply)
Discussion started by: andrewust
1 Replies

7. AIX

lauch command line from HMC

is possible to launch command line(shell) from HMC console? :( (2 Replies)
Discussion started by: prpkrk
2 Replies

8. AIX

[Solved] Find command hangs my terminal session

Hello every one. I know little to nothing about AIX. Recently I have been assigned to an AIX project. For some reason or another the find command is hanging the server. Well it does not hand server per say, it just freezes my terminal session. after running find, I waited up to 40 min and... (3 Replies)
Discussion started by: busi386
3 Replies

9. AIX

Set timeout value for ssh session to HMC?

Friends, Could anyone let me know - how to set the timeout value for ssh session to HMC? My HMC version is -- V7R7.4.0. I'm sure the version doesn't have anything to do with it. Thanks, -- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies

10. OS X (Apple)

A new OSX 10.12.x terminal from the command line.

Hi guys and gals... After much searching on the good ol' internet I could find nothing, so this is the result. ALthough many people seem to have asked this question no-one seems to have a solution so here we go. I need for AudioScope.sh, 'xterm' to run a second program for some of its... (2 Replies)
Discussion started by: wisecracker
2 Replies
getlogin(3C)															      getlogin(3C)

NAME
getlogin(), getlogin_r() - get name of user logged in on this terminal SYNOPSIS
DESCRIPTION
The function retrieves the name of the user currently logged in on a terminal associated with the calling process, as found in user- accounting database maintained by utmpd(1M). At least one of the standard input, standard output, or standard error must be a terminal. For the first of these found that is a termi- nal, a user must have logged in on that terminal, and that terminal must be the controlling terminal of the session leader process of the calling process's session. The function can be used in conjunction with to locate the correct password file entry when the same user ID is shared by several login names. The recommended procedure to obtain the user name associated with the real user ID of the calling process is to call and if that fails, to call To get the user name associated with the effective user ID, call performs the same operations as but returns the login name in the buffer to which buf points, whose size in bytes should be passed in buflen. buf should have space for the name and the terminating null character. The maximum size of the login name can be obtained using the API with as the argument. APPLICATION USAGE
The return value from points to static data whose content is overwritten by each call. RETURN VALUE
Upon successfully finding and validating the login name of the user logged in on the terminal, returns a pointer to the name. Otherwise, it returns a null pointer, and sets to indicate the error. Upon successfully finding, validating, and copying to the buffer the login name of the user logged in on the terminal, returns 0 upon suc- cess and returns an error number upon failure. ERRORS
and fail if any of the following is true: [EACCES] Access permission to get the status of the terminal device file, was denied. [EMFILE] Too many file descriptors are in use by this process. [ENFILE] Too many file descriptors are in use on the system. [ENOENT] The terminal device file cannot be found. [ENOTTY] None of the standard input, standard output, or standard error is a terminal, or for the first of these that is a terminal, no current login is registered on that terminal, or the session leader process of the calling process has no controlling terminal. [EPERM] One of the standard input, standard output, or standard error is a terminal, and a current login was found on that terminal, but that terminal is not the same as the controlling terminal of the session of the calling process. [ESRCH] The session leader process of the calling process is no longer running. The error condition associated with [EPERM] prevents processes that have access to some other user's terminal from believing that they are related to that other user's login session. also fails if the following is true: [ERANGE] The length of the name to be returned, including the terminating null byte, exceeds buflen. WARNINGS
Users of should note now conforms with the POSIX.1c Threads standard. The old prototype of is supported for compatibility with existing DCE applications only. SEE ALSO
utmpd(1M), getuid(2), sysconf(2), getgrent(3C), getpwent(3C), thread_safety(5). STANDARDS CONFORMANCE
getlogin(3C)
All times are GMT -4. The time now is 02:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy