[Freeipa-users] user account without password

Alexander Frolushkin Alexander.Frolushkin at megafon.ru
Fri Apr 10 10:44:27 UTC 2015


-----Original Message-----
From: Martin Kosek [mailto:mkosek at redhat.com]
Sent: Friday, April 10, 2015 1:21 PM
To: Alexander Frolushkin (SIB); freeipa-users at redhat.com
Subject: Re: [Freeipa-users] user account without password

>On 04/10/2015 06:36 AM, Alexander Frolushkin wrote:
>> Hello!
>> Is there any direct or indirect way to create a IPA user accounts without usable password?
>> So, no one can ever authenticate this accounts using the account password (so it will be the only way to use account via "sudo su - username" from another account)?

>You can simply create a user without Kerberos password assigned (do not use --password option or "ipa passwd" command) and use "--shell /sbin/nologin" as other system accounts that are usually found on the system.

Thank you, I hope this will work as blank root password in default Ubuntu :)
Some notes - I think /sbin/nologin will make this account completely non-interactive, even via sudo.
Also, if such account will also exist locally (my case), it will not be controlled by HBAC rules - it can be a some kind of security trap...


________________________________

Информация в этом сообщении предназначена исключительно для конкретных лиц, которым она адресована. В сообщении может содержаться конфиденциальная информация, которая не может быть раскрыта или использована кем-либо, кроме адресатов. Если вы не адресат этого сообщения, то использование, переадресация, копирование или распространение содержания сообщения или его части незаконно и запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем содержимым само сообщение и любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. The contents may not be disclosed or used by anyone other than the addressee. If you are not the intended recipient(s), any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you have received this communication in error please notify us immediately by responding to this email and then delete the e-mail and all attachments and any copies thereof.

(c)20mf50




More information about the Freeipa-users mailing list