Page 1 of 1

Users on SPD8020

PostPosted: Sat Feb 18, 2012 6:25 pm
by ACCakut
Dear fvdw,

if I try to su on SSH, I am getting an error
Code: Select all
/bin/nologin: No such file or directory

Can I change this in /etc/passwd to /bin/sh? I want to run programs as non-root-user to be able to modify files via FTP laterly.

Thanks,

ACCakut

Re: Users on SPD8020

PostPosted: Sat Feb 18, 2012 6:43 pm
by Jocko
Hi ACCakut,

Only root user has a valid shell (safe rule).
With FTP, you don't need that the user have a valid shell to modify files if the user have sufficient permissions.
did you modify the directive "RequireValidShell" in the FTP conf file? keep "off" this directive

Re: Users on SPD8020

PostPosted: Sun Feb 19, 2012 3:27 am
by ACCakut
No, I changed nothing with the FTP-settings. I am just loading some files by wget, aria2 or pyload. If I start these from SSH, the processes run as root and the files are owned by root as well. So I cannot edit them by FTP. Perhaps I will completely wipe the NAS in the next time since it is very, very slow and behaves strangely (some troubles with ownership before and ****** with umlauts).

Re: Users on SPD8020

PostPosted: Sun Feb 19, 2012 4:04 am
by fvdw
you could perform the chmod or chown commands after downloading them to set the permission or change owner either using Putty or winSCP