10 More Discussions You Might Find Interesting
1. AIX
Hello AIXians,
I created a user 'test'
its home directory is: /home/ari/test
I tried to login by ftp using this account, but it failed!
The FTP service is enabled, and the user 'test' is not added to the /etc/ftpusers file. (3 Replies)
Discussion started by: Mohannad
3 Replies
2. Shell Programming and Scripting
Dear Unix geeks,
I am shocked and upset that I couldn't solve the below issue.
One ftpuser was using his account for years to get data from server but reported an error today. 220 (vsFTPd 2.0.4)
Name (10.130.9.71:root): rbiftp
331 Please specify the password.
Password:
500 OOPS: cannot... (2 Replies)
Discussion started by: Naga06
2 Replies
3. Solaris
Hello everybody,
In Solaris 10, how I can create an user with only access ftp to directory specify ?
thanks, (2 Replies)
Discussion started by: aav1307
2 Replies
4. Shell Programming and Scripting
hi
i want create a user to ftp (get) files from the 2nd machine.
but i want to give specific rights to that user that he can't access only specific files and directories.
please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies
5. UNIX for Advanced & Expert Users
Helo,
I have created one group called RBAC.(roll back access control)
Now when I created user of RBAC its entry in /etc/passwd file is given below:
roleadm:x:120:109:RBAC User:/home/pds_RBAC:/bin/false
I have keep at the end /bin/false because I dont want to give direct login to the user... (2 Replies)
Discussion started by: amitpansuria
2 Replies
6. HP-UX
UNIX Xperts,
Is there a way i can find out who is currently ftping into my server?
The problem I am facing is that there is currently a ftp process running which is trying to login using the wrong password. And this is causing me to constantly have to reset the password /enable the account by... (1 Reply)
Discussion started by: simshark
1 Replies
7. Shell Programming and Scripting
I know the typical way to script automate an ftp session is to pass all of the commands to ftp, with something 'like' the following:
echo USER $user
echo PASS $pass
My question concerns other methods or tricks people have used so that the username and ESPECIALLY the password are... (7 Replies)
Discussion started by: joeyg
7 Replies
8. UNIX for Dummies Questions & Answers
How to create an FTP user with password???? (1 Reply)
Discussion started by: tontal
1 Replies
9. Solaris
Dear all,
i need to create FTP user with limited permissions: this user is only allowed to ftp from a certain directory, and he cant view or list any other file or directory, i want the him to be denied even from cd / .. he cant list root or any other directory , only the directory he is... (2 Replies)
Discussion started by: mduweik
2 Replies
10. UNIX for Dummies Questions & Answers
In my system , the user can use ftp to access the system , how to restrict the user can only access a specific path eg . user's home directory & /tmp ? thx (3 Replies)
Discussion started by: ust
3 Replies
NETRC(5) BSD File Formats Manual NETRC(5)
NAME
netrc, .netrc -- user configuration for ftp
DESCRIPTION
This file contains configuration and autologin information for the File Transfer Protocol client ftp(1).
The .netrc file contains login and initialization information used by the auto-login process. It resides in the user's home directory. The
following tokens are recognized; they may be separated by spaces, tabs, or new-lines:
machine name
Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote
machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are
processed, stopping when the end of file is reached or another machine or a default token is encountered.
default This is the same as machine name except that default matches any name. There can be only one default token, and it must be after
all machine tokens. This is normally used as:
default login anonymous password user@site
thereby giving the user automatic anonymous ftp login to machines not specified in .netrc. This can be overridden by using the -n
flag to disable auto-login.
login name
Identify a user on the remote machine. If this token is present, the auto-login process will initiate a login using the specified
name.
password string
Supply a password. If this token is present, the auto-login process will supply the specified string if the remote server requires
a password as part of the login process. Note that if this token is present in the .netrc file for any user other than anonymous,
ftp will abort the auto-login process if the .netrc is readable by anyone besides the user.
account string
Supply an additional account password. If this token is present, the auto-login process will supply the specified string if the
remote server requires an additional account password, or the auto-login process will initiate an ACCT command if it does not.
macdef name
Define a macro. This token functions like the ftp macdef command functions. A macro is defined with the specified name; its con-
tents begin with the next .netrc line and continue until a null line (consecutive new-line characters) is encountered. If a macro
named init is defined, it is automatically executed as the last step in the auto-login process.
SEE ALSO
ftp(1), ftpd(8)
Linux NetKit (0.17) September 23, 1997 Linux NetKit (0.17)