12-04-2008
User with administrative rights
thanks kumar,
actually i need to show a system generated output of users with administrative access & also users with access to the database.is there any commands.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi There,
i need to creat USERS in UNIX with restricted access to different directories.
for example
user1 should have access to dir1 and dir2
user2 should have access to dir2 and dir3
Please help me (4 Replies)
Discussion started by: ramanan25
4 Replies
2. UNIX for Advanced & Expert Users
Hi All!
I would like to know if there is any specific way by which I can restrict access to apecific users (ip addresses).
OS : Red hat linux
Thanks!
nua7 (6 Replies)
Discussion started by: nua7
6 Replies
3. AIX
Hi!
this would be my first time to post here in this forums, hope you can help me with my queries.
i would like to create a different user name but have the same access rights. Example: root > rootbaby.
thanks (5 Replies)
Discussion started by: HPL1706
5 Replies
4. Shell Programming and Scripting
EDIT : This is for perl
@data2 = grep(/$data/, @list_now);
This gives me @data2 as
Printing data2 11 testzone1 running /zones/testzone1 ***-*****-****-*****-***** native shared
But I really cant access data2 by its individual elements.
$data2 is the entire list, while $data,2,3...... (1 Reply)
Discussion started by: shriyer
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I want to access another users files and directories.Is there any command to do in unix ??.I think CHOWN would work.May i know the exact command for it.
Regards, (1 Reply)
Discussion started by: William1482
1 Replies
6. UNIX for Dummies Questions & Answers
hi all,
i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies
7. HP-UX
Hp info
HP-UX tmelps04 B.11.31 U ia64
issue I created a user in his primary group is sysadmin. However when this user executes HPPI he gets shot down because he is not a super user. How do I grant the user permissions to access the beroot script?
Sorry, user xxxxxx is not allowed to execute... (2 Replies)
Discussion started by: sctxms
2 Replies
8. Shell Programming and Scripting
Hi,
I would like to retrieve a list of user ids on an AIX server along with the access rights that each id has? Can someone please help me on how this can be achieved?
Gayathri (3 Replies)
Discussion started by: ggayathri
3 Replies
9. Solaris
Hi All,
I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.
Regards,
Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies
10. Solaris
Hi,
I always use "sudo -U user -l" as root and it gives me list of sudo access, that person have. But on one Solaris server, I can't run it. recently only I installed latest patchset on this server. Not sure, if that changed something on this. However, sudo package is showing old one.
# id -a... (1 Reply)
Discussion started by: ron323232
1 Replies
last(1) General Commands Manual last(1)
NAME
last, lastb - indicate last logins of users and ttys
SYNOPSIS
file] [name ...] [tty ...]
file] [name ...] [tty ...]
DESCRIPTION
The command searches backwards through the file (which contains a record of all logins and logouts) for information about a user, a tty, or
any group of users and ttys. Arguments specify names of users or ttys of interest. The names of ttys can be given fully or abbreviated.
For example, is the same as If multiple arguments are given, the information that applies to any of the arguments is printed. For example,
lists all of sessions as well as all sessions on the console terminal. The command prints the sessions of the specified users and ttys,
most recent first, indicating when the session began, the duration of the session, and the tty on which the session took place. indicates
if the session is still in progress or if it was cut short by a reboot.
The pseudo-user logs each time the system reboots. Thus, is a useful command for evaluating the relative time between system reboots.
If is interrupted, it indicates how far the search has progressed in If interrupted by a quit signal (generated by a Ctrl-), indicates how
far the search has progressed, then continues the search.
The command searches backwards through the database file to display bad login information. Access to should be restricted to users with
appropriate privileges (owned by and readable only by because it may contain password information.
Options
The and commands recognize the following options and arguments:
(none) If no arguments are specified, prints a record of all logins and logouts in reverse order, most recent first.
When used with
and displays the user's host name as it is stored in the files and respectively. The host name is displayed between the
tty name and the user's login time.
Limits the report to
number of lines.
Use file as the name of the accounting file instead of or
Use file as the name of the accounting database instead of This option should be used along with the option.
Display the fields in long format if this flag is used
along with the flag. Without the flag, normal output is displayed.
AUTHOR
was developed by the University of California, Berkeley and HP.
FILES
Bad login database
Login database
New login database
New bad login database
SEE ALSO
login(1), utmp(4), wtmps(4).
last(1)