motd issue and fakeuser
Hello, I have 2 questions atm.
first is, when i add echo commands to the /etc/motd file and try to relogg I get this PHP Code:
I dont get the random login message. However I wounder why it prints out echo -e instead of just doing as it should be doing. Im using latest Slackware. And for my second question, I would like to add an fakeuser to be able to connect to my ftp, however when I use the command PHP Code:
im certan that im typing in right one. (I want an username without shell access) |
No idea about the echo, maybe reinstalling latest bash version fixes that.
If you man useradd, you will find out that -p hash is the correct syntax. Create without password and later do passwd if you don't have de hash yet. If you want that user not to be able to log in trough ssh, try DenyUsers option in ssh configuration file: sshd_config. (check man sshd_config for more details). Have a nice day. |
All times are GMT -5. The time now is 08:59 PM. |