Sponsored Content
Operating Systems Linux grant root privileges to ordinary user Post 302233741 by brendan76 on Monday 8th of September 2008 10:17:56 AM
Old 09-08-2008
grant root privileges to ordinary user

Hi,
Is it possible to grant root privileges to an ordinary user?
Other than 'sudo', is there some way under Users/Groups configuration?
I want ordinary user to be able to mount, umount and use command mt.
/Brendan
 

10 More Discussions You Might Find Interesting

1. Programming

root privileges

Hi I have make a program that needs root privleges but any user can try to run it, so what I want it is, when any user tries( other than root ) to run the program, an input prompt would open to enter root password ( if user knows ) and program will run ( otherwise exit ), and after completing... (21 Replies)
Discussion started by: sumsin
21 Replies

2. Shell Programming and Scripting

switching user from root to ordinary user

Good day Guys!!! I am currently making a script in AIX, the script runs a SAS job, the owner of the script is the root, but the SAS jobs cannot be run by the root, as it should be run by a user 'sasia'. But inside the script, root creates a logfile, so what I need is just to su to sasia for the... (3 Replies)
Discussion started by: sasia
3 Replies

3. UNIX for Dummies Questions & Answers

root privileges

Hello, As admin with root rights, to execute any command from another user without password-ask, I do : su - <user> -c "<cmd>" But how can I do to give the same rights to another physical user without using root user ? :confused: I've try to create another user "toor" with the same primary... (4 Replies)
Discussion started by: madmat
4 Replies

4. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

5. UNIX for Dummies Questions & Answers

How to give an ordinary user the superuser (root) ID which is 0

How to give an ordinary user the superuser (root) ID which is 0 (9 Replies)
Discussion started by: sharaola
9 Replies

6. Programming

Grant privileges in Oracle

i have installed oracle 10g and two databases. i enter database1 as sysdba and create a user called user1.i give the privileges as "select on" to user1. i enter sqlplus from the shell prompt. i enter as user1. but when i do "select * from emp" i have a "the table doesn't exist". how can i give... (3 Replies)
Discussion started by: symeje
3 Replies

7. Solaris

Grant print related privileges

Afternoon everyone, I would want to ask that how/what privileges i should grant to a new user so that the user can clear /disable printing job queue? Solaris OS: 5.9 Thanks. :b: (4 Replies)
Discussion started by: beginningDBA
4 Replies

8. Shell Programming and Scripting

Privileges like root

My English is no very good. I must make a bash scripting sh create like a backdoor, and when execute the script a user without privileges convert in super user or root, whithout introducing the password. In Spanish: Crear un script que sirva como puerta trasera al sistema, de manera que al... (1 Reply)
Discussion started by: kitievbr
1 Replies

9. HP-UX

User with root privileges in hp ux

hi, i am new in hp ux and i must create a user with root privileges and so i disable ssh connection from root login. thanks.. (6 Replies)
Discussion started by: eliste
6 Replies

10. UNIX for Dummies Questions & Answers

Can you gain root privileges if the suid program does not belong to root?

I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way? I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies
umount(2)							System Calls Manual							 umount(2)

NAME
umount(), umount2() - unmount a file system SYNOPSIS
DESCRIPTION
requests that a previously mounted file system contained on the block special device identified by name be unmounted. requests that a previously mounted file system contained on the block special device identified by name be unmounted in the manner described in flags. name is a pointer to a path name. flags is a bitmask of flags, specified in that are combined to describe the type of unmount to be performed. Valid flags are: perform a normal unmount perform a forced unmount MS_NORMAL and MS_FORCE are mutually exclusive. A forced unmount is one which will occur regardless of activity on the file system. After unmounting the file system, the directory upon which the file system was mounted reverts to its ordinary interpretation. and can also request that a file system mounted previously on the directory identified by name be unmounted. After unmounting the file system, name reverts to its ordinary interpretation. and can be invoked only by the user with the appropriate privilege. NETWORKING FEATURES
NFS path must indicate a directory name when unmounting an NFS file system. RETURN VALUE
If successful, and return a value of Otherwise, they return a value of -1 and set to indicate the error. ERRORS
and fail if one or more of the following are true: A component of the path prefix of name denies search permission. A file on name is busy. name points outside the allocated address space of the process. Reliable detection of this error is implementation dependent. name is not mounted. flags is not a valid combination of flags. Too many symbolic links were encountered in translating the path name. name exceeds bytes, or a component of name exceeds bytes while is in effect. name does not exist. name is null. A forced unmount was requested on a file system that does not support it. name is not a block special device. A component of name is not a directory. The device associated with name does not exist. The effective user ID of the process is not that of a user with appropriate privileges. SEE ALSO
mount(1M), mount(2), privileges(5). STANDARDS CONFORMANCE
umount(2)
All times are GMT -4. The time now is 08:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy