01-22-2008
Quote:
Originally Posted by
porter
getty from a TTY
sshd from an incoming SSH connection
xdm from a XDCMP negotiation
telnetd from a incoming telnet connection
(... and a few more eg rlogin..)
Thank you for ur reply
But I am new to Unix environment
I couldn't understand ur answer
could you please explain it.....
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to be able to get telnetd to start a program of my choice or one that I have written . . . or . . . write a daemon of my own to listen on a port other than 23 and when a connection arrives it should create a controlling tty/pty and then launch my program on the client side of the pty.
A... (2 Replies)
Discussion started by: pdenaro
2 Replies
2. UNIX for Advanced & Expert Users
I have created user in AIX 4.3.3 which the member of staff group.
but during login ( with su command) it gives the error
"can not set process environment "
but when it is member of another group -dba -which is the group for oracle database- it works properly.
Pls let me know the solution.
... (5 Replies)
Discussion started by: amit
5 Replies
3. UNIX for Dummies Questions & Answers
I'm a complete newbie to UNIX so bear with me please...
I would like to get a description or process flow of a typcial UNIX loging process....for example, from the moment someone inputs their ID and password to final access. What are the files and order in which they are accessed? How does the... (2 Replies)
Discussion started by: ngp
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am trying to figure out away to hide a command from users when performing a ps check. I have a ksh that purges a table in a database. If I perform a >ps -eaf |grep ksh, I get the login id and password. I do not want other users seeing this. Is there a way to hide this. The login... (5 Replies)
Discussion started by: ctcuser
5 Replies
5. UNIX for Advanced & Expert Users
Hello.
Since Yesterday, I notice that after giving telnet IP or SSH IP - it takes long time to display login: , I mean earlier after entering Server name It used to immediately ask for login ID and then password. But, now it takes min of 2-3 minute to ask for password.
Where can I check,... (12 Replies)
Discussion started by: panchpan
12 Replies
6. Solaris
Can u explain login process in solaris detaily.. (4 Replies)
Discussion started by: Jinu
4 Replies
7. Red Hat
I'm having a bit of a login performance issue.. wondering if anyone has any ideas where I might look.
Here's the scenario...
Linux Red Hat ES 4 update 5
regardless of where I login from (ssh or on the text console) after providing the password the system seems to pause for between 30... (4 Replies)
Discussion started by: retlaw
4 Replies
8. Shell Programming and Scripting
Hello,
I was wondering, we have multiple servers where we login from Putty.
Is there some way we get automatically loged in after giving server name and password(by saving it in some file or like that)
Just a thought (2 Replies)
Discussion started by: mirwasim
2 Replies
9. UNIX for Advanced & Expert Users
Hey folks,
When a user is added to a new group, the user has to be log out and log in again to make the new group effective. Is there any system command or technique to refresh user group ID update without re-login?
I am not talking about to use "login" or "su -l" commands which can only make... (2 Replies)
Discussion started by: hce
2 Replies
10. UNIX for Advanced & Expert Users
Hello everybody !
At the beginning - I hope everything will be understandable as I know that my english skills are not as good as I would like.
I use Manjaro Linux for one year, previously used Ubuntu for 6 years. Today I got an idea to create small USB electronic device but I don't know how... (6 Replies)
Discussion started by: halfboy
6 Replies
LEARN ABOUT OPENDARWIN
chsh
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
shadow-utils 4.5 01/25/2018 CHSH(1)