pub struct KanidmAccountPosixAttributes {
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 KanidmAccountPosixAttributes
impl Clone for KanidmAccountPosixAttributes
Source§fn clone(&self) -> KanidmAccountPosixAttributes
fn clone(&self) -> KanidmAccountPosixAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KanidmAccountPosixAttributes
impl Debug for KanidmAccountPosixAttributes
Source§impl Default for KanidmAccountPosixAttributes
impl Default for KanidmAccountPosixAttributes
Source§fn default() -> KanidmAccountPosixAttributes
fn default() -> KanidmAccountPosixAttributes
Source§impl<'de> Deserialize<'de> for KanidmAccountPosixAttributes
impl<'de> Deserialize<'de> for KanidmAccountPosixAttributes
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 KanidmAccountPosixAttributes
impl From<Entry> for KanidmAccountPosixAttributes
Source§impl JsonSchema for KanidmAccountPosixAttributes
impl JsonSchema for KanidmAccountPosixAttributes
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 KanidmAccountPosixAttributes
impl RefUnwindSafe for KanidmAccountPosixAttributes
impl Send for KanidmAccountPosixAttributes
impl Sync for KanidmAccountPosixAttributes
impl Unpin for KanidmAccountPosixAttributes
impl UnwindSafe for KanidmAccountPosixAttributes
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request