LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-27-2004, 08:26 AM   #1
brettjbuckley
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
Can't log in on console as anything but root


Not sure if this is a security or networking issue, but here goes:

We have a number of Redhat 7.3 Linux PC's on our network.
Until now, they have only been used via remote logins from Sun Workstations for the purpose of distributed processing.

Therefore until now, the only login on the actual console has only ever been with root.

Now, due to a change of requirements, the Linux PC's have been deployed on desktops and the users require local logins.

However, the Redhat Login screen on each PC will not allow this - the screen simply blinks and returns to the login prompt for anything but root. No errors are logged in the message file.

If we do log in as root, we can easily use the su command to change to any other account - but why can we not do this from the initial console login?
 
Old 05-27-2004, 08:54 AM   #2
mint567
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
You do have regular users already added to the system or not?
login as root first and then type login and it should prompt for username/password. try that and see if it will let you login as a regular user.
 
Old 05-27-2004, 09:11 AM   #3
brettjbuckley
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I just tried that - I logged into the console as root then I launched a new shell and typed "login".

The shell just dies immediately.
 
Old 05-27-2004, 02:53 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Is the user information stored locally, or is it retrieved from a remote database such as NIS or LDAP? If the latter, you want to verify that those settings are correct. For instance. most NIS hosts keep root in the local passwd file (so it can log on in case of a network outage) but get all other user info from NIS.
 
Old 05-27-2004, 03:07 PM   #5
brettjbuckley
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Our main server (Sun) holds the NIS info.

I am starting to suspect that it may be a permissions problem - however, it's strange that we can rlogin and rsh fine on Linux.
 
Old 05-27-2004, 09:02 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
My first suspicion is that in converting these machines to desktops you somehow broke the NIS configuration, which would explain why user logins fail but root can login OK. You might also want to make sure that the permissions on /bin/login are correct or that there isn't something weird going on with PAM. It might help to make a list of what all you've changed moving these from cluster to desktop usage. Or, maybe whoever set up the cluster denied normal users the ability to login from console thinking that it would never be needed. I *think* there are ways to do this through PAM, so it may be an avenue to explore.
 
Old 05-28-2004, 07:04 AM   #7
brettjbuckley
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I think we figured out the problem.

The user accounts are hosted on a Sun server and each user has a rather complex login script used for setting up their environment and so forth.

It would seem that on Linux certain commands in that script are conflicting with the KDE startup - my systems administrator is currently probing this deeper to create a workaround...

If we succeed, I will post the deatils.

Thanks for everyone's help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to log in as root in a console Vodius Linux - Newbie 3 05-16-2005 05:16 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 04:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Cannot log into root from main console - Mandrake 10.0 Em3rald Linux - Newbie 3 03-21-2004 02:56 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration