General :: Unable To Change The User And Root Permissions?

Mar 23, 2011

I was unable to change the permissions for root node and for other users also. WE have tried all the possibilities like chmod and chmod -R 777 filenem. But we are unable to change that.

View 4 Replies


ADVERTISEMENT

General :: Unable To Change System Time As Non-Root User

May 6, 2011

I need to edit the system time as a not-root user. I am carrying out the following actions in my program.

1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.

View 3 Replies View Related

Ubuntu :: Unable To Change User/group Permissions On Samba Shares?

Jul 3, 2011

this is my first real problem that I can't solve my self.I've a test samba share called "Share" and I've created three users:

-mones
-fsu
-fsu2

[code]....

View 2 Replies View Related

General :: Setting Read Permissions Of A Directory For Root User Only?

Mar 21, 2010

I'm using ubuntu 9.10. I used the command:

root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:

Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted

[Code].....

View 5 Replies View Related

General :: Change Password For Newly Created User And Root User Using Graphical?

Jan 15, 2010

I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.

1. My laptop automatically get logged in without asking user name and password.

2. I tried to change password for newly created user and root user using graphical way but it does not work.

2. I can perform administrator task using only OEM user which is default inbuilt user of mint.

How can make my laptop to ask password when mint get booted? How to change password for other users?

View 1 Replies View Related

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

Aug 10, 2011

Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?

View 3 Replies View Related

Software :: Change A Process Running In Root-user To Non-root User ?

Oct 28, 2009

Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user

View 4 Replies View Related

General :: Unable To Change File Permissions To Execute

Jun 16, 2010

I've checked out a subversion project with source c++ files in netbeans 6.8 on Red Hat 5.5. My machine has a dual boot with windows xp and RHEL 5.5 so I checked out the project on a folder called winshare which is a shared drive/partition (E: under xp) allowing both operating systems to access the contents. I've Fedora as virtual machine on xp and wanted to be able to work on the source seamlessly whether using fedora or RHEL.

Problem is that Netbeans is able to build the source just fine but I can't seem to run the generated executable. It has -rw-rw---- permission and the owner is the same user logged in (let's say user1) but no matter what I do, whether I change permissions as user1 or root issuing command chmod 777 -R /dir/where/file/is does not have any effect whatsoever on the executable as well as any .cpp or .h files (nothing that I need exectue permissions on .cpp but just to make a point).

View 2 Replies View Related

General :: Change From Root To Dif.user?

Sep 30, 2010

Im trying to run this program and they say I should not run it as root but as a diff user. how to change from root to dif.user. I am using linux CentOS 5.5. Is it a terminal command? How do i create a diff user and log in as it?

View 5 Replies View Related

General :: Change The Root Directory For A User?

Oct 5, 2010

For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to the user's home directory), however I couldn't find the way to do it.

I thought about the chroot command, but it seems it just runs the specified command, considering the specified directory as the root directory. So it seems chroot is not what i need. So my question is: what is the command which changes the user's root directory?

View 7 Replies View Related

General :: Change User To Root It In Obuntu 10.04lts?

Jun 27, 2011

How to change user to root user in obuntu 10.04

View 6 Replies View Related

Ubuntu :: Add Root Permissions To User?

Jun 5, 2010

How do I add root permissions to my user account?

I want full permissions for all computers in my house, without having to get up and go to the other room and change permissions for the file, then go back to the other room again.

I just created a partition, as THIS user, THIS machine, rebooted, and cannot create a folder on the partition I just created. UGH. No more of this stuff...

View 4 Replies View Related

Security :: Add Root Permissions To User ?

Jun 5, 2010

How do I add root permissions to my user account?

I want full permissions for all computers in my house, without having to get up and go to the other room and change permissions for the file, folder, drive, directory, computer, etc., then go back to the other room again.

I just created a partition, as THIS user, THIS machine, rebooted, and cannot create a folder on the partition I just created. UGH. No more of this stuff... I guess at the very least, I'll still have to log onto each machine for this?

View 12 Replies View Related

General :: Unable To Login As Root Or User

Jan 29, 2011

I am trying to someone get to their records on a CentOS 5 box and the username/passwords they have given me are not being recognized.

View 11 Replies View Related

Ubuntu :: "Check That You ARE NOT Root, Never Run Similar Tools As Root! Just Change File Permissions"

Jul 11, 2011

I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?

View 7 Replies View Related

Fedora :: Only Run App As Root - Change Permissions

Jul 24, 2010

after a fresh install of fedora 13 I was expecting a few niggles and here's one, I've googled and read man chmod and chown and there seems to be plenty of conflicting advice, oh yeah the problem, I installed a package called get_iplayer (allows downloading of bbc iplayer content) via yum, only thing is I can only run it as root whereas in f12 I could as a normal user. It's probably the simplest command to change permissions, also I can't find any info on what the different numbers mean (775 777 etc)

View 11 Replies View Related

Ubuntu :: Root Can't Change Permissions?

Aug 4, 2011

how to use permissions. I ran into a weird problem in which I am unable to change permissions as root. I have a file I've been testing commands on, and somewhere along the line I think I gave it zero permissions. Now I'd like to restore some permissions, but can't. Here's what I'm looking at:

Code:
jeremy@jeremy-laptop:~/test$ ls -l
total 16
-rw-r--r-- 1 jeremy jeremy 235 2011-05-17 13:15 onelink
-rwxr-xr-x 1 jeremy jeremy 27 2011-08-02 18:05 threecopy
-rwxr-xr-x 1 jeremy jeremy 27 2011-05-09 17:10 three.txt

[Code]....

View 5 Replies View Related

OpenSUSE Hardware :: Changing Permissions From Root To User

Jun 6, 2010

I recently got a new external drive and backed all my files up on the new external: movies, music, docs, etc. Now all my files have permission rights to the root only. I was able to change this by open up nautilis from a terminal in root and change the permission on the whole drive to my current user so I can access the files, copy & delete the files. I wanted to change some music file information in Kynamo this morning and was not able to since all the individual files still belong to the root. How can I change this permission issue without having to change each individual file?

View 8 Replies View Related

Ubuntu :: Chmod File Permissions Between User And Root ?

Jan 26, 2011

I want to have two kind of users in a work machine having ubuntu 10.04,

1) He is the admin, have sudo privilages and install, do all types of work, his username is abhilash

2) A user who is normally a IT administrator, who can just install or remove softwares, but cannot access files of abhilash.

I'm trying to do this and my head is going blank, The problem where i'm stuck is, if IT admin can install softwares, then he can become sudo as sudo su, then he can view my files

So here is a small test i did, first with abhilash.

Code:

Now others and group don't have any permissions! But when IT Administrator becomes root, he can see this file

Code:

View 5 Replies View Related

Server :: MySQL Root User - Administration And Permissions

Jun 22, 2010

I'm using an older redhat system (2.6.9-22.ELsmp) here which is running an older mysql (server version: 4.1.12). I don't think that's the source of the problems. I believe that have understood things rightly when I say that the mysql root user is unrelated to the linux root user ... in my case I believe the root user to be the unix user mysql. So when I connect to the server (local host from a local terminal) I use:
Code:
-bash-3.00$ mysql -u mysql -p
and enter a blank password

This gets me on, however I seem unable to do anything like create database or alter privilege. I wonder if its related to my finding no database called mysql?
-bash-3.00$ mysql -u mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 11 to server version: 4.1.12

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> show databases;
+----------+
| Database |
+----------+
| test |
+----------+
1 row in set (0.00 sec)
Although I understand that show databases will not show things I have no priv to see. Does this mean my settings for the users are all screwed? How do I rectify this situation? Some other (perhaps) useful information.

Code:
[root ~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

So my BASEDIR seems to be nothing like is suggested in the documentation at [URL].

View 2 Replies View Related

Fedora :: Can't Change The Permissions (belongs To Root)?

Oct 29, 2009

Get Fedora 11 and Apache installed. Open web browser and enter http://localhost and I get a "Fedora Test Page" that shows Apache is working (according to the info on the page). It says to put my web documents in /var/www/html/ ... however, as a user I cannot access it (put anything there) and I can't change the permissions (belongs to root) I'd like to run this as an intranet web server in our small ( <100 users) company.

View 6 Replies View Related

OpenSUSE :: Can't Change File Permissions As Root

Sep 25, 2010

I just wanted to set some file permissions right. As root:

Code:
# chown -R kikinovak:users /home/kikinovak/Documents

But all I get is a series of "Operation not permitted" errors. What's going on here? I tried this:

Code:
# find /home/kikinovak/Documents -type d -exec chmod 0755 {} ;

... with the same strange errors.

View 3 Replies View Related

Ubuntu :: Change Permissions On Root Folders And Files

Jun 14, 2010

I need to change the config in a folder and can not due to it being owned by root. How do I change the permissions.

Folder = /etc/stunnel/
file = /etc/stunnel/stunnel.conf

View 4 Replies View Related

Ubuntu :: File Permissions / Ownership - Even Root Cannot Change

Aug 30, 2010

I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.

Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls

The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?

View 2 Replies View Related

General :: Local User Unable To Change Password?

Mar 22, 2011

I'm new to SUSE Linux 10 and I am having a problem with a local user account. Here is the scenario,Logged in successfully to a putty session as the "user" and try to change the password :

passwd "user"
(current) UNIX password:
passwd: Authentication failure

I am unable to change the password as the user but i am able to log into the server with the same user.

View 14 Replies View Related

Debian :: Default Ownership Of Folders And Files - Should Own By A User Without Root Permissions

Feb 12, 2011

Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?

View 12 Replies View Related

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

Ubuntu Servers :: Administrator User Id Doesn't Seem To Have Root Permissions To Create Directories?

Mar 30, 2010

Need help maintaining permissions across multiple directories. Have Ubuntu 8.04 Hardy Heron. O/S installed, updated and running with no problems.Why is it that my administrator user id doesn't seem to have root permissions to create directories? I am trying to setup hosting 3 separate websites and therefore create 3 separate directories to manage all associated files for the 3 websites. Also, I am attempting to read through the tutorials located at:URL...

View 4 Replies View Related

Ubuntu Servers :: How To Not Change Owner And Group Permissions On User Uploads

Jul 17, 2011

In my /var/www directory, I have everything set up with:
user: www-data
group: developers
directories: chmod 570
files: chmod 460

Everything seems fine. Users from the developers group can edit files and all, but now we began using the Git repository, and whenever a user edits a file (ie. Joe who is a developer,) file permissions get screwed again. Now they're:
user: Joe
group: Joe
directories: chmod 755
files: chmod 644
How can I fix this so permissions remain the same?

View 2 Replies View Related

Ubuntu :: Unable To Change Permissions?

Jul 28, 2011

Recently I installed ubuntu 10 on my machine. Installed using windows installer and it is installed in one of the windows drive. It didnt asked me for root password, so i used sudo -i to become a root user.

now when i was trying to execute a file named all.bash [URL].. using ./all.bash but it says permission denied error. I saw that the file have only read and write permission. I tried to change the permission by using chmod u+rx all.bash but it does nothing. Is there any way to change the permissions.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved