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
LEARN ABOUT HPUX
userdbget
userdbget(1M) userdbget(1M)
NAME
userdbget - display information residing in the user database, /var/adm/userdb
SYNOPSIS
name [attr]...
[attr]...
DESCRIPTION
displays the per-user information residing in the user database as a sequence of pairs. Each pair is printed on a separate line and is
preceded by the username. A per-user value in the user database, overrides any system-wide default configured in See userdb(4) and secu-
rity(4) for more details about the user database and system-wide defaults, respectively.
If no attr arguments are specified on the command line, displays all configurable attributes of users in the user database. If one or more
attr arguments are specified, displays only those attributes.
Options
The following options are recognized:
Display attributes of all users in the user database.
Display internal attributes, in addition to the configurable ones.
Internal attributes are not user configurable and are normally modified only by programs that enforce system security. The file
indicates which attributes are configurable and which are internal.
Display attributes for only the specified user
name.
Notes
Only users who have read and write access to can run
RETURN VALUE
exits with one of the following values:
success
invalid user
invalid usage
insufficient permission to access the user database
file system error
invalid attribute;
does not allow a per-user value
an attribute value is not within the range specified in
block overflow
entry overflow
database lock failure
database is disabled; see
userdb(4)
invalid user name
not a local user
EXAMPLES
In the following example, all attributes for user are printed. The audit flag for user is enabled. The display last login feature is dis-
abled.
In the next example, only specific attributes are printed. The audit flag for user is enabled. No value is printed for because that
attribute is not defined for user the minimum password length for user is the system-wide default defined in (see security(4)).
In the last example, prints all configurable attributes of all users in the user database.
FILES
user database
security defaults configuration file
security attributes description file
SEE ALSO
userdbck(1M), userdbset(1M), userdb_read(3), security(4), userdb(4).
userdbget(1M)