Something more: I tried log in as root and it worked so I created username and password using command "useradd" and now I can log in but prompt gives me back only:No directory /home... [by lesharc]
on 05/17/2013 – Made popular on 05/17/2013
Hopefully I'm in the correct forum for this one...
I just had a pretty simple question about SSH.
When I ssh to a server normally I do "ssh user@ip_address". I noticed once by accident I forgot to enter the username
when I was entering the command and it still attempted to connect and still offered me a "Password" Prompt.
First time posting here, and with a bit of a weird problem.
When navigating through the "~/home/<username>" directory using the "cd" command in the terminal it always returns "No such file or directory" without exception. This is not due to case sensetivity. Being signed in as root or the user does not make a difference.
When I create a user with useradd command in centos 5, the home directory is created and its /etc/skel files are copied to that directory but when i give useradd with -doption to some different path to home directory it does not create the skeloton files, like .bachrc, .bash_history etc.
If someone can give a hint so I can resolve this problem.
guys need help how to add user to my script.
note: this is not a home work... I'm just self studying unix/linux programming. thanks in advance.
and how can i add this script to the add user list below.
When I click a user name on the login screen, the other ones disappear but the password prompt never shows up. It stays this way for a few seconds, then comes back to the original state with the list of users.