| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Pages: (2) [1] 2 ( Go to first unread post ) | ![]() ![]() ![]() |
| fishsponge |
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
As i'm now running Solaris 9, i'd like to enable passwords that are longer than 8 chars... so i can use NIS properly (my NIS server is debian linux, u see, and it's serving MD5-encrypted passwords, which Solaris doesn't use by default).
how do i enable it? i had a problem in Solaris 8, because the MD5 module didn't even exist, but i'm told it exists in Solaris 9, i just have to enable it... any ideas how?? |
| fishsponge |
Posted: Feb 24 2003, 05:22 PM
|
||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
ahha... i've found something:
http://docs.sun.com/db/doc/816-7173/6md6rl...is+9+md5&a=view
therefore... this feature is available in the 12/02 release of Solaris 9... but i have the 9/02 release... looks like i need an upgrade! Does anyone know if it's possible to install the necessary packages instead of upgrading my entire OS?? |
||
| sleazyrob |
Posted: Feb 24 2003, 09:56 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 66 Member No.: 8 Joined: 17-February 03 |
Aye it is, just look on the CDROM in the "Product" directory, and you'll see the pkgs that can be added with pkgadd.
Because of dependencies you'll probably end up installing the lot anyway so the simplest way is just to let the installer do its upgrade business. If you can't get the real CDROM, you can grab the CDROM images as ISOs internally, and (probably - cant be arsed to check the version) from the sun.com/download website... you can mount them as follows so you don't actually have to burn a copy > lofiadm /var/tmp/myisofile.iso /dev/lofi/1 > mount -F hsfs -o ro /dev/lofi/1 /mnt/point |
| fishsponge |
Posted: Feb 24 2003, 11:18 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
look on what CD-ROM? The Solaris 9 12/02 release i presume...... right?
|
| fishsponge |
Posted: Feb 25 2003, 03:25 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
i'm gonna try something else.... a good person on the sunmanagers list has advised me to install patch 113475-02 (for the crypt modules) and 112874-09 (libc) for '/etc/security/crypt.conf'.
However... this only gives client-side support for the passwords... it doesn't give support for changing passwords, so i'm investigating this further now... |
| sleazyrob |
Posted: Feb 25 2003, 04:23 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 66 Member No.: 8 Joined: 17-February 03 |
The internal patchdesc says you'll need the following too if you want to change passwords etc:
(note that the part after the - is the version) 112874-06 (or newer) libc 113476-01 (or newer) passwdutil.so.1 113480-01 (or newer) pam_unix Patch 113481-01 (or newer) nispasswdd 113482-01 (or newer) sbin/sulogin 113483-01 (or newer) rpc.yppasswdd |
| fishsponge |
Posted: Feb 25 2003, 05:12 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
ah, ok... so i now know i need to install:
113475-02 112874-09 112874-06 113476-01 113480-01 113481-01 113482-01 113483-01 this list is getting bigger.... lol. i already knew about the <patchno>-<version> format, but thanks nevertheless :D I assume the 'nispasswdd' patch allows me to change my password, even if it's being served by my NIS server and not held locally, right? cool! B) |
| fishsponge |
Posted: Feb 27 2003, 11:53 AM
|
||||||||||||||||||||||||||||||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
ok, i've decided to work around this by installing Solaris 9 12/02 instead - this has support by default, so i won't need to mess around with packages and patches.
however, FYI - here's a conversation i had with Casper from the SunManagers mailing list:
i hope this helps for the future!! |
||||||||||||||||||||||||||||||
| fishsponge |
Posted: Mar 6 2003, 02:00 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
ok, i now have Solaris 9 12/02 installed... and while it might be using MD5 passwords, it's still only allowing 8 chars. This suggests that it's still stuck to the old passwords by default, so who know how i can enable MD5?
I have the 12/02 release, and according to Sun's web site, MD5 is available in this release... i just don't know how to enable it... Any ideas?? |
| sleazyrob |
Posted: Mar 6 2003, 02:16 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 66 Member No.: 8 Joined: 17-February 03 |
The man pages for crypt.conf and policy.conf explains it pretty well...
|
| fishsponge |
Posted: Mar 6 2003, 02:43 PM
|
||||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
ok... thanks for that... i took a look at the man page, but i'm slightly confused. i have an idea, but not necessarily a correct one. My current '/etc/security/crypt.conf' contains the following:
and as i understand it, it's currently using __unix__ as it's encryption method... or is it using "crypt_bsdmd5.so.1"?? i can't work it out. The man page gives the following example:
...but i can't work out exactly what changes i need to make in order to get it working... any suggestions? |
||||
| fishsponge |
Posted: Mar 6 2003, 03:08 PM
|
||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
i forgot to look in policy.conf... Casper replied again and said:
so i changed it, and i'm now testing it.................................... it appears to work at the moment, but i'm not sure if it'll work when i hook it up to my linux NIS server... i'll check that when i get home. |
||
| fishsponge |
Posted: Mar 6 2003, 04:09 PM
|
||||||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
well... it won't work when i get it home... i found a problem. On Solaris, a line from '/etc/shadow' looks like:
and on Linux, the equivalent line looks like this:
so, as you can see... the specified encryption methods are different... $md5$ vs $1$. I therefore need to change '/etc/security/policy.conf' to say the following instead:
This makes the password encryption compatible with linux according to Casper... the most helpful guy i know! |
||||||
| bsdaemon |
Posted: Mar 6 2003, 06:09 PM
|
|
User Level: 2 ![]() ![]() Group: Members Posts: 13 Member No.: 24 Joined: 4-March 03 |
Fishsponge--
Just an aside. I was reading through this thread, and came across this: i'm currently unable to export my DISPLAY from home to work (cos i SSH into my gateway, and then SSH into my Solaris box, so the X-Tunelling gets broken) I do this to access my boxes via SSH: running ipfw + natd on the gateway box, so I have natd forward high-humbered (unpriveleged) ports to port 22 on the LAN boxes, ie redirect_port tcp 10.0.0.2:22 22002 redirect_port tcp 10.0.0.3:22 22003 ... That way, I can ssh directly into the gateway (port 22 still listening normally) or directly into the LAN boxes. This type of setup would enable you to utilize X/ssh tunneling [I think]. HTH |
| bsdaemon |
Posted: Mar 7 2003, 06:26 AM
|
|
User Level: 2 ![]() ![]() Group: Members Posts: 13 Member No.: 24 Joined: 4-March 03 |
Doh! I'll figure this out eventually...Sorry, wrong board!
|
Pages:
(2) [1] 2 |
![]() ![]() ![]() |