Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Password Less Authentication not Working After Giving Full Permission Post 303033179 by Shubham1182 on Monday 1st of April 2019 06:47:13 AM
Old 04-01-2019
Password Less Authentication not Working After Giving Full Permission

Hello Team,
Please help me to solve my Problem,
By mistake, I give full permission to /(root) directory. by using the following command "chmod -R 777 /"
after this, the client asks for the password to login via ssh. Before that, I an able to Login without a password.
Please help me to retrieve changes.
Thank you.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Giving write permission to multiple directories

Hi, i am having following directory structure Folder1 -> Folder2 -> Folder3 Folder4 Folder5 Now i am at top level and want to assign write permission to all the folder & files in it. i am... (3 Replies)
Discussion started by: sarbjit
3 Replies

2. Shell Programming and Scripting

how to run the script without giving the password.

Hi all, I need some help in my script... I need to login into multiple servers from one Unix box and need to login as a superuser account and then I need to perform some actions on the server. For this, i'll use for loop to provide the server names to the script, but for every login as a... (8 Replies)
Discussion started by: raghu.iv85
8 Replies

3. Shell Programming and Scripting

FTP Files should get full permission

Hi All, Could any one please help me in performing the following? We have the following folder: /home/test/proj1 /home/test/proj2 /home/test/proj3 Users from different country places files in this folder using FTP (These users uses different flavors of FTP tools). Our... (1 Reply)
Discussion started by: vfrg
1 Replies

4. Shell Programming and Scripting

How to create a file with full permission in unix script

In my script, I am creating a file ----> then writting one line (i.e. Timestamp) ----> then FTP'ing. The same script can be executed by many other users. While other users executing this script, they couldn't Over write this one line (i.e. Timestamp) My expectation So I wanted to create a... (2 Replies)
Discussion started by: sbmk_design
2 Replies

5. Shell Programming and Scripting

How to execute a script without giving x permission to the file?

How to execute a script with out giving x permission to the file? (7 Replies)
Discussion started by: praveen_b744
7 Replies

6. Shell Programming and Scripting

Executing expect script giving message as bad interpreter: Permission denied

Hi Gurus, I am new to scripting and needs your help in expect script used for telnet. I wrote a simple script as #!/usr/bin/expect-5.43 -f spawn telnet localhost 2233 expect "password:" send "secret\r" send "i data.cnbc.com\r" send "exit\r" expect eof When I am trying to execute... (2 Replies)
Discussion started by: niks_yv
2 Replies

7. Shell Programming and Scripting

Password-less RSA Authentication not working

Hello Friends, I know this issue has been raised many times and hence I tried every resolution provided in the forum before I posted this issue again. My Password-less RSA authentication was working fine for quite some time. Whenever the remote server password used to change I used to re-do... (5 Replies)
Discussion started by: mehimadri
5 Replies

8. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

9. Solaris

How to give full permission to a directory?

Hi, I have enabled the Apache webserver on my machime. Apache root directory is /etc/apache2 and the user in which the web server is configured is webservd,I guess. I have another user called perf. Under perf user there is /export/home/perf/v9 directory. I want to give the OS user of... (3 Replies)
Discussion started by: bikas89
3 Replies

10. Solaris

Read Only Permission after the space is full.

Hi, Is there any chance that a file system that mounted on the server becomes read only when the space in that file system becomes full? Regards, Sreejith (9 Replies)
Discussion started by: Sreejith K
9 Replies
passwd(5)							File Formats Manual							 passwd(5)

Name
       passwd - password file

Description
       The file is an ASCII file that contains the following information for each user:

	      Login name
	      Password field
	      User ID
	      Group ID
	      User's real name, office, extension, home phone
	      Initial working directory
	      Program to use as Shell

       Each  line  in the file represents a user entry.  Each field within a user entry is separated from the next by a colon.	Each user entry is
       separated from the next by a new line.  If the password field is null, no password is demanded; if the Shell field is null, then is used.

       This file resides in directory Because the password, if present, is encrypted, the file has general read permission and can  be	used,  for
       example, to map user IDs to names.

       The  ``user's  real name'' can contain an ampersand (&), meaning insert the login name.	This information is set by the command and used by
       the command.

       Appropriate precautions must be taken to lock the file against changes if it is to be edited with a text editor.  The command does the nec-
       essary locking.

       If  the system is running UPGRADE security level and an asterisk appears in the password field, or if the system is running ENHANCED level,
       then the content of the password field is ignored and the password for the account is located in the authentication database. See  and  the
       Security Guide for Administrators for more information.

       The  files  and	if they exist, contain the hashed version of the file.	If present, they are used by the and functions to retrieve entries
       rapidly.  See for more information.

       The database can be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod.  See the Guide to the  Yellow  Pages
       Service or the Guide to the BIND/Hesiod Service for setup information.

Restrictions
       The ``name'' can contain only lowercase ASCII characters a to z and the numbers 0 to 9.

Files
See Also
       chfn(1), finger(1), login(1), passwd(1), crypt(3), getpwent(3), auth(5), group(5), adduser(8), mkpasswd(8), vipw(8)
       Guide to the BIND/Hesiod Service
       Guide to the Yellow Pages Service
       Security Guide for Administrators

																	 passwd(5)
All times are GMT -4. The time now is 02:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy