top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Unable to login as user with su command in linux

0 votes
348 views

1.If a user want to login with user-id like given below in example,(other than root),then where to make changes?
If I put this question in other way
2.I can login as root but not with my ID(throwing error "Unknow id:")as given below, then where and what to make some changes?

su joydutta
Unknown id: joydutta

posted Dec 19, 2016 by Joy Dutta

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
I dont know much about your system ie which linux and what are the conditions etc. Also second statement is not clear i.e. 'from any machine I can login'

But best guess would be it is something related with the /etc/passwd file or if issue with SSH only then look for /etc/ssh/sshd_config

Else please provide more information so that people can understand it fully...

Similar Questions
+2 votes

I have a huge code base and it is showing files with zero bytes .
Can someone share a linux command to delete files with zero bytes in one attempt ?

+1 vote

I want to install ubuntu 17.2.
But after inserting my bootable pendrive I get this message on my screen.
Setup Error: end kernel panic - not syncing: vfs: unable to mount root fs on unknown block(2,0).
Please anyone problem?

+3 votes

Probably is simple and silly question, I should have googled but still want to ask.
I want to run a script at the login to the Linux system, what is the best way to achieve this.

+1 vote

When I was running mate on another computer, I would log off or shutdown, and power up and login again and mate would restore all the gui apps in all the workspaces.

Gnome does not do that.

Also, I do not have a way to upgrade to Centos 7 because
1. graphic installation fails (as I have posted here before).
2. I do not want to do text install because it will clobber my existing partitioning scheme and does not provide for modifying the automatic partitioning scheme.

...