03-25-2013
Solaris 10 - A User Can Download File but Cannot Upload
Dear all,
I have made a search on the forum, but couldn't find a related topic about this issue.
* I have created a user on Solaris 10 OS with below command and then set password for the user.
Quote:
useradd -g 0 -u 1001 -d /opt/hattesti/ttupload -m hattesti
* Now i can FTP to OS with this user (hattesti). Although i can download files under related directory; i cannot upload files to it.
Could you please help me to solve this issue?
Quote:
root@Server1 # more /etc/passwd
root:x:0:0:Super-User:/:/bin/bash
daemon:x:1:1::/:
.......
hattesti:x:1001:0::/opt/hattesti/ttupload:/bin/sh
root@Server1 #
Quote:
root@Server1 # more /etc/group
root::0:
other::1:root
....
root@Server1 #
---------- Post updated at 05:22 PM ---------- Previous update was at 05:09 PM ----------
Oh, i have solved my problem by changing related directory's rights.
Before it was like below:
Quote:
root@Server1 # ls -l
drwxr-xr-x 2 root root 512 Mar 25 16:36 ttupload
root@Server1 #
I used below command:
Quote:
root@Server1 # chown -R hattesti:root /opt/hattesti/ttupload
After this:
Quote:
root@Server1 # ls -l
drwxr-xr-x 2 hattesti root 512 Mar 25 16:36 ttupload
root@Server1 #
Now "hattesti" user can make upload.
Last edited by byrusber; 03-25-2013 at 12:28 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey doe's anyone know of a direct link to download Solaris 8 for an Intel system? I've been looking all over the Sun site and others and i cant find were to download it, if i click on something like Solaris 8 binaries in the downloads page it just tells me about Solaris.
Please help.
Thanx (4 Replies)
Discussion started by: Gavan
4 Replies
2. UNIX for Dummies Questions & Answers
I'm just trying to get SSH setup on Solaris and I want to download it. For some reason, if I ever goto a site and try to download something, it doesn't work. When I click on the download link it just goes to a blank page and sits there. Can anyone help a Solaris newb out? Thanks. (1 Reply)
Discussion started by: AMDPwred
1 Replies
3. Linux
hi everybody,
How cud i stop downloading files from FTP and allow uploading files in FTP.
Thanks & reg, (2 Replies)
Discussion started by: utpalsarkar
2 Replies
4. UNIX for Dummies Questions & Answers
Hi everybody,I am facing some problem with ftp server configuration.When I log in by anonymous user, it get logged in but when i want to upload a file in pub directory its showing some error like --- could not create a file ---,Can anybody pls tell me what changes I need to do in vsftpd.conf... (1 Reply)
Discussion started by: kunalpatil09
1 Replies
5. Shell Programming and Scripting
How can I get the upload and download speed of my pc, provided that my interface is wlan0?
I have though something like:
#!/bin/sh
ups=something
downs=somethingelse
echo "
Your current up speed is $ups
Your current down speed is $downs, but I have no idea how to get them?Are... (5 Replies)
Discussion started by: hakermania
5 Replies
6. Shell Programming and Scripting
I have two files, uploads.txt and downloads.txt. I would like to combine the columns of these files based on the ip address. How can I best do this?
Uploads.txt
192.168.0.147 1565369
192.168.0.13 1664855
192.168.0.6 1332868
Downloads.txt
192.168.0.147 9838820
192.168.0.18 12051718... (7 Replies)
Discussion started by: zanyspydude
7 Replies
7. Shell Programming and Scripting
hi
please help me out here,
i want to use curl command in shell script to test web pages,
what i have is an opening page, when i click on a button on opening page, the next page comes up and then i have to upload a file n then click another button to submit and then comes the output page,... (2 Replies)
Discussion started by: Olivia
2 Replies
8. Solaris
Hello Forum Folks,
I'm hoping to find a trustworthy download of a (Solstice?) X.25 package suitable for Solaris 8.
I've been searching the Internet for many weeks (I am subscribed to "UNIX Packages", previously 'sunfreeware' and could not find anything).
Would anyone know or have this... (3 Replies)
Discussion started by: ssid61
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
is it possible to download/retrieve a public SSH key when you are logged in to the remote machine rather than sending the key, for example with ssh-copy-id from your local machine to the remote machine?
I can only ssh into one direction (from the remote machine into the local machine),... (5 Replies)
Discussion started by: gczychi
5 Replies
10. Shell Programming and Scripting
Hello,
My question is about curl command. (ubuntu14.04)
In terminal, I am able to download my mainfile with:
curl -u user1:pass1 http://11.22.33.44/*******
When I convert it into bash script like this:
#!/bin/bash
cd /root/scripts
computer_ip=11.22.33.44
curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 Replies
LEARN ABOUT CENTOS
tpm_quote_tools
TPM QUOTE
TOOLS(8) TPM QUOTE TOOLS(8)
NAME
TPM Quote Tools
PROGRAMS
tpm_mkuuid, tpm_mkaik, tpm_loadkey, tpm_unloadkey, tpm_getpcrhash, tpm_updatepcrhash, tpm_getquote, tpm_verifyquote
DESCRIPTION
TPM Quote Tools is a collection of programs that provide support for TPM based attestation using the TPM quote operation.
A TPM contains a set of Platform Configuration Registers (PCRs). In a well configured machine, some of these registers are set to known
values during the boot up process or at other times. For example, a PCR might contain the hash of a boot loader in memory before it is
run.
The TPM quote operation is used to authoritatively verify the contents of a TPM's Platform Configuration Registers (PCRs). During provi-
sioning, a composite hash of a selected set of PCRs is computed. The TPM quote operation produces a composite hash that can be compared
with the one computed while provisioning.
To use the TPM quote operation, keys must be generated. During provisioning, an Attestation Identity Key (AIK) is generated for each TPM,
and the public part of the key is made available to entities that validate quotes.
The TPM quote operation returns signed data and a signature. The data that is signed contains the PCRs selected for the operation, the
composite hash for the selected PCRs, and a nonce provided as input, and used to prevent replay attacks. At provisioning time, the data
that is signed is stored, not just the composite hash. The signature is discarded.
An entity that wishes to evaluate a machine generates a nonce, and sends it along with the set of PCR used to generate the composite PCR
hash at provisioning time. For this use of the TPM quote operation, the signed data is ignored, and the signature returned is used to val-
idate the state of the TPM's PCRs. Given the signature, the evaluating entity replaces the nonce in the signed data generated at provi-
sioning time, and checks to see if the signature is valid for the data. If so, this check ensures the selected PCRs contain values that
match the ones measured during provisioning.
A typical scenario for an enterprise using these tools follows. The tools expect AIKs to be referenced via one enterprise-wide Universally
Unique Identifier (UUID). The program tpm_mkuuid creates one.
For each machine being checked, an AIK is created using tpm_mkaik. The key blob produced is bound to the UUID on its machine using
tpm_loadkey. The public key associated with the AIK is sent to the entities that verify quotes. Finally, the expected PCR composite hash
is obtained using tpm_getpcrhash. When the expected PCR values change, a new hash can be generated with tpm_updatepcrhash.
The program to obtain a quote, and thus measure the current state of the PCRs is tpm_getquote. The program that verifies the quote
describes the same PCR composite hash as was measured initially is tpm_verifyquote.
SEE ALSO
tpm_mkuuid(8), tpm_mkaik(8), tpm_loadkey(8), tpm_unloadkey(8), tpm_getpcrhash(8), tpm_updatepcrhash(8), tpm_getquote(8), tpm_verifyquote(8)
Oct 2010 TPM QUOTE TOOLS(8)