Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
If you recreated the user, it probably was assigned a new id. You are going to have to hack your /etc/passwd & /etc/group files back into shape.
Some more detail would help. I'm curious how you logged in as that user if it is not being found. Did you remove the user while logged in as that user? (i.e. su to root from user, then remove user).
in my /etc/passwd file, but it didn't do anything
i also typed it in the command line of the terminal. I'm lost. The terminal still works fine, it just can't find the userID. Is this a problem?
in my /etc/passwd file, but it didn't do anything
i also typed it in the command line of the terminal. I'm lost. The terminal still works fine, it just can't find the userID. Is this a problem?
try this:
cd /home
ls -l
and check the uid/gid of your directory or post it here if u want.
"vipw" is "vi" with syntax checking for the passwd file. I baxsically checks to ensure that all the fields are correct. It would have prevented you from entering that line into the passwd file.
if u have created fernin8r and Nikatia consecutively, they should have uid 500 and 501 consecutively (fernin8r has a gid of 500 and Niikatia has the gid of the users group).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.