Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.