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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| 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. |
| |||
| "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. |
| |||
| "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) |
| |||
| 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 |
| ||||
| 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. > > |