• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

Command Line Login Problems

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
BFirth
Asked:
BFirth
1 Solution
 
ravenplCommented:
login will not do (not enought priviledges). Try
su - user2
0
 
ygouthamCommented:
try this

exec login user2

or

exec login

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

goutham
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now