LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2003, 04:22 PM   #1
erikm103
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Rep: Reputation: 0
problem with 'passwd'


hi, I'm having a small problem with my users. When they type passwd the normal prompt comes up but when they enter their password it says incorrect and we have tried multiple number of times so we know they were correct passes.

Anyone have any ideas of why that would not be working?
Could it be wrong permissions on /usr/bin/passwd?

Any help would be greatly appreciated!

Erik
 
Old 03-10-2003, 05:48 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Could you please give the exact error message?
And tell us what exactly your users are doing to
get there?

I've never seen passwd come back with a message
saying "password incorrect" ... for all I know it doesn't
prompt you to enter your old password in the first place.

If the permissions were wrong the program wouldn't run,
bash would come back with an error message like
"permission denied"

Cheers,
Tink
 
Old 03-10-2003, 06:57 PM   #3
erikm103
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Original Poster
Rep: Reputation: 0
aparently when a user enters passwd to change their password it gives them a prompt for the old password which i have always had on my machines, then when they enter their correct password i believe it says
incorrect password
then prompts them again for an old password
 
Old 03-10-2003, 07:37 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
How did you generate the user accounts?
Manually, by editing passwd?
If this is so, and you didn't add them to
shadow, this would result in the behaviour you
described since the shadow password suite
is used in Slack by default, but if you manually
add the guys there's no match in shadow, so
any password they enter would be wrong...

Cheers,
Tink
 
Old 03-10-2003, 08:59 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Is there more than one machine involved here?
 
Old 03-11-2003, 12:54 AM   #6
erikm103
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Original Poster
Rep: Reputation: 0
i used
# adduser 'user name'
to generate the accounts.
does that not include shadow in it?
 
Old 03-11-2003, 12:56 AM   #7
erikm103
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Original Poster
Rep: Reputation: 0
there is my machine (server) and people sshing in trying to change their user account passwords on my machine.
 
Old 03-11-2003, 01:14 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Very odd ...

Must be specific to your installation?

Cheers,
Tink
 
Old 03-11-2003, 02:49 AM   #9
erikm103
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Original Poster
Rep: Reputation: 0
fixed it with a simple:
# chmod +s /usr/bin/passwd

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
passwd shadow problem rblampain Linux - Distributions 2 10-04-2005 01:00 AM
fedora passwd locking problem derlien Fedora 0 09-12-2004 11:09 AM
MySQL New Install... PASSWD problem ryancoolest Linux - Newbie 2 07-28-2004 10:01 PM
passwd problem shoki_neu Linux - Software 0 05-28-2004 08:07 PM
Expect: trivial problem with passwd mallouk Programming 2 05-19-2004 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration