Sponsored Content
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing Red Hat Linux Serial Number using non-root user Post 302305918 by vineetd on Friday 10th of April 2009 07:03:55 AM
Old 04-10-2009
Red Hat Linux Serial Number using non-root user

Hi All,

Is there any way to find out the Serial Numbers in Red Hat Linux machines with a non-root user?

I know we can find using the dmidecode command, but it needs root privilege. I want to access this information using a non-root user.

Any help will be greatly appreciated. Smilie

Many thanks,
VineetD
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

New User, New Install Red Hat 9, need serious Instruction

Hey... I'm so proud of myself. After nearly 13 hours of trying to get Red Hat installed on my PC I got it on here. But I'm having all sorts of problems. First the boot loader is corrupted and all I get is LI and then the computer freezes. But I can boot fine from the floppy that was made during... (2 Replies)
Discussion started by: garfunkle
2 Replies

2. Linux

Red Hat Linux 9

Hello there! Will anybody please tell me some good links to online eBooks on Red Hat Linux 9 user experiences and the like. If the books are in PDF Format, it will be nice to read. Thanks for cooperation in advance. Enjoy using open source and breathe freely! JAM (5 Replies)
Discussion started by: Jawwad
5 Replies

3. UNIX for Dummies Questions & Answers

Restricting the user *LINUX RED HAT*

Hats of to all the members for providing the detailed guidence to the newbe !! :o I am working on Red Hat LINUX plateform, where the number of users are more that 50. The problem I m facing is that all the user are opening the virtual terminals and leave it unattended for hours together and... (4 Replies)
Discussion started by: vakharia Mahesh
4 Replies

4. SuSE

ghost root disk on Red Hat Linux

I have been reading to no avail on how to create a root ghost disk. The purpose of this task is that prior to patching my linux servers, I would create a copy of my root disk to an empty disk for failback in the event that the patching has issues. I currently configured my root disk with 2... (2 Replies)
Discussion started by: gperez
2 Replies

5. Red Hat

startx by non-root user account in red hat linux kernel 2.6

How can I use the command "startx" by other user account such as "oracle" ?? I cannot startx by user account oracle ?? How to fix it ??? Any adivce ??? I use red hat linux kernel 2.6 $ startx Fatal server error: PAM authentication failed, cannot start X server. Perhaps you do... (0 Replies)
Discussion started by: chuikingman
0 Replies

6. Red Hat

Red hat 9 root directory

Hello , I recently decided to change from Red hat 9 OS to Fedora 14 but I wanted to copy all the files in the root directory to my usb . every time I copy the file and move them to my usb folder I get an error windows with permission denied warning , although I'm the only user and I... (3 Replies)
Discussion started by: lolypop
3 Replies

7. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

8. Red Hat

Control M user permissions on Red Hat Linux

All, Requirement: Permissions Required for Control M on Linux I am using the Linux as the operating system. I am told to get an user configured for Control M on Linux. The user would be an authenticated user created by the client. The user created requires permissions to be made available so... (2 Replies)
Discussion started by: Roadies99
2 Replies

9. Red Hat

How to find the number of cores in a Red Hat Linux box?

Hi, Could you please Tell me the command to find the number of cores in red hat box? I have tried cat cat /proc/cpuinfo | grep processor | wc -l command to find the number of processers. But need to fond the number of cores. Is there any difference between core and processor? ... (4 Replies)
Discussion started by: bikas89
4 Replies

10. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
CAPTEST:(8)                                               System Administration Utilities                                              CAPTEST:(8)

NAME
captest - a program to demonstrate capabilities SYNOPSIS
captest [ --drop-all | --drop-caps | --id ] [ --lock ] [ --text ] DESCRIPTION
captest is a program that demonstrates and prints out the current process capabilities. Each option prints the same report. It will output current capabilities. then it will try to access /etc/shadow directly to show if that can be done. Then it creates a child process that attempts to read /etc/shadow and outputs the results of that. Then it outputs the capabilities that a child process would have. You can also apply file system capabilities to this program to study how they work. For example, filecap /usr/bin/captest chown. Then run captest as a normal user. Another interesting test is to make captest suid root so that you can see what the interaction is between root's credentials and capabilities. For example, chmod 4755 /usr/bin/captest. When run as a normal user, the program will see if privilege esca- lation is possible. But do not leave this app setuid root after you are don testing so that an attacker cannot take advantage of it. OPTIONS
--drop-all This drops all capabilities and clears the bounding set. --drop-caps This drops just traditional capabilities. --id This changes to uid and gid 99, drops supplemental groups, and clears the bounding set. --text This option outputs the effective capabilities in text rather than numerically. --lock This prevents the ability for child processes to regain privileges if the uid is 0. SEE ALSO
filecap(8), capabilities(7) AUTHOR
Steve Grubb Red Hat June 2009 CAPTEST:(8)
All times are GMT -4. The time now is 01:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy