Solved

Command Line Login Problems

Posted on 2006-11-01
2
209 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux pull logs and export FTP 4 71
Fetching data from Multiple Linux Server using Shell Scripting 55 137
Linux script delete files 3 34
awk to variable in bash 2 43
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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