Users on SPD8020

Users on SPD8020

Postby ACCakut » Sat Feb 18, 2012 6:25 pm

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
ACCakut
 
Posts: 5
Joined: Thu Jun 30, 2011 10:05 pm

Re: Users on SPD8020

Postby Jocko » Sat Feb 18, 2012 6:43 pm

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Users on SPD8020

Postby ACCakut » Sun Feb 19, 2012 3:27 am

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).
ACCakut
 
Posts: 5
Joined: Thu Jun 30, 2011 10:05 pm

Re: Users on SPD8020

Postby fvdw » Sun Feb 19, 2012 4:04 am

you could perform the chmod or chown commands after downloading them to set the permission or change owner either using Putty or winSCP
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Philips SPD8020

Who is online

Users browsing this forum: No registered users and 6 guests