Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-10-2008, 02:22 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 9

Rep: Reputation: 0
How to Change Password of Domain User on Ubuntu Box

Hi to All,

I have created a Linux Box (Ubuntu) where domain users of Active Directory can log in. I have successfully login the domain accounts and I'm trying to change password of a domain user.

DOMAIN\admin@sampledesktop:~$ passwd
passwd: User not known to the underlying authentication module
passwd: password unchanged

Please see below some PAM config.

password requisite nullok obscure md5
password required nullok use_authtok try_first_pass

auth required /lib/security/
auth sufficient /lib/security/ likeauth nullok
auth sufficient /lib/security/ use_first_pass
auth required /lib/security/

account required /lib/security/ broken_shadow
account sufficient /lib/security/
account sufficient /lib/security/ uid < 100 quiet
account [default=bad success=ok user_unknown=ignore] /lib/security/
account required /lib/security/

password requisite /lib/security/ retry=3
password sufficient /lib/security/ nullok use_authtok md5 shadow
password sufficient /lib/security/ use_authtok
password required /lib/security/
session required /lib/security/
session required /lib/security/

auth optional /lib/security/ migrate

I'm hoping someone can help me to find a solution to thing.

That's all.
Old 06-10-2008, 08:14 AM   #2
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
sudo passwd (user name)
Old 06-11-2008, 04:38 AM   #3
LQ Newbie
Registered: Apr 2008
Posts: 9

Original Poster
Rep: Reputation: 0
A, ok thanks. However, I've encountered some problems on using sudo for domain users. Although I've inserted the domain group on visudo, system return a message, not in the sudoer file. Before this, I also have error on listing domain user / group (wbinfo -u /-g), saying error listing on domain users /groups.

Is it a prerequisite to have a successful listing of domain user /group although it's successful to connect on domain users on my ubuntu desktop? or it just a wrong contents on /etc/pam.d/sudo?

/etc/pam.d/sudo entries:
auth sufficient
auth sufficient nullok_secure use_first_pass
auth required
@include common-account

I hope you could help me with this. Thanks.


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
samba(global security=user) useful tools for client.ex: user change password. hocheetiong Linux - Newbie 1 03-18-2008 10:20 AM
change samba domain password success2be Linux - Networking 1 10-21-2006 02:14 AM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 10:59 AM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 08:07 AM
Change user@host.domain to user@domain Wynand1 Linux - Networking 7 09-14-2004 12:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 AM.

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