|
|
Subject: Re: Chpasswd Solution? - msg#00004
List: os.solaris.opensolaris.help
* Matthew Alton <Simplicissimus-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
[2006-03-30 18:06]:
> Hiya folks,
>
> I routinely use a utility called "chpasswd" on AIX and Red Hat Linux.
> I sure would like to use this utility on Solaris but it does not exist
> and I can't seem to find a reasonable alternative. I'll write the
> danged thing if I have to. Do I have to? Enquiring minds want to
> know.
>
> Here the spec. Syntax: chpasswd [ -e | -h ]. Pretty simple stuff in
> theory. The "e" switch tells the program that we are passing it an
> already encrypted password, so use it verbatim, otherwise we use
> crypt(3) on "password." The "h" switch get you the usage blurb. The
> program simply reads "username:password" pairs from stdin and changes
> the system password of "username" to "password" of all things. The
> glory of the thing is that it is scriptable so you can do cute things
> like "cat foo.txt | chpasswd" and no, it won't work with "passwd"
> because that program makes sure you're not piping to it. I'm truly
> not interested in PAM and NIS. If I write this thing, it's going to
> lock and alter /etc/passwd and /etc/shadow and call it a day. No root
> UID? Whine & fail. Frankly, I find PAM somewhat less than
> comprehensible.
>
> I've found the "shadow" stuff and the CGIpaf and a few others. These
> will provide reference material but not much else. Is there a true
> chpasswd for Solaris?
>
> I'm going to write the thing, amn't I? Well, when I do, I'll post it
> here. That'll do some good, right?
As far as I know, we don't have chpasswd in OpenSolaris. The
PAM/passwd folks will definitely know--they will be listening in the
Security community, if they aren't watching here.
You can also submit a bug to the bug database, so that the whole
community. See
http://bugs.opensolaris.org
(You must be a registered user to submit a bug.)
- Stephen
--
Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
stephen.hahn-xsfywfwIY+M@xxxxxxxxxxxxxxxx http://blogs.sun.com/sch/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: libdlpi - 64-bit version
On Thu, 2006-03-30 at 00:55 -0800, Andrew Rybchenko wrote:
> I'm using OpenSolaris Express (snv_33) for x86. I need 64-bit version of
> libdlpi for my 64-bit application. I've failed to find it in /usr/lib/amd64.
> May be my installation is not full? How can I check it? If it is not
> provided, where can I get sources and short instructions how to build the
> package in accordance with OpenSolaris conventions.
Hi Andrew,
64-bit version of libdlpi is not available. libdlpi is a Consolidation
project library therefore should be used only for applications inside
the ON consolidation. It would help to know what application you need
the 64-bit version of libdlpi for?
However, libdlpi is being provided as a public library in the near
future and the 64-bit version will be available at that time. If you are
interested to know more about the work-in-progress of libdlpi, you can
find the documents and proposed API's at:
http://www.opensolaris.org/os/project/clearview/libdlpi/
-Sagun
Next Message by Date:
click to view message preview
any way to get the vesa driver to display more than 1024x768?
i'm having troubles getting opensolaris (b36) to work on a toshiba satellite
a100-155 laptop with an ati x1600 video card.
as far as i can see there's no driver for this video card, anyway since i'm not
interested in graphic are acceleration or other stuff, the generic vesa driver
would be good too for me.
anyway it seems that by using the generic vesa driver, i can't have resolutions
greater than 1024x768... since my lcd is a wide 15.4" 1280x800, this results in
an ugly display resizing which causes the fonts to look like "out-of-focus" and
the overall display to have the wrong aspect ratio.
Is there a way to get a 1280x800 resolution by using the vesa driver?
If not, how can i get it?
(i tried with bot Xsun and Xorg but i got the same result, i also tried other
drivers than the vesa one, but they just hang)
This message posted from opensolaris.org
Previous Message by Thread:
click to view message preview
Re: libdlpi - 64-bit version
On Thu, 2006-03-30 at 00:55 -0800, Andrew Rybchenko wrote:
> I'm using OpenSolaris Express (snv_33) for x86. I need 64-bit version of
> libdlpi for my 64-bit application. I've failed to find it in /usr/lib/amd64.
> May be my installation is not full? How can I check it? If it is not
> provided, where can I get sources and short instructions how to build the
> package in accordance with OpenSolaris conventions.
Hi Andrew,
64-bit version of libdlpi is not available. libdlpi is a Consolidation
project library therefore should be used only for applications inside
the ON consolidation. It would help to know what application you need
the 64-bit version of libdlpi for?
However, libdlpi is being provided as a public library in the near
future and the 64-bit version will be available at that time. If you are
interested to know more about the work-in-progress of libdlpi, you can
find the documents and proposed API's at:
http://www.opensolaris.org/os/project/clearview/libdlpi/
-Sagun
Next Message by Thread:
click to view message preview
any way to get the vesa driver to display more than 1024x768?
i'm having troubles getting opensolaris (b36) to work on a toshiba satellite
a100-155 laptop with an ati x1600 video card.
as far as i can see there's no driver for this video card, anyway since i'm not
interested in graphic are acceleration or other stuff, the generic vesa driver
would be good too for me.
anyway it seems that by using the generic vesa driver, i can't have resolutions
greater than 1024x768... since my lcd is a wide 15.4" 1280x800, this results in
an ugly display resizing which causes the fonts to look like "out-of-focus" and
the overall display to have the wrong aspect ratio.
Is there a way to get a 1280x800 resolution by using the vesa driver?
If not, how can i get it?
(i tried with bot Xsun and Xorg but i got the same result, i also tried other
drivers than the vesa one, but they just hang)
This message posted from opensolaris.org
|
|