09-07-2009
use ssh:
ssh -l scott host
ssh scott@host
host - hostname or ip_address
example:
ssh -l testuser myhost
ssh -l testuser 192.168.0.1
ssh testuser@192.168.0.1
???
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have started using SunOS 5.6 as an administrator. By mistake I changed the default shell entry for root in /etc/passwd file to /bin/ksh. Since there is no such shell available in the bin directory, I am not able to log on to the system.(This happens even in the console)
The error is - no... (2 Replies)
Discussion started by: pradeepks
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have installed for the first time sun solaris on my pc and I am trying to learn unix.
I created a new user using the following steps:
-create a new group : groupadd work
-created a new user:
useradd -g work -d /export/home -s /usr/bin/ksh gbruno
(i checked the path of the shell... (3 Replies)
Discussion started by: giulianob
3 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hi Admin/Moderator,
I am unable to login with my user id "chanakyahere", even it is not accepting my mail id to which i got one reply aso.. it is saying that i suppied "mail id that is not recognised".. please look forward regarding this problem.. i joined on last saturday i.e on... (1 Reply)
Discussion started by: Chanakya
1 Replies
4. UNIX for Dummies Questions & Answers
Was OK on AIX5.2. Have installed AIX 5.3 ML02 and now only root can log in. Other users get "You are not allowed to login at this time." Once in as root, it's possible to su or 'su -' to other users. All user parameters are OK. (0 Replies)
Discussion started by: skinthegoat
0 Replies
5. Solaris
Hi,
I am doing Active Directory(Win 2008) and UNIX(Solaris 10) integration.
I was unable to create home directory for the Active Directory users on the first login.
So i added
other session required pam_mkhomedir.so skel=/etc/skel umask=0022
to pam.conf in /etc/pam.conf. But now I am... (2 Replies)
Discussion started by: sathya47
2 Replies
6. Solaris
I have inherited a solaris 10 server. I went to log into it the other day over the console connection, and after sucessfully entering the password, I was booted back to the login prompt with no errors visible.
If I enter an incorect password, the console displays 'incorrect password' and kicks... (8 Replies)
Discussion started by: Sol-nova
8 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi,
It has been a while since I logged into Unix.com and I have forgotten my userID and password. Please help.
Thanks,
Ananth. (1 Reply)
Discussion started by: Unregistered
1 Replies
8. Red Hat
Hello,
Sorry for posting here..i know there is another section for Urgent...However, i could not locate it...
Issue: ) After patching rhel 5.8 with couple of patches. When user is trying to login via putty . They get login promt and when they type their username, screen get freezed kindaa... (3 Replies)
Discussion started by: saurabh84g
3 Replies
9. How to Post in the The UNIX and Linux Forums
Hello,
Is there a way to display all of the posts I have authored?
Many thanks in advance. (2 Replies)
Discussion started by: Anamika08
2 Replies
10. Solaris
Hi
Please I need help on trying to login on a solaris 10, blade server.
login as: root
Using keyboard-interactive authentication.
Password:
I even try a normal user, I do not get the prompt.
I suspect the reason could be that /varis at 98% because I have configure email alerts to warn me... (9 Replies)
Discussion started by: fretagi
9 Replies
LEARN ABOUT CENTOS
sulogin
SULOGIN(8) System Administration SULOGIN(8)
NAME
sulogin - Single-user login
SYNOPSIS
sulogin [options] [tty]
DESCRIPTION
sulogin is invoked by init when the system goes into single user mode.
The user is prompted:
Give root password for system maintenance
(or type Control-D for normal startup):
sulogin will be connected to the current terminal, or to the optional tty device that can be specified on the command line (typically
/dev/console).
After the user exits the single-user shell or presses control-D at the prompt, the system will continue to boot.
OPTIONS
-e, --force
If the default method of obtaining the root password via getpwnam(3) from the system fails, manually examine /etc/passwd and
/etc/shadow to get the password. If they are damaged or nonexistent, sulogin will start a root shell without asking for a password.
Only use the -e option if you are sure the console is physically protected against unauthorized access.
-p, --login-shell
Specifying this option causes sulogin to start the shell process as a login shell.
-t, --timeout seconds
Specify the maximum amount of time to wait for user input. By default, sulogin will wait forever.
-h, --help
Print a help message.
-V, --version
Output version.
ENVIRONMENT VARIABLES
sulogin looks for the environment variable SUSHELL or sushell to determine what shell to start. If the environment variable is not set, it
will try to execute root's shell from /etc/passwd. If that fails it will fall back to /bin/sh.
AUTHOR
sulogin was written by Miquel van Smoorenburg for sysvinit and later ported to util-linux by Dave Reisner and Karel Zak.
AVAILABILITY
The sulogin command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils
/util-linux/>.
util-linux Jul 2012 SULOGIN(8)