Sponsored Content
Full Discussion: List system users and..
Top Forums UNIX for Dummies Questions & Answers List system users and.. Post 302629013 by mentoscz on Tuesday 24th of April 2012 08:42:19 AM
Old 04-24-2012
Linux drak 2.6.32-40-386 #87-Ubuntu SMP Mon Mar 5 23:03:22 UTC 2012 i686 GNU/Linux


I need to make a script which will list human users ( not computer ones ) from /etc/passwd and find out if their home directory is empty or not.

Last edited by methyl; 04-24-2012 at 09:56 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find users using system(List them only once)

Hey, got a few questions here for anyone who can help...... Command line to - display users using the system, but count them only once. Command line to - use the lastcomm command to display how many times ive used grep in october. Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies

2. AIX

Default system users

Hello I have a question I have this users on my aix 5.3 box. This are a default users. lp:*:11:11::/var/spool/lp:/bin/false invscout:*:6:12::/var/adm/invscout:/usr/bin/ksh snapp:*:200:13:snapp login user:/usr/sbin/snapp:/usr/sbin/snappd ipsec:*:201:1::/etc/ipsec:/usr/bin/ksh... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

3. Shell Programming and Scripting

How can i use system users in perl for login page

Hi, I want to code a script with perl. For this, I need some knowledge. How can i use system user name(with group) and password in my login page? I will be happy if you can help me (2 Replies)
Discussion started by: tahsinaltay
2 Replies

4. Shell Programming and Scripting

Bash Help: users who are not logged into the system to display

A Newbie here, I am working on a script and am having problems with the else part of the script. I can't get the users who are not logged into the system to display on the screen with their username and the text "The user is not logged in". I am sure it is something simple and stupid, but I... (5 Replies)
Discussion started by: rchirico
5 Replies

5. UNIX for Advanced & Expert Users

Best practices with AIX system users?

All, Preliminaries: AIX 5.2 Tivoli Maestro 6.1 (9.2) I am auditing an older AIX system. As it stands, I can login remotely to the system using the Maestro application's user account. This is BAD. The administrator claims that he cannot disable the remote login, because it will... (1 Reply)
Discussion started by: Thatto
1 Replies

6. Emergency UNIX and Linux Support

List of users on an AIX system

Is there a way to generate a list of users with name, user ID, and Security Group? It is urgent for audit purposes. Please help. (5 Replies)
Discussion started by: ggayathri
5 Replies

7. Homework & Coursework Questions

Find out the System users

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I want to create a file called Allusers that contains the list of currently logged on users and the total number... (2 Replies)
Discussion started by: ahm2008
2 Replies

8. UNIX for Dummies Questions & Answers

Users logged into the system

So I'm trying to write a single line command So I have to use last first in this command and I've figured out the format my professor wants it in, something like thislast | cut -d' ' -f1,15 | sort > check | uniq -c.... and I never can get it right, when I just last command I get something... (2 Replies)
Discussion started by: DoubleAlpha
2 Replies

9. Shell Programming and Scripting

List the Manager of Users in AD - Using list- Get-ADuser

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
MANCALA(6)							   Games Manual 							MANCALA(6)

NAME
mancala - simple board game for human player and computer SYNOPSIS
mancala level-top level-bottom number-of-stones xmancala [-stones N] mancala-text DESCRIPTION
This manual page documents briefly the mancala and xmancala commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. mancala runs the game in the console, while xmancala is a fancy X-interface. mancala-text is a shell script to run mancala in a console from the Debian menu system. When run as xmancala the program has no options, and should be self-explanatory. Built in buttons and sliders control the difficulty level (default 4), and bring up the rules of the game. The console version, mancala, has no access to the rules, and the difficulty level can only be set on the command line (see below). When it is your turn to play, you enter the letter of the cell that you want to move the stones from, A to F (case insensitive). The rules are contained in the file /usr/share/doc/mancala/RULES. OPTIONS
When run as mancala, the program normally takes two arguments, level-top and level-bottom, one of which should be 0 to represent the human player (you), and the other should be in the range 1 to 9, to represent the skill level of the computer player. The first argument repre- sents the top player, who starts. Alternatively, you can give a single argument or two non-zero arguments, to watch the computer playing itself, or two zero arguments, to play against another human player on the same console. For the console version, you can add a third argument to specify the number of stones per hole. For xmancala you can specify the number of stones per hole using the -stones N argument. On Debian systems, the shell script mancala-text is provided to facilitate running mancala in a console, from the Debian menu system. This script will run mancala with a difficulty level of 4, and will pause when the game is finished, to enable the player to view the final screen. SEE ALSO
<http//en.wikipedia.org/wiki/Mancala> AUTHOR
This manual page was written by Andrew Gray <ajpg@debian.org> for the Debian GNU/Linux system (but may be used by others). 13 March 2001 MANCALA(6)
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy