Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Using the encrypted password of the shadow file Post 302818391 by Corona688 on Friday 7th of June 2013 12:21:35 PM
Old 06-07-2013
Quote:
Originally Posted by SkySmart
yeah file permission setting is completely out of the equation since everyone has root here.
If everyone has root, you are -- to put it delicately -- screwed. You cannot prevent root from being root.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

netrc file encrypted password

Hi, I do not want the plaintext password to appear in the netrc file. So I want to encrypt the password. Is there a way to encrypt the password and still make ftp to use the netrc ? Thanks in advance. -Gow:confused: (2 Replies)
Discussion started by: ggowrish
2 Replies

2. Shell Programming and Scripting

I want to append password in /etc/shadow file

Hi, I want to append password into /etc/shadow file using a shell script. My below script does add the users to both /etc/passwd and /etc/shadow but how can I add the hordcoded passwords to /etc/shadow file can some one help me ? # To add the groups into /etc/group file for a_user... (5 Replies)
Discussion started by: modgil
5 Replies

3. UNIX for Dummies Questions & Answers

shadow file after a password reset

hi, I had to reset a lost root password by editing the /etc/passwd and /etc/shadow files ( this is a xen vm file, so i mounted and chrooted the file ) after the reboot with an empty password on root , i have set a new password with passwd but it only changed the /etc/passwd file.... (0 Replies)
Discussion started by: progressdll
0 Replies

4. Linux

Interpreting the encrypted shadow password?

We are currently using a script to copy the same encrypted password between our HP-UX and Solaris servers editing the trusted and shadow files directly. The encrypted password is only 13 characters long on both servers and decrypts the same way. Is there a way to copy this same string to Linux... (5 Replies)
Discussion started by: keelba
5 Replies

5. UNIX for Dummies Questions & Answers

How to : Identify the the password is encrypted or not in /etc/shadow or /etc/passwd?

Thanks AVKlinux (11 Replies)
Discussion started by: avklinux
11 Replies

6. Solaris

Password Recovery From /etc/shadow file

Is it possible to reset a normal user password , by editing password field in /etc/shadow file? Thanks (6 Replies)
Discussion started by: ksvaisakh
6 Replies

7. UNIX for Advanced & Expert Users

/etc/shadow encrypted password

Hi I wonder whether is possible to generate enrypted passwd for some user and paste it into /etc/shadow file ? What kind of encryption is used in /etc/shadow file ? ths for help. (1 Reply)
Discussion started by: presul
1 Replies

8. Red Hat

Shadow file password policy

Today i was going through some of security guides written on linux . Under shadow file security following points were mentioned. 1)The encrypted password stored under /etc/shadow file should have more than 14-25 characters. 2)Usernames in shadow file must satisfy to all the same rules as... (14 Replies)
Discussion started by: pinga123
14 Replies

9. Shell Programming and Scripting

how to remove the non : characters after the password in shadow file?

On SPARC Solaris 10. I set the app account so it's expired. I also want it so not required to change password at first login, I can do this by removing the numbers after the password in /etc/shadow. example using user1 The /etc/shadow file looks like this: user1:kOmcVXAImRTAY:0::::90:: ... (8 Replies)
Discussion started by: TKD
8 Replies

10. Shell Programming and Scripting

Replace encrypted password in /etc/shadow using sed

Hello friends, We have encrypted password strings for all of our users (each user has different password). After creating users in Linux, we replace encrypted passwords manually on /etc/shadow so that their passwords directly work. Instead we want to do it using scripting. I tried with sed... (2 Replies)
Discussion started by: prvnrk
2 Replies
nlspath(4)						     Kernel Interfaces Manual							nlspath(4)

NAME
nlspath - NLSPATH configuration file DESCRIPTION
The file allows the superuser to restrict the paths set by others through an environment variable to locate message catalogs for or root programs. This file contains only one entry with the following format: pseudo-pathnames in this file should be absolute pathnames and must be separated by a colon. The paths which are available both in the configuration file and environment variable are considered to locate message catalog files. The file should not be edited directly. Instead, the command should be used to modify the contents of this file. See chnlspath(1M) for details. If contains the file is in compatibility mode. In this case, all and root programs use the environment variable directly to locate message catalogs. This configuration file is supported only to provide backward compatibility for those or root programs which are depending on the environment variable New or root programs should not depend on the environment variable and configuration file EXAMPLES
An entry in this file would typically look like: WARNINGS
The configuration file must be root owned and there should not be write permission set for group and others. Superuser should not provide write permission for group and others for the paths mentioned in the configuration file. is provided only for compatibility with existing or root applications that make use of relative pathnames while invoking catopen(3C). New or root applications must use absolute pathnames while invoking catopen(3C). This file is to be obsoleted at a future date. FILES
SEE ALSO
catopen(3C), chnlspath(1M), environ(5). TO BE OBSOLETED nlspath(4)
All times are GMT -4. The time now is 08:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy