Visit Our UNIX and Linux User Community


Enable FTP for root user in Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Enable FTP for root user in Solaris 10
# 1  
Old 04-04-2011
Enable FTP for root user in Solaris 10

I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error.
331 Password required for root.
Password:
530 Login incorrect.
Login failed.

Tried following things already.
1. SFTP works ok, still would like to know why FTP is not working (curious).
2. removed root from /etc/ftpd/ftpusers. restarted FTP using both svsadm and inetadm, but no luck.
3. commented CONSOLE in /etc/default/login
4. It works fine in solaris 9 by doing step 2,3. What am I missing with Sol10.
5. Also, checked in /etc/ftpaccess file, no deny-uid or deny-gid defined.

Any help on this will be highly appreciated.
# 2  
Old 04-05-2011
Try for other some user .. root is not allowed by default.
# 3  
Old 04-05-2011
svcadm restart ftp
# 4  
Old 04-05-2011
From the in.ftpd man page:
Quote:
Third, the users must have a standard shell returned by getusershell(3C).
Read the man page for getusershell. You will probably need to create /etc/shells, populate it will the default list of shells and then add root's shell.
# 5  
Old 04-06-2011
Quote:
Originally Posted by Perderabo
From the in.ftpd man page:
Read the man page for getusershell. You will probably need to create /etc/shells, populate it will the default list of shells and then add root's shell.
I don't think that you need /etc/shells. I commented out root user account in /etc/ftpd/ftpusers and login works. Currently file /etc/shells doesn't exist.
# 6  
Old 04-15-2011
susheel

check services then after go for #vi /etc/ftpd/ftpusers
and place comment beside of root

Previous Thread | Next Thread
Test Your Knowledge in Computers #908
Difficulty: Medium
If a Unix shell command line ends with the hashtag #, then the job runs in the background, and the shell does not wait for the job to terminate before printing the prompt and waiting for the next command line.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Root user not recognizing on Solaris-10 (shadow file corruption)

Hello, I got into a wired state on one of solaris 10 server. When I noticed that server is having some issue, I found that there were dumpadm.conf entries in /etc/shadow and real entries were wiped of. Probably somebody fat fingers. I was able to boot into failsafe, break SVM mirror, copied... (25 Replies)
Discussion started by: solaris_1977
25 Replies

2. Solaris

Solaris 10 - 'ls' green for root user only

Welcome to all. Have an issue and looking for help so hope someone is able to give me some clues. I prepared some shell scripts with coloured output to help other guys to have more automated task. Not sure if I did this but now whenever I use 'ls' command for root user every output in... (29 Replies)
Discussion started by: TiedCone
29 Replies

3. Shell Programming and Scripting

How to enable "banner" for a user in solaris?

Password: Using keyboard-interactive authentication. Do you agree with the banner terms (y/n)?: y (4 Replies)
Discussion started by: frintocf
4 Replies

4. Solaris

About FTP Only User under Solaris 10

Hi, I am using Solaris 10. I am trying to create a restricted user: 1. which can ftp in to and ftp out from a Directory Tree 2. which can use only commands: prompt, get, mget, put, mput, delete, mdelete First of all I would like to know, whether this is possible or not If it is possible,... (1 Reply)
Discussion started by: SnehalRBhatt
1 Replies

5. Solaris

Non-root user access to privileged ports-Solaris 8

Please let me know how to setup a non-root user to be able to access a privileged port (<1024) on Solaris 8. I am currently running tomcat as "tomcat" user and I get the following error during to start up: SEVERE: Error initializing endpoint java.net.BindException: Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies

6. Solaris

How to start CDE for non root user on Solaris 10

Hi, How can I start CDE for non root user created.For root CDE is working fine but for non root user CDE exits back to login screen after trying for some time.Also I cant see .dt and .dtprofile files in the users home directory.How can I create them.Kindly help. Thanks & Regards, Kiran. (1 Reply)
Discussion started by: kiranherekar
1 Replies

7. Solaris

Permissions for the root user on Solaris 10

Hi I have a doubt, here if a file does not have the write permissions to the root user my script is going to write the data into that file. when i executed the script as root user. Is it correct ... ? (4 Replies)
Discussion started by: Shreedhar Naik
4 Replies

8. Linux

How to Enable TELNET for root user

How to Enable TELNET for root user in Linux. (3 Replies)
Discussion started by: sakthi_13
3 Replies

9. Solaris

Want to block ftp for root user

Hi Friends, I would like to block the root user for doing ftp. As I am aware that I need to put the entry for root in /etc/ftpusers.....am I right...??? But I am not able to edit the file & even more command is not working. #ls -l ftp* total 14 -rw-r--r-- 1 root sys 1249 Jun... (3 Replies)
Discussion started by: jumadhiya
3 Replies

10. Solaris

Solaris 8 - FTP server -enable

Hi, I have turn off the FTP service and rebooted the server . (edit /etc/inetd.conf and /etc/inet/services) Now , how can I enable back the FTP without rebooting the server . Thanks (1 Reply)
Discussion started by: civic2005
1 Replies

Featured Tech Videos