Sponsored Content
Operating Systems Solaris Enable FTP for root user in Solaris 10 Post 302511048 by Perderabo on Tuesday 5th of April 2011 03:56:26 PM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
GETUSERSHELL(3) 					   BSD Library Functions Manual 					   GETUSERSHELL(3)

NAME
getusershell, setusershell, endusershell -- get valid user shells LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> char * getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a valid user shell as defined by the system manager in the shells database as described in shells(5). If the shells database is not available, getusershell() behaves as if /bin/sh and /bin/csh were listed. The getusershell() function reads the next line (opening the file if necessary); setusershell() rewinds the file; endusershell() closes it. FILES
/etc/shells DIAGNOSTICS
The routine getusershell() returns a null pointer (0) on EOF. SEE ALSO
nsswitch.conf(5), shells(5) HISTORY
The getusershell() function appeared in 4.3BSD. BUGS
The getusershell() function leaves its result in an internal static object and returns a pointer to that object. Subsequent calls to getusershell() will modify the same object. BSD
November 23, 2004 BSD
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy