04-07-2005
Well, what about the other stuff in that thread? First, if you follow the link in that thread, you will read about the "site umask" command which will work. And did you notice my comment "I will add that with some ftpd programs there is an option for the default umask on the command line."? Looking at the
HP-UX ftpd man page, and sure enough, there it is, "-u
umask". While you're on that man page, be sure to notice
Quote:
The following non-standard or HP-UX specific commands are supported by the SITE command:
Command
Description
UMASK
Change umask. (e.g., SITE UMASK 002)
10 More Discussions You Might Find Interesting
1. HP-UX
We have an application running on Win2K and this application ftp files to HP-UX using ftpdc as user id. The files are created in HP-UX with following permissions:
-rw-r----- 1 ftpdc users 968321 Apr 12 22:57 aaaa.txt
There is a job that runs on HP-UX trying to modify this file using the... (7 Replies)
Discussion started by: Anamika
7 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Ok I have a couple of little problems that I can't for the life of me work out how to solve. I wasn't involved in setting the server up, I've just "inherited" the support for it. I've done my best to be a good little newbie, researched articles, tried things out and managed to only get... (1 Reply)
Discussion started by: Andy68man
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
I am trying to grant FTP acccess to my server for a WebDesigner to be able to upload live and see how it looks online.
I created a new user (WebDes:tomcatUsers) and created his home dir as /var/lib/tomcat5/webapps/uPhoto/ and then made sure he CHROOT's to his home dir so he only... (1 Reply)
Discussion started by: boarderstu
1 Replies
4. UNIX for Dummies Questions & Answers
hi,
how can I see permissions through ftp connection ?
I can't see them using "ls -l" as in the local system..
thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies
5. Solaris
hi all
how I can create an ftp user in solaris 10 and have read and write permission on a directory.
Thanks. (1 Reply)
Discussion started by: luisfja
1 Replies
6. Cybersecurity
I've got a new MythTV box at home and figured it would be a great opportunity to use it to do daily mirrors of my mysqlbackup directory (let's say /mysqlbackup/backups) and my website at /usr/local/apache/htdocs and below.
I figured it would be a best practice NOT to use a root login but to... (0 Replies)
Discussion started by: dheian
0 Replies
7. Linux
Hi,
I am working on setup a environment where only a specific user can upload the builds on htdocs of apache.
Now i want that a specific user can copy the builds on htdocs folder.
I created a group "deploy" and assign user1 and user2 to this group.
On Apache side i mentioned User=deploy... (3 Replies)
Discussion started by: sunnysthakur
3 Replies
8. Solaris
We have umask defined under /etc/.login as 022.
I have my user specific umask defined in /userhome/.login as 002.
I understand ftp will not execute anything at destination, it simply transfers files.
But it seem to be using 022 as umask for the files transferred. How does ftp knows what umask... (4 Replies)
Discussion started by: kchinnam
4 Replies
9. Shell Programming and Scripting
Hey all. I'm writing a script to automatically login to a router, change directories to where crashfiles are located, then listing all files in that directory. This is where I'm at so far and wish to have some user interaction to choose the files.
What I am trying to do is list the files and get... (1 Reply)
Discussion started by: Gouda
1 Replies
10. UNIX for Beginners Questions & Answers
Hi there!
I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!),
I would love some help figuring out this basic command (what I assume is basic).
I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
9 Replies
LEARN ABOUT SUNOS
ftpgroups
ftpgroups(4) ftpgroups(4)
NAME
ftpgroups - FTP Server enhanced group access file
SYNOPSIS
/etc/ftpd/ftpgroups
The ftpgroups file contains the enhanced group access information.
After login, if the ftpaccess(4) file includes private yes, the user may use the SITE GROUP and SITE GPASS commands to specify an enhanced
access group and a password for that group. If the access group name and password are valid, the FTP Server executes setegid(2) to make the
user a member of the real group listed in the ftpgroups file.
The format for the ftpgroups file is:
accessgroup:encrypted_password:real_group_name
The fields are defined as follows:
accessgroup An arbitrary string of alphanumeric and punctuation characters.
encrypted_password The group password encrypted exactly like in /etc/shadow.
real_group_name The name of a valid group returned by getgrnam(3C).
The privatepw utility is an administrative tool to add, delete and list enhanced access group information in the ftpgroups file. See pri-
vatepw(1M). Lines that begin with a # sign are treated as comment lines and are ignored.
/etc/ftpd/ftpgroups
/etc/ftpd/ftpaccess
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpr |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
in.ftpd(1M), privatepw(1M), setegid(2), getgrnam(3C), ftpaccess(4), group(4), shadow(4), attributes(5)
1 May 2003 ftpgroups(4)