9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there any command that can used in Linux that export usernames and their manager's name from AD using bash shell script?
I know this can be done using powershell but I need to use Linux for this procedure. (2 Replies)
Discussion started by: dellanicholson
2 Replies
2. AIX
Hello!
We have an AIX box (6.3), we are looking for a way to get list of logged in users and their IP. The issue we have is running who -ub shows hostname and we are wanting to get the ip. Any suggestions of ideas? Thanks in advance for any help! (4 Replies)
Discussion started by: entropy1980
4 Replies
3. UNIX for Dummies Questions & Answers
I'm on an IRC server where the command /names is not a valid command. However, on programs like mIRC and Mibbit, the users in the channel still show up on the GUI where it displays the channel users. What command is being used to obtain the user list? (2 Replies)
Discussion started by: daigo
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
i would like to know were the folder that contain file with list of all users ?
And were i can learn about what kind of folder i have and wheat they have inside?
question 2.
when i write ls -a i see all directories and then i choose for example Documents
and inside Documents i typed again... (1 Reply)
Discussion started by: iliya24
1 Replies
5. UNIX for Advanced & Expert Users
Hello!Does anybody know how to solve this script:
,,write a shell script which displays a list of names of users who have created files "*. c" in the last day."? (1 Reply)
Discussion started by: theodoraa
1 Replies
6. Shell Programming and Scripting
I need to add to a BASH script if ${USER} is not in a list of users (smitha, brownd, adamsp) then do something... what is the best shortest way to accomplish an if statement with a list like this? Also the list of users should be in the script, not an external file.
Thanks! (5 Replies)
Discussion started by: glev2005
5 Replies
7. Programming
Hello
They have ordered to me that makes several small utilities in C/C++ for the servants, among them a small program in C/C++ to generate a file HTML with the groups of that servant and in addition that is the corresponding users of that group.
For example of a group:
Group: Sys Members:... (2 Replies)
Discussion started by: cybermeis
2 Replies
8. UNIX for Dummies Questions & Answers
How can I simply obtain a list of the object files in a shared (dynamic) library.
I am looking for the equivalent of "ar -t <lib>" for archived (static) libraries.
Thanks in advance. :rolleyes:
---------- Post updated at 01:47 PM ---------- Previous update was at 12:16 PM ----------
The... (1 Reply)
Discussion started by: chatieremerrill
1 Replies
9. Programming
How can I get the list of logged in users in the system programmatically?
I can get the list with 'who' or 'users' commands but I need to get the list programmatically...
May someone help, please?
Thanks in advance. (2 Replies)
Discussion started by: xyzt
2 Replies
SSS_USERMOD(8) SSSD Manual pages SSS_USERMOD(8)
NAME
sss_usermod - modify a user account
SYNOPSIS
sss_usermod [options] LOGIN
DESCRIPTION
sss_usermod modifies the account specified by LOGIN to reflect the changes that are specified on the command line.
OPTIONS
-c,--gecos COMMENT
Any text string describing the user. Often used as the field for the user's full name.
-h,--home HOME_DIR
The home directory of the user account.
-s,--shell SHELL
The user's login shell.
-a,--append-group GROUPS
Append this user to groups specified by the GROUPS parameter. The GROUPS parameter is a comma separated list of group names.
-r,--remove-group GROUPS
Remove this user from groups specified by the GROUPS parameter.
-l,--lock
Lock the user account. The user won't be able to log in.
-u,--unlock
Unlock the user account.
-Z,--selinux-user SELINUX_USER
The SELinux user for the user's login.
-h,--help
Display help message and exit.
THE LOCAL DOMAIN
In order to function correctly, a domain with "id_provider=local" must be created and the SSSD must be running.
The administrator might want to use the SSSD local users instead of traditional UNIX users in cases where the group nesting (see
sss_groupadd(8)) is needed. The local users are also useful for testing and development of the SSSD without having to deploy a full remote
server. The sss_user* and sss_group* tools use a local LDB storage to store users and groups.
SEE ALSO
sss_groupadd(8), sss_groupdel(8), sss_groupmod(8), sss_groupshow(8), sss_useradd(8), sss_userdel(8).
AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD
03/04/2013 SSS_USERMOD(8)