Sponsored Content
Full Discussion: SSH - Prompting for password
Top Forums UNIX for Advanced & Expert Users SSH - Prompting for password Post 79168 by blowtorch on Tuesday 26th of July 2005 04:16:30 AM
Old 07-26-2005
BTW, ssh will not work if permissions on the files are not restricted to the owner (read only for group/others will not work).
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sftp prompting for password

I have the problem with SFTP; BELOW IS the entry from my ssh_config file It's prompting me for password all the time when using SFTP. pLEASE help. (1 Reply)
Discussion started by: dsravan
1 Replies

2. Programming

ssh via java prompting for password

Hi, I have set up my remote server for password-less login via ssh. If I run the command on my server - ssh user@remoteserver "ls -l" I get an output, but when I try to do this via java String sCmd = new String{"/usr/bin/ssh", " user@remoteserver", "\"ls -l\""}; Process p =... (3 Replies)
Discussion started by: nrworld
3 Replies

3. UNIX for Advanced & Expert Users

scp without prompting for password

I am trying to copy a file from remote machine using scp. I followed the steps to configure public/private key usage. But still prompting for password when I do ssh. I did the following steps to configure scp without asking password Step 1 : local host > ssh-keygen -t rsa and when prompted... (9 Replies)
Discussion started by: satish@123
9 Replies

4. Red Hat

prompting for passwords even i configured ssh password less authentication

There are two servers : 1. Site 2. Testing from site server i want to connect testing server with ssh password less authentication. i generated public and private keys with ssh-keygen -t rsa on site server. cat id_rsa >> authorized_keys cat id_rsa.pub >> authorized_keys i... (15 Replies)
Discussion started by: rehantayyab82
15 Replies

5. UNIX for Dummies Questions & Answers

[SSH-RSA] Still prompting for password after generating keys

Hello, I'm trying to perform these operations without entering any password, as user "fzd":fzd@machine1> scp /tmp/srcFile1 fzd@machine2:/tmp/$destFile fzd@machine1> scp fzd@machine2:/tmp/$srcFile /tmp/$destFilebut alsofzd@machine1> scp /tmp/srcFile1 machine2:/tmp/$destFile fzd@machine1> scp... (6 Replies)
Discussion started by: fzd
6 Replies

6. Shell Programming and Scripting

Prompting for password

Hi, I have SVN installed in my UNIX solaris server. I actually automated the process that downloads code from SVN server to UNIX solaris server in script. When i run the script, its asking for password to download every element. Its really difficult to type password for every element when... (3 Replies)
Discussion started by: gthangav
3 Replies

7. Shell Programming and Scripting

Ssh is prompting for password

Hi, When i am trying to connect to other server using ssh coomand, it is prompting for password. But i want to hardcode it with username so that it should not prompt for password. And i dont want to use "ssh-keygen" method as it is not allowed. Please help me. Regards, Mukta (7 Replies)
Discussion started by: Mukta
7 Replies

8. Shell Programming and Scripting

SFTP prompting for password even though password is in script

Hi All, I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup. I am working on Solaris 10. Here is the code. #!/bin/ksh # sample automatic Sftp script to dump a file USER="user1" PASSWORD="pass1" HOST="host1" sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies

9. UNIX for Dummies Questions & Answers

SFTP without prompting password

Dear unix experts, i have a requirement as below. i need to use SFTP as FTP. ftp -n -v << ENDFTP open test_ftp.server user ftp_user_name ftp_password quit ENDFTP if i use this in a shell script, it's not asking for password. But i want the similar thing achived using... (5 Replies)
Discussion started by: AraR87
5 Replies

10. Shell Programming and Scripting

Crontab - password prompting

// Red Hat Enterprise Linux Server release 6.7 I wanted to pass the password, but when I execute this cron, it stops at Password: prompt. Please advise on how to fix the error. Thank you for tour help in advance. #!/usr/bin/ksh su - pmserver echo "su - pmserver" cd... (2 Replies)
Discussion started by: Daniel Gate
2 Replies
getacl(1)						      General Commands Manual							 getacl(1)

NAME
getacl - list access control lists (ACLs) for files (JFS File Systems only) SYNOPSIS
file... DESCRIPTION
For each argument that is a regular file, special file, or named pipe, displays the owner, group, and the Access Control List (ACL). For each directory argument, displays the owner, group, and the ACL and/or the default ACL. Only directories contain default ACLs. With the option specified, the filename, owner, group, and the ACL of the file will be displayed. With the option specified, the filename, owner, group, and the default ACL of the file, if it exists, will be displayed. With options not specified, the filename, owner, group, and both the ACL, and the default ACL, if it exists, will be displayed. This command may be executed on a file system that does not support ACLs. It will report the ACL consisting of only the owning user, own- ing group, class and other entries, based on the permission bits. When multiple files are specified on the command line, a blank line will separate the ACL for each file. Options The command recognizes the following options: Displays the filename, owner, group, and the ACL of the specified file. Displays the the filename, owner, group, and the default ACL of the file, if it exists. Operands The command recognizes the following operand: file The file or directory from which retrieves the access control information. ACL Format The format of an ACL is: The first three lines show the filename, the file owner, and the file owning group. Note that when only the option is specified, and the file has no default ACL, only these three lines will be displayed. The entry without a user ID indicates the permissions that will be granted to the owner of the file. One or more additional entries indi- cate the permissions that will be granted to the specified users. The entry without a group identifier indicates the permissions that will be granted to the owning group of the file. One or more additional entries indicate the permissions that will be granted to the specified groups. The entry indicates the permissions that will be granted to others. The entries and may only exist for directories, and indicate the default user, group, and other entries that will be added to a file cre- ated within the directory. The uid is a login name, or a user ID if there is no entry for the uid in the system's password file; gid is a group name, or a group ID if there is no entry for the gid in the system's group file; and perm is a three character string composed of the letters representing the separate discretionary access rights: (read), (write), (execute/search), or the placeholder character The perm will be displayed in the following order: If a permission is not granted by an ACL entry, the placeholder character will appear. The ACL entries will be displayed in the order in which they will be evaluated when an access check is performed. The default ACL entries that may exist on a directory have no effect on access checks. The file owner permission bits represent the access that the owning user ACL entry has. The file group class permission bits represent the most access that any additional user entry, additional group entry, or the owning group entry may grant. The file other permission bits represent the access that the other ACL entry has. If a user invokes the command and changes the file group class permission bits, the access granted by the additional ACL entries may be restricted. In order to indicate that the file group class permission bits restrict an ACL entry, will display, after each affected entry, text in the form , where perm will show only the permissions actually granted. EXAMPLES
Given file with an ACL six entries long, the command would print: Given file with an ACL six entries long, after the command was issued, the command would print: Given directory with an ACL containing default entries, the command would print: Given directory the command would print: NOTICES
The output from will be in the correct format for input to the command. If the output from is redirected to a file, the file may be used as input to In this way, a user may easily assign one file's ACL to another file. FILES
for user IDs for group IDs SEE ALSO
chmod(1), ls(1), setacl(1). acl(2), aclsort(3C). getacl(1)
All times are GMT -4. The time now is 03:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy