Sponsored Content
Full Discussion: List system users and..
Top Forums UNIX for Dummies Questions & Answers List system users and.. Post 302628985 by vbe on Tuesday 24th of April 2012 08:08:06 AM
Old 04-24-2012
Looks very much like unix introduction classwork to me...
In your last post you give clues on where to start :
Quote:
directory in home
Though not 100% but you could believe that users have a users directory in a common home directory... standards would be /home, /export/home (solaris) etc...
 

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
Mojo::Home(3pm) 					User Contributed Perl Documentation					   Mojo::Home(3pm)

NAME
Mojo::Home - Detect and access the project root directory in Mojo SYNOPSIS
use Mojo::Home; my $home = Mojo::Home->new; $home->detect; DESCRIPTION
Mojo::Home is a container for home directories. ATTRIBUTES
Mojo::Home implements the following attributes. "app_class" my $class = $home->app_class; $home = $home->app_class('Foo::Bar'); Application class. METHODS
Mojo::Home inherits all methods from Mojo::Base and implements the following new ones. "new" my $home = Mojo::Home->new; my $home = Mojo::Home->new('/home/sri/myapp'); Construct a new Mojo::Home object. "detect" $home = $home->detect; $home = $home->detect('My::App'); Detect home directory from the value of the "MOJO_HOME" environment variable or application class. "lib_dir" my $path = $home->lib_dir; Path to "lib" directory of application. "list_files" my $files = $home->list_files; my $files = $home->list_files('foo/bar'); Portably list all files recursively in directory relative to the home diectory. $home->rel_file($home->list_files('templates/layouts')->[1]); "mojo_lib_dir" my $path = $home->mojo_lib_dir; Path to "lib" directory in which Mojolicious is installed. "parse" $home = $home->parse('/home/sri/myapp'); Parse home directory. "rel_dir" my $path = $home->rel_dir('foo/bar'); Portably generate an absolute path for a directory relative to the home directory. "rel_file" my $path = $home->rel_file('foo/bar.html'); Portably generate an absolute path for a file relative to the home directory. "slurp_rel_file" my $string = $home->slurp_rel_file('foo/bar.html'); Portably read all data at once from file relative to the home directory. my $content = $home->slurp_rel_file($home->list_files('public')->[1]); "to_string" my $string = $home->to_string; my $string = "$home"; Home directory. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojo::Home(3pm)
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy