08-10-2010
10 More Discussions You Might Find Interesting
1. Solaris
Want to know if any, a command line parameter(s) of removing a user from multiple groups without using any ineractive application? (1 Reply)
Discussion started by: jquizon62
1 Replies
2. Shell Programming and Scripting
I have 85 Unix servers & I need to add single user ID on multiple servers at same time
Can anyone help in this?
I have written one script for single servers.same I need to user for multiple servers
#!/bin/sh
echo Enter user login ID
read loginID
echo Enter Group ID
read GroupID
... (6 Replies)
Discussion started by: sandeep_pan
6 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to dynamically allocate a new user group to an existing session on Solaris 5.8
I'd like to be able to allow certain users to access a set of scripts for the life of session (preferably there own session not a specific login created for the purpose) by dynamically giving the session... (0 Replies)
Discussion started by: hammer
0 Replies
4. UNIX for Dummies Questions & Answers
How do I add a user to a group? And how do I determine the list of groups to add a user?
Solaris 10 newbie (1 Reply)
Discussion started by: peteythapitbull
1 Replies
5. UNIX for Dummies Questions & Answers
Hi I have a user zak and
4 groups:-
oracle
stats
data
archive
I want user zak to be part of the oracle and stats group but not be able to view,list anything in data and archive. Also anyone in the data and archive group should not be able to view,list anything in oracle and stats....... (3 Replies)
Discussion started by: Zak
3 Replies
6. Solaris
Hi.........
I'm trying to set a group of users to login to do a required super-user tasks without knowing the super-user passwd.
For example...a user popodude logs in as self with passwd..system accepts the password & then automatically asks for the super-user account passwd.
My goal is... (1 Reply)
Discussion started by: Remi
1 Replies
7. AIX
1 - what is the maximum no: of groups a user can be a part of ?
2 - what is maximum no: of users a group can contain ? (6 Replies)
Discussion started by: senmak
6 Replies
8. AIX
Is there a command to nest a group in another group in AIX. (2 Replies)
Discussion started by: daveisme
2 Replies
9. UNIX for Dummies Questions & Answers
Happy Thanksgiving Everyone!! I have a question about adding users to multiple groups. Thanks in advance
Using Red Hat and here are the issues:
Example:
Users:
Bob
Mark
Groups:
SystemsAnalysts
BusinessAnalysts
If I am adding a user Bob to both groups (SystemsAnalysts and... (2 Replies)
Discussion started by: hansokl
2 Replies
10. AIX
Hello,
drwxr-x--- 21 root system 4096 Jan 25 10:20 /testdir
here owner is root, group is system.
1) is it possible to add multiple groups to "/testdir" files/directories ?
if yes, please provide me the command.
my requirement is to
provide read-only access to user1 on /testdir... (6 Replies)
Discussion started by: aaron8667
6 Replies
LEARN ABOUT HPUX
listusers
listusers(1) General Commands Manual listusers(1)
NAME
listusers - display user login data
SYNOPSIS
groups] logins]
DESCRIPTION
The command displays data concerning user logins. The output shows the user login and the comment field value (for example, user name,
location). The default displays data about all user logins.
Options
The command supports the following options:
Display only users who have
groups, as their primary group. Use with the option.
Display only users who have
groups, as their supplementary group. Use with the option.
Display all users belonging to
groups, sorted by login. A comma separated list specifies multiple groups.
Display the requested
logins. A comma separated list specifies multiple logins.
Display only users belonging to the specified repository,
either for NIS or users.
A user login has a UID of 100 or greater.
When the and options are combined, a user login is only displayed once, even though the login may belong to multiple specified groups.
EXAMPLES
List all user logins.
List all user logins in the group and the users removing all duplicates.
List all users who have as their primary group.
List all users who have as their supplementary group.
List only local user logins.
List only NIS user logins.
FILES
SEE ALSO
passwd(1), logins(1M), group(4), passwd(4).
STANDARDS CONFORMANCE
listusers(1)