06-16-2004
Thanks! Looks like I can also use /etc/group to get a listing of groups.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi,
Is it possible that one user belongs to many groups, or the relation of user/group is 1/1?. Thanks
Ramón (2 Replies)
Discussion started by: rsanz
2 Replies
2. UNIX for Dummies Questions & Answers
hi eveyone i've recently requested my unix admin to create a userid for 2 groups. He created the id and i can see it by grep "id" /etc/group.
But when i login with that id into unix and try to cd that group it says permission denied. something like cd /groupname -- permission denied
Can my admin... (1 Reply)
Discussion started by: sammet
1 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to find out all users and the UNIX groups they belong to??
:) (3 Replies)
Discussion started by: Hangman2
3 Replies
4. Solaris
Hi All,
I would like know how many of default number of users and groups are there in solaris-10...
Regards
Tirupathi Raju (2 Replies)
Discussion started by: tirupathiraju_t
2 Replies
5. Solaris
How do I remove a user from a group? I'm using the usermod command but its not working.
I have a user "abc" who is a member of the groups root and other. I'm trying to remove him from the group "other" (using CLI) which is his secondary group but it's not working.
How do I do this? Is there any... (11 Replies)
Discussion started by: the_red_dove
11 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am new to unix so hopefully someone can help. I need to list all the users I have in my unix enviroment (AIX) and the groups (primary and secondary) they belong to.
Can anyone help?
Many thanks in advance (2 Replies)
Discussion started by: m3y
2 Replies
7. Shell Programming and Scripting
Hi,
I have two little issues:
1) there is possible in sh to create a function who return a boolean value?
2)i have to verify if an user belongs to a group and i think it is needed to create a function which take two parameter and return a boolean value. in fact i have to parse /etc/group... (5 Replies)
Discussion started by: catalint
5 Replies
8. 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
9. UNIX for Advanced & Expert Users
Hi
Could anyone please suggest how we can check in Linux if a user or a group name is already existing? In case of a user the command should also be able to specify the user with a given directory and shell. We can of course check this using a grep command but since that is just a pattern match,... (12 Replies)
Discussion started by: Dorothy
12 Replies
10. UNIX for Beginners Questions & Answers
Hi Guys,
I want a script where in I need to send an email to individual users about their groups.
OS:unix redhat
Shell :Bash.
The mail should be like,"Hi &username , you are in part of &group1,&group2 .."
I need to mail to their personal email id mostly @outlook. Not to their UNIX.... (1 Reply)
Discussion started by: vijay2107
1 Replies
rusers(1) General Commands Manual rusers(1)
NAME
rusers - determine who is logged in on machines on local network
SYNOPSIS
[host ...]
DESCRIPTION
produces output similar to the "quick" option of who(1), but for remote machines. It broadcasts on the local network and prints the
responses it receives. Though the listing is normally in the order that responses are received, the order can be changed by specifying a
command-line option. The broadcast process takes about two minutes.
When host arguments are given, instead of broadcasting, only queries the list of specified hosts.
For each machine, the default is to print a line listing the host name and all users on that host. When the option is given, uses an out-
put format similar to rwho(1). If a user has not typed on the system for a minute or more, the idle time is reported.
A remote host only responds if it is running the rusersd(1M) daemon.
Options
recognizes the following command-line options:
Give a report for a machine even if no users are logged in on it.
Sort alphabetically by host name.
Sort by idle time.
Give a longer listing in the style of
(see who(1)).
Sort by number of users.
RETURN VALUE
returns exit code zero if no errors are encountered; otherwise it returns the number of errors found.
AUTHOR
was developed by Sun Microsystems, Inc.
WARNINGS
Broadcasting does not work through gateways; therefore, does not report information about machines that are reached only through gateways.
FILES
SEE ALSO
rwho(1), who(1), inetd(1M), rusersd(1M).
rusers(1)