{ 7 comments… read them below or add one }

1 Zach True 11.17.06 at 5:38 pm

On a Debian system, the nologin file does not exist. Is this a file that I can create? If so, do I stick it in /etc? Do I have to link it to a file in /sbin? Also, what should be the contents of the file?

Thanks

2 nixcraft 11.17.06 at 7:13 pm

Zach,

Good question.

Use /bin/false on Debian or Ubuntu Linux system. Both /sbin/nologin and /bin/false are binary file. Don’t softlink them with shell/perl script.

usermod -s /bin/false tom

3 max 11.18.06 at 6:25 am

Zach,
to deny non-root logins, simply ‘touch /etc/nologin’

4 R_Smith 04.07.07 at 4:41 pm

Hello,

I have CentOS on dedicated server with Cpanel/WHM installed.

I want more people to have access to Cpanel, but to disable main ftp domain access because if they FTP with the cpanel user/pass they will be able to access the folder MAIL.

What I did so far: I chaged the Cpanel/username password by: ssh passwd , this way the FTP password remained as the old one. This was a solution, because people were not able to use FTP with the Cpanel password. However, in 24h the FTP password was automatically synchonized with the Cpanel password – it became the same as cpanel password.

1. How to disable main domain ftp access for Cpanel user?
2. Maybe there is a way to disable automatic ftp password synchronization?

Thanks in advance!!!

5 nixcraft 04.07.07 at 6:17 pm

You can use ‘FTP Manager’ to disable or enable FTP user.

6 R_Smith 04.08.07 at 12:17 am

I was thinking about the main ftp account, that has access in the direcory that is one level up from public_html. There is no option in Cpanel to change this ftp account password.

7 nagendra rao 04.16.07 at 7:25 am

i got one proble in sftp. how to blck sft service to a particular user

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: