Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Command Line Login Problems

Posted on 2006-11-01
2
210 Views
Last Modified: 2013-12-16
Hi,
I'm trying to login with a different user from the terminal command line using
login -f user2
after prompting me for my password it tells me that login is incorrect.
The password and username are correct
thanks for the help
0
Comment
Question by:BFirth
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 17856212
login will not do (not enought priviledges). Try
su - user2
0
 
LVL 14

Expert Comment

by:ygoutham
ID: 17856604
try this

exec login user2

or

exec login

in the second option it prompts you for username and password both.

goutham
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 75
AWS - HAProxy- KeepAlived 5 51
wipe a usb using python 5 64
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 46
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question