Operating System - HP-UX
1833568 Members
3364 Online
110061 Solutions
New Discussion

ftp (file where you cang give permissions)

 
SOLVED
Go to solution
Manuales
Super Advisor

ftp (file where you cang give permissions)

Hi, i don't remember where is located file where you can give permissions for ftp, telnet, etc commands?
where is that file in /var? in /etc? and what is the name?

Thanks, Manuales.
11 REPLIES 11
baiju_3
Esteemed Contributor
Solution

Re: ftp (file where you cang give permissions)

Hi Manuales,

/var/adm/inetd.sec is that what you looking for ?

Ragards,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
James R. Ferguson
Acclaimed Contributor

Re: ftp (file where you cang give permissions)

Hi Manuales:

I think you want: '/etc/ftpd/ftpaccess'.

http://www.docs.hp.com/en/B2355-60127/ftpaccess.4.html

Regards!

...JRF...
Ivan Ferreira
Honored Contributor

Re: ftp (file where you cang give permissions)

Maybe I don't know if I don't know also the existence of that file but you can use restricted shell to force the use of few allowed commands.

http://www.unix.org.ua/orelly/unix/unixnut/ch04_09.htm
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sanjay_6
Honored Contributor

Re: ftp (file where you cang give permissions)

Hi,

If you are talking about allowing / denying service (ftp / telnet...) permissions to hosts / ip addresses on your network then /var/adm/inetd.sec is what you are looking for.

Do a "man inetd.sec" for more information on this file and how to set it up.

hope this helps.

regds
Jeff Schussele
Honored Contributor

Re: ftp (file where you cang give permissions)

Hi Manuales,

JRF, as usual, has it.
/etc/ftpd/ftaccess is your huckleberry.

man ftpaccess for details.

Cheers,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Deoncia Grayson_1
Honored Contributor

Re: ftp (file where you cang give permissions)

/var/adm/inetd.sec file allows you to grant users from a host name or ipdadress access to your server.

/etc/ftpd/ftpaccess allows you to grant (class of) users within a group access to your server.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Jeff Schussele
Honored Contributor

Re: ftp (file where you cang give permissions)

Oooooopppppssssss

should be ftpaccess of course...
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Raj D.
Honored Contributor

Re: ftp (file where you cang give permissions)

Hi Manuales ,

/etc/ftpd/ftpaccess for ftp access configuration.

/var/adm/inetd.sec : to define access restriction for any services , in /etc/inetd.conf like ftp telnet etc.


Further you can check:
# man ftpaccess


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Indrajit_1
Valued Contributor

Re: ftp (file where you cang give permissions)

Hi;

If u want to enable and disable ftp and telnet services.. do the follwoing step..

#vi /etc/inetd.conf

#ftp (to disable ftp services)
#telnet ( to disable telnet service)

save and come out .. (** uncomment to enable the services)
After make changes in inetd.conf file, u need to do the following step..

#inetd -a

If u want to allow and deny host for ftp and other services, do the follwoing services.
#/var/adm/inetd.sec
for more detail..
#man inetd.sec

for ftp access,

#vi /etc/ftpd/ftpaccess

Any user name present in this file cann't access ftp.

Hope this will help to resolve ur issue..

Cheers
indrajit

Never Ever Give Up
karan_3
Advisor

Re: ftp (file where you cang give permissions)

hi Manuales,
see if you want to enable or disable the ftp or telnet services then you have to put the hash(#) entry at the start on the ftp and telnet line. and restart the inetd services. inetd -c .

and if you want to set the permission then there are two files in which you can change the permission..one is inetd.sec .in this file.the entry should be like this...

.

and the second one is ftpaccess file.
for more detail of file ..see man ftpaccess.

regards
karan
Arturo Galbiati
Esteemed Contributor

Re: ftp (file where you cang give permissions)

Hi,

/etc/ftpd/ftpaccess for ftp access configuration.

/var/adm/inetd.sec : to define access restriction for any services , in /etc/inetd.conf like ftp telnet etc.

HTH,
Art