pub struct KanidmPersonPosixAttributes {
pub gidnumber: Option<u32>,
pub loginshell: Option<String>,
}Expand description
Kanidm has features that enable its accounts and groups to be consumed on POSIX-like machines, such as Linux, FreeBSD or others. Both service accounts and person accounts can be used on POSIX systems.
The attributes defined here are set by the operator. If you want to manage those attributes from the database, do not set them here. Additionally, if you unset them here, they will be kept in the database.
Fields§
§gidnumber: Option<u32>The group ID number (GID) for the person account. In Kanidm there is no difference between a UID and a GID number.
If omitted, Kanidm will generate it automatically.
More info: https://kanidm.github.io/kanidm/stable/accounts/posix_accounts_and_groups.html#uid-and-gid-numbers
loginshell: Option<String>The login shell for the person account.
This sets the default shell that will be used when the user logs in via SSH or other mechanisms that require a shell. Common values include /bin/bash, /bin/zsh, /bin/sh.
Trait Implementations§
Source§impl Clone for KanidmPersonPosixAttributes
impl Clone for KanidmPersonPosixAttributes
Source§fn clone(&self) -> KanidmPersonPosixAttributes
fn clone(&self) -> KanidmPersonPosixAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KanidmPersonPosixAttributes
impl Debug for KanidmPersonPosixAttributes
Source§impl Default for KanidmPersonPosixAttributes
impl Default for KanidmPersonPosixAttributes
Source§fn default() -> KanidmPersonPosixAttributes
fn default() -> KanidmPersonPosixAttributes
Source§impl<'de> Deserialize<'de> for KanidmPersonPosixAttributes
impl<'de> Deserialize<'de> for KanidmPersonPosixAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<Entry> for KanidmPersonPosixAttributes
impl From<Entry> for KanidmPersonPosixAttributes
Source§impl JsonSchema for KanidmPersonPosixAttributes
impl JsonSchema for KanidmPersonPosixAttributes
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for KanidmPersonPosixAttributes
impl RefUnwindSafe for KanidmPersonPosixAttributes
impl Send for KanidmPersonPosixAttributes
impl Sync for KanidmPersonPosixAttributes
impl Unpin for KanidmPersonPosixAttributes
impl UnwindSafe for KanidmPersonPosixAttributes
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more