Operating System - HP-UX
1819684 Members
3435 Online
109605 Solutions
New Discussion

The “/etc/shadow” file

 
kacou
Regular Advisor

The “/etc/shadow” file

The “/etc/shadow” file does not exist in my hp-ux server. Is it normal or not? then what can i do to find it?
10 REPLIES 10
Jeeshan
Honored Contributor

Re: The “/etc/shadow” file

Hi

If you convert the the shadow file you can able to get the /etc/shadow file.The process is, just run the command

#pwconv

then your shadow file will create.

If you have the /etc/shadow file, it means you have enable shadow file.
a warrior never quits
skt_skt
Honored Contributor

Re: The “/etc/shadow” file

is your system truster? Do you have /tcb/files/auth directory structure ?
Aleksandar Mitsev
New Member

Re: The “/etc/shadow” file

It's normal for /etc/shadow to not exist.
If it's not there you can't find it :)

It maybe that you are using hp-ux server in trusted mode.(it uses files stored under /tcb/files/)



kacou
Regular Advisor

Re: The “/etc/shadow” file

what does ''system truster'' mean? and what is the advantages?
Steven E. Protter
Exalted Contributor

Re: The “/etc/shadow” file

Shalom,

Shadow Password is available from http://software.hp.com for versions of HP-UX above version 11.11 inclusive.

/etc/shadows is not part of the standard HP-UX installation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
marvik
Regular Advisor

Re: The “/etc/shadow” file

Hi ,

Normally in HP-UX either you have a trusted or Non-trusted server.
the /etc/passwd file looks like below in a trusted server

james:*:107:102:normal user:/home/james:/bin/ksh
Besides, it keeps all user information in /tcb/files/auth/j/james file

Incase of an untrusted server it is like

james:O2G4wBIu0vfIA:107:102:normal user:/home/james:/bin/ksh.

So basically the task of a shadow file is met by a trusted box.I dont see a need for a shadow file beyond that.

Hope that helps

Marvik
Steven Schweda
Honored Contributor

Re: The “/etc/shadow” file

Once again. "man" might have helped.

"man -k shadow":
[...]
pwconv(1M) - install, update or check the /etc/shadow file


Just a thought.
Tingli
Esteemed Contributor

Re: The “/etc/shadow” file

If the system is already in trusted mode, then it won't let you set up an /etc/shadow file.
kacou
Regular Advisor

Re: The “/etc/shadow” file

do you have solutions?
Fabien GUTIERREZ
Frequent Advisor

Re: The “/etc/shadow” file

if you re using hpux 11.11 or lower you must download freely from software.hp.com shadow passwords
if you are using 11.23 or higher it's already installed
to switch to shadow mode pwconv to get back to traditional passwd pwunconv