Re: changing passwd

2000-11-01 Thread Micah Yoder
Kiran Kumar M wrote: > How can I change the password at the command line itself, > for ex.: passwd > I want to eliminate the confirmation. Something along these lines should do it: usermod -p `perl -e "print crypt('newpasswd', 'XX')"` userlogin replace XX with a relatively random two charact

Re: changing passwd

2000-11-01 Thread David Brett
I though there was away to change someone's passwd and force them to change it the next time they login. What am I missing? david On Wed, 1 Nov 2000, Etienne Larrivee wrote: > Hi Kiran, > > Keep in mind that when passing the password on the command line, people > will be able to see other's

RE: changing passwd

2000-11-01 Thread Steve Anderson
Not an expert, but you can use the --stdin option with passwd to accept piped input and it will not prompt for confirmation, but it will handle encryption, etc. as usual. Try something like the following at the command line for a test: echo "" | passwd --stdin Steve > > > At 5:17 PM +0530

Re: changing passwd

2000-11-01 Thread Kiran Kumar M
Yes, I know, but that will be a fraction of second, and also if one uses history command one can see more than 1000 commands that one typed earlier (by default). But I would like to implement it for different reason. Kiran On Wed, 1 Nov 2000, Etienne Larrivee wrote: > Hi Kiran, > > Keep in mi

Re: changing passwd

2000-11-01 Thread Kiran Kumar M
By using "crypt" and a bit shell script will do the changing. But it is very low encryption policy, but one want to use different encryption policy that support in linux, then one has to find other than crypt Kiran On Wed, 1 Nov 2000, Mike Burger wrote: > That doesn't answer the question...K

Re: changing passwd

2000-11-01 Thread Mikkel L. Ellertson
On Wed, 1 Nov 2000, Kiran Kumar M wrote: > > Hi, > > How can I change the password at the command line itself, > for ex.: passwd > I want to eliminate the confirmation. > > Thanks > Kiran > > You might want to check out the usermod command. The only catch is that you have to encript the

Re: changing passwd

2000-11-01 Thread Etienne Larrivee
Hi Kiran, Keep in mind that when passing the password on the command line, people will be able to see other's password using the ps command (while changing the password). I think it is enough to avoid doing it. Etienne Kiran Kumar M wrote: > Hi, > > How can I change the password at the comma

Re: changing passwd

2000-11-01 Thread Mike Burger
That doesn't answer the question...Kiran appears to want to be able to change a password (I'm assuming another user, and doing it as root) without being asked to confirm the password a second time. On that note, I'll start out by saying that, if it is possible to do, it's dangerous. If you, a

Re: changing passwd

2000-11-01 Thread Charles Galpin
this should get you started http://www.google.com/search?q=expect+passwd hth charles On Wed, 1 Nov 2000, Kiran Kumar M wrote: > > ooops! I know how to change a password in normal way. I want to add some > stuff, I want give the command like > > passwd <--- please not that password is also

Re: changing passwd

2000-11-01 Thread Kiran Kumar M
ooops! I know how to change a password in normal way. I want to add some stuff, I want give the command like passwd <--- please not that password is also at command prompt instead of giving: passwd --- as a root user I think u got the point... kiran On Wed, 1 Nov 2000, Dan

Re: changing passwd

2000-11-01 Thread Dan Horth
if you're changing your own password then just do: passwd if you're logged in as root to change someone else's password do: passwd username and... well... that's about it! :) man passwd may help you too! - dan. At 5:17 PM +0530 1/11/00, Kiran Kumar M wrote: >Hi, > >How can I change the pas

changing passwd

2000-11-01 Thread Kiran Kumar M
Hi, How can I change the password at the command line itself, for ex.: passwd I want to eliminate the confirmation. Thanks Kiran ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Re: PANIC- passwd command not changing passwd

1999-12-01 Thread scott.list
for the stab at it anyway. Scott - Original Message - From: Bernhard Rosenkraenzer <[EMAIL PROTECTED]> To: scott.list <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 1999 2:40 PM Subject: Re: PANIC- passwd command not changing passwd > On Wed, 1

Re: PANIC- passwd command not changing passwd

1999-12-01 Thread Bernhard Rosenkraenzer
On Wed, 1 Dec 1999, scott.list wrote: > I can change a password on an account created with linuxconf, but not > on accounts created with user script from 4.2 box. Seems you're trying to use tools that are not compatible with PAM and shadow passwords on a box that needs them (4.2 didn't have PAM,

Re: PANIC- passwd command not changing passwd

1999-12-01 Thread Brad 'GreyBear' Davis
tt.list <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 1999 11:39 AM Subject: PANIC- passwd command not changing passwd I can change a password on an account created with linuxconf, but not on accounts created with user script from 4.2 box. Password file loo

PANIC- passwd command not changing passwd (solved)

1999-12-01 Thread scott.list
I fixed it. I find that the password field will no longer update with passwd if it is either blank( :: ) or if it has an asterick (:*:). If i change it to say, :nologin:, then passwd works. Humph. All that anxiety for just that. Thanks anyway Scott >> I can change a password on an accou

PANIC- passwd command not changing passwd

1999-12-01 Thread scott.list
I can change a password on an account created with linuxconf, but not on accounts created with user script from 4.2 box.  Password file looks fin.  passwd userid asks for passwd, asks for confirmation, says all authentication tokens updated sucessfully.  But /etc/passwd although time stamp c