Locking shadow (WAS: Re: 2 anaconda problems on Alpha platform/Debugging?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/13/2007 09:24 PM, Oliver Falk wrote:
> Oliver Falk schrieb:
>> Oliver Falk schrieb:
>>> On 11/07/2007 11:41 PM, Chris Lumens wrote:
>>> [ ... ]
>>>> What version of anaconda and pykickstart do you have installed?
>>> [root@gosa ~]# rpm -q anaconda pykickstart
>>> anaconda-11.3.0.50-2axp
>>> pykickstart-1.19-1.fc8
[ ... ]
>> OK guys.... This is the traceback. The function setpassUser seems to
>> come from libusermode.so (libuser-python). Does this make sense to anyone?
> 
> OK. If I take out the bits from users.py:
> import libuser
> class Users:
>     def __init__ (self):
>         self.admin = libuser.admin()
>     def setRootPassword(self, password):
>         rootUser = self.admin.lookupUserByName("root")
>         self.admin.setpassUser(rootUser, password, True)
>         self.admin.modifyUser(rootUser)
> u = Users()
> u.setRootPassword('adsf');

Now I've located the *real* problem:
open("/etc/shadow-", O_WRONLY|O_CREAT, 0100400) = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=1190, ...}) = 0
write(4, NULL, 0)                       = 0
fcntl(4, F_SETLK, {type=0x3 /* F_??? */, whence=SEEK_SET, start=0,
len=0}) = -1 EINVAL (Invalid argument)
close(4)                                = 0

ideas?

-of

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux