I can ftp the server using local user. But when i am trying to do ftp using nagios user the passowrd is incorrect. It seems passowrd doesn't match. If i reset the passowrd is their any drawback? Please suggest me. Also please let me know normal useradd command will be sufficient for changing this password or do i need to do anything else.
C:\Users\shussein>ftp rr-de-nms-1
Connected to rr-de-nms-1.
220 Welcome xxxxxx.
User (rr-de-nms-1:(none)): nagios
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>
Because i am afraid, if i change passowrd could hamper nagios all service. I dont want to install it again.
Can't FTP using nagios user
Can't FTP using nagios user
Regards
Sazzad
Sazzad
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't FTP using nagios user
By default the nagios user is a nologin user, you would need to change the user to a login user to be able to ftp as that user
Re: Can't FTP using nagios user
I want to edit nagios config files using Notepad++(vftp). Its little bit easier that editing via "vi" mode. I guess by default nagios user is not accessible via ftp.
Is it possible to add a user & allow permission to that user, so that that user can edit all nagios file? Please let me know the procedure.
Also is it possible to open "nagios" user for FTP connection?
Is it possible to add a user & allow permission to that user, so that that user can edit all nagios file? Please let me know the procedure.
Also is it possible to open "nagios" user for FTP connection?
Regards
Sazzad
Sazzad
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Can't FTP using nagios user
I suggest you install nano, it's a text editor for Linux that is more friendly to Windows users. Passing the configs back and forth while editing isn't recommended.lsazzad wrote:I want to edit nagios config files using Notepad++(vftp). Its little bit easier that editing via "vi" mode. I guess by default nagios user is not accessible via ftp.
As swilkerson mentioned the nagios user has nologin set for its shell. You'll need to change that.lsazzad wrote:Is it possible to add a user & allow permission to that user, so that that user can edit all nagios file? Please let me know the procedure.
Also is it possible to open "nagios" user for FTP connection?
Code: Select all
chsh -s /bin/sh nagios
Re: Can't FTP using nagios user
Dear jdalrymple,
Thanks a lot for the reply. Its working now after chaging in nologin shell.
I am using Notepad++ to ftp my nagios server. Using nagios user i can download & upload files as well edit.
Problem solved. I would request admin to close the thread!

Thanks a lot for the reply. Its working now after chaging in nologin shell.
I am using Notepad++ to ftp my nagios server. Using nagios user i can download & upload files as well edit.
Problem solved. I would request admin to close the thread!
Regards
Sazzad
Sazzad