The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to block an anonymous ftp user? dennisheazle UNIX for Dummies Questions & Answers 10 04-17-2008 04:49 AM
switching user from root to ordinary user sasia Shell Programming and Scripting 3 01-25-2008 10:25 PM
how to block a user temporarily? winky AIX 3 06-19-2007 11:27 AM
Su to user from root nitin Shell Programming and Scripting 3 10-25-2006 04:21 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 01:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-07-2007
jumadhiya jumadhiya is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 44
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 23 2006 ftpaccess
-rw-r--r-- 1 root sys 551 Jun 23 2006 ftpconversions
-rw-r--r-- 1 root sys 104 Jun 23 2006 ftpgroups
-rw-r--r-- 1 root sys 108 Jun 23 2006 ftphosts
-rw-r--r-- 1 root sys 114 Jun 23 2006 ftpservers
-rw-r--r-- 1 root sys 186 Jul 19 2006 ftpusers

etc]# more ftpusers
ftpusers: No such file or directory
etc]# cat ftpusers
cat: cannot open ftpusers

Even when I try to vi this file, it opens the new file.

Can someone suggest me whats wrong.....???

Regards,
jumadhiya.
  #2 (permalink)  
Old 02-07-2007
pankajbraval pankajbraval is offline
Registered User
  
 

Join Date: Jan 2007
Location: India-Gujarat-Jamnagar
Posts: 44
my sco 5.o.6
lrwxrwxrwx 1 root sys ftpaccess -> /var/opt/K/Sco...
its link file
  #3 (permalink)  
Old 02-07-2007
lowbyte lowbyte is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 73
You are in the wrong directory,
in Solaris you have to change to /etc/ftpd
here you find the file ftpusers.

CU
lowbyte
  #4 (permalink)  
Old 02-07-2007
jumadhiya jumadhiya is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 44
Thanks Pankaj......!!!

Thanks Lowbyte....!!!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0