Unix Technical Forum

Password eset Without Root Access.

This is a discussion on Password eset Without Root Access. within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, I want to give some people in my company acxcess to reset password rights without root priv. Itried ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 06:45 PM
Biju
 
Posts: n/a
Default Password eset Without Root Access.

Hi,

I want to give some people in my company acxcess to reset password rights
without root priv. Itried to write a small c program with Passwd <username>
in it. Then gave the program sticky bit & changed the owner to root.



Please help. Does anybody knows any method.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 06:45 PM
Brandon Boles
 
Posts: n/a
Default Re: Password eset Without Root Access.

Check out 'sudo':

http://www.courtesan.com/sudo/

It will do what you are talking about.

On Tue, 08 Jul 2003 11:53:02 +0000, Biju wrote:

> Hi,
>
> I want to give some people in my company acxcess to reset password rights
> without root priv. Itried to write a small c program with Passwd <username>
> in it. Then gave the program sticky bit & changed the owner to root.
>
>
>
> Please help. Does anybody knows any method.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 06:45 PM
Ken
 
Posts: n/a
Default Re: Password eset Without Root Access.

"Biju" <bijuvp@optonline.net> wrote in message news:<ygyOa.5158$EC6.2814478@news4.srv.hcvlny.cv.n et>...
> Hi,
>
> I want to give some people in my company acxcess to reset password rights
> without root priv. Itried to write a small c program with Passwd <username>
> in it. Then gave the program sticky bit & changed the owner to root.
>
>
>
> Please help. Does anybody knows any method.


Is this the root passwd or their own passwd? if it's just their
passwd, the can just type in passwd and they can change it when they
wish.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 06:46 PM
Dwivian
 
Posts: n/a
Default Re: Password eset Without Root Access.

"Biju" <bijuvp@optonline.net> wrote in message news:<ygyOa.5158$EC6.2814478@news4.srv.hcvlny.cv.n et>...
> I want to give some people in my company acxcess to reset password rights
> without root priv. Itried to write a small c program with Passwd <username>
> in it. Then gave the program sticky bit & changed the owner to root.


That's somewhat nasty, and a bit of a hack. No wonder you're having
fits with it.

> Please help. Does anybody knows any method.


But of course! And, it is surprising to me that people just don't
know it...

The pwdadm command is a powerful one. Users that execute it will need
to be in group security, and cannot change the passwords of
administrative users (so it is a good idea to flag them all as admins,
or they'll change each others PWs and have juvenile wars....not that I
have any personal experience in this arena, mind you).

The command also can set, or reset, the ADMCHG flag that requires a
user change their password on login.

For a user to run the pwdadm command they need only know their OWN
password, and do not need access to root at all.

I hope this is sufficient to your needs.

-dwiv (CATE/AIX)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-04-2008, 06:46 PM
Scott Doyland
 
Posts: n/a
Default Re: Password eset Without Root Access.

Chris Mattern <syscjm@gwu.edu> wrote in message news:<3F0B31D5.2010108@gwu.edu>...
> Biju wrote:
> > Hi,
> >
> > I want to give some people in my company acxcess to reset password rights
> > without root priv. Itried to write a small c program with Passwd <username>
> > in it. Then gave the program sticky bit & changed the owner to root.
> >
> >
> >
> > Please help. Does anybody knows any method.
> >
> >

> sudo. Get it. Use it. Love it.
>
> Chris Mattern


Use the 'pwdadm' command. The user running this must be in the security group

Scott
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-04-2008, 06:46 PM
Josep Abenza
 
Posts: n/a
Default Re: Password eset Without Root Access.

There are some ways.

The members of some groups - system mainly - have the rights to reset /
change user passwords. Another way is to install in your system 'sudo', an
application that allows you to grant users the right to use certain orders
as another user. I believe it's free software.

See you

"Biju" <bijuvp@optonline.net> escribió en el mensaje
news:ygyOa.5158$EC6.2814478@news4.srv.hcvlny.cv.ne t...
> Hi,
>
> I want to give some people in my company acxcess to reset password rights
> without root priv. Itried to write a small c program with Passwd

<username>
> in it. Then gave the program sticky bit & changed the owner to root.
>
>
>
> Please help. Does anybody knows any method.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com