Hai, I there any system specific setting in Linux/Unix which prevents switching to an arbit user (as root ) ?
Wouldn't this system specific setting be helpful if a programmer were to develop a software which contained an application which performed on similar lines of the passwd program ? Regards, Anup Narayanan On Saturday 29 September 2001 18:38, Shridhar Daithankar wrote: > On Friday 28 September 2001 19:14, you wrote: > > is executed it executes itself with root privileges,so what exactly > > prevents the non-root user from changing other users' passwords. > > Yes it's a set uid program. But there are checks put in the program so that > only root can change any users passwd. > > The reason is that you can not switch as arbit user unless you are root. I > think it would be very convinient if I can supply some credentials to do > that. I was bitten by this bug where I had to make my program set uid root > which I didn't want to do. There should be some interface to do that. > > Shridhar > > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
