Posted August 31, 201113 yr Hello all, I'd like to get started using OpenSSH, which I've installed via UnMENU; however I'm having a hard time finding a good guide for beginners to get it up and running. Upon install it advised me to ensure several usernames had strong passwords (nobody, root, etc) how do I change these passwords? A bit confused at the moment and any help would be appreciated! Thanks!
September 1, 201113 yr The root password is set in the web GUI. nobody has /bin/false as a shell and can't be used for a login so the password is not that important. Look in the /etc/passwd file for the other logins and make sure they have /bin/false as a shell. I'd bet they do.
September 1, 201113 yr The root password is set in the web GUI. nobody has /bin/false as a shell and can't be used for a login so the password is not that important. Look in the /etc/passwd file for the other logins and make sure they have /bin/false as a shell. I'd bet they do. unless you are running a very different version of unRAID than me, or a very current version, I'll bet they do not. Try logging into your server as shutdown, or halt, or sync, or operator. See what happens. Joe L.
September 1, 201113 yr unless you are running a very different version of unRAID than me, or a very current version, I'll bet they do not. Try logging into your server as shutdown, or halt, or sync, or operator. See what happens. 5.0B12, I guess you under estimate the advances made root:x:0:0:administrator:/root:/bin/bash bin:x:1:1:bin:/bin:/bin/false daemon:x:2:2:daemon:/sbin:/bin/false adm:x:3:4:adm:/var/log:/bin/false lp:x:4:7:lp:/var/spool/lpd:/bin/false mail:x:8:12:mail:/:/bin/false news:x:9:13:news:/usr/lib/news:/bin/false uucp:x:10:14:uucp:/var/spool/uucppublic:/bin/false ftp:x:14:50::/home/ftp:/bin/false smmsp:x:25:25:smmsp:/var/spool/clientmqueue:/bin/false mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false rpc:x:32:32:RPC portmap user:/:/bin/false sshd:x:33:33:sshd:/:/bin/false gdm:x:42:42:GDM:/var/state/gdm:/bin/false avahi:x:61:214:Avahi Daemon User:/dev/null:/bin/false avahi-autoipd:x:62:62:Avahi AutoIP Daemon User:/dev/null:/bin/false messagebus:x:81:81::/dev/null:/bin/false pop:x:90:90:POP:/:/bin/false nobody:x:99:100:nobody:/:/bin/false Only name to login is 'root' ...
September 7, 201113 yr Author Okay so I think I have the logins pretty well locked down; now I'm trying to login using keys in lieu of passwords. I generated a public/private key on my Android phone and copied it to my server, then run the following command cat .ssh/[KeyNAME].pub | ssh [username]@[server] 'cat >> .ssh/authorized_keys' this works until I reboot, how do I get this to persist? I've also tried to change the default port my modifying sshdconfig in /boot/custom/etc/ssh, but no dice. Am I modifying the wrong file? Thanks!
Archived
This topic is now archived and is closed to further replies.