Software :: How To Set A User To Let Him Having The Read-right As The Root

Oct 1, 2010

Assumed I have user called myUser. How to set this user to have the read-right as the root?

View 4 Replies


ADVERTISEMENT

Fedora :: Can Non-root User Read BIOS Asset Tag

Mar 12, 2010

If I'm root, I can use the dmidecode command to find out the BIOS Asset Tag value:

Code:

Handle 0x0004, DMI type 3, 17 bytes
Chassis Information
Manufacturer: xxx
Type: xxx

[code]...

Is there a way that a user without root privileges can read this value?

View 4 Replies View Related

OpenSUSE Install :: User 'root' Can Read The Content Of The File

Apr 12, 2011

I came across this issue today and it changes everything I know about file permissions in linux. I created the following files in my system :

Code:

/tmp> ls -lad /tmp/testperm/
drwx------ 2 sagi users 4096 Apr 12 20:23 /tmp/testperm/
/tmp> ls -lad /tmp/testperm/file.txt
-rw------- 1 sagi users 12 Apr 12 20:23 /tmp/testperm/file.txt

[code]....

One more thing, as you can see I also set that only the owner of the directory (which is me again) can read and cd (the execute bit) to the directory. how come user 'root' can read the content of the file ?

Code:

# id
uid=0(root) gid=0(root) groups=0(root)
# cat /tmp/testperm/file.txt
Hello world

[code]....

View 9 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

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.

I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.

1. is it possible to block outgoing ports on Ubuntu?
2. is that the best method?
3. is there anything else I should be aware of to prevent subversion?

lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?

View 1 Replies View Related

Fedora :: Root User Won't Be Able To Read "active" Xguest Home Directory

Aug 31, 2011

Xguest uses namespace.d/xguest.conf.

[code]...

root user won't be able to read the "active" xguest home directory (ll /home/xguest will only show an almost empty folder with content from /etc/skel). How can a root user list the folder of an the xguest home directory (while xguest is logged in)?

View 9 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 :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.

View 9 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

General :: Did Not Find Any Option For Root Password For Root User In Ubuntu 9.10?

Mar 2, 2010

i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root

View 1 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

Dec 2, 2010

i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode

View 5 Replies View Related

OpenSUSE Network :: Root User Has Access To Remote Folders/files Of Any User?

Jan 21, 2010

Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).

I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.

View 3 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

Ubuntu :: Root-User : Unset The Root Password?

Oct 14, 2010

A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.

View 9 Replies View Related

Ubuntu :: Convert Read-Only Root FS To SquashFS?

Apr 5, 2010

in the right direction to convert my root to a squashFS image.I currently have a working read-only root file system that I setup using the the AUFS tutorial.How can I convert this to a squashFS image, and then configure initrd and grub to mount it during boot?

View 4 Replies View Related

Ubuntu :: Read-only Root And Can't Edit Fstab

Apr 19, 2010

I was unable to boot into Ubuntu 9.1 today because the file system is now read only. When I check fstab, it shows "ro" but I can't change it because it's on a read only file system. I tried umounting the root then remounting with read/write access, but I was unable to umount the root. I also tried booting with a live CD, but all I can find is the root.disk file, I can't see any of the file structure. That's probably just how it is supposed to be, but I'm new to Linux so I found it strange. method to either change the disk to read/write besides this?sudo umount /mount -o remount,rw /The other option would be to somehow mount the disk image while using a live CD so that I can get to the fstab file and edit it.

View 9 Replies View Related

General :: Make A File Read-only Even For Root?

Jun 2, 2010

Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:

Code:

attrib -r hello.txt

The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?

View 9 Replies View Related

Security :: Get Root Through TR069 And Read Access?

Jul 13, 2010

I have an ADSL modem and router, its OS is linux. It runs ftp service, and I can read files in its file system, but I have no permission to list files and to write files. It has TR069 protocol connections and can upgrade remotely.It has ssh, but not started.

View 1 Replies View Related

Server :: Root Filesystem Keeps Going Read Only / Why This Happening?

May 21, 2009

I'm running CentOS 4.3 on a VM which is an application server for Quinstreet. trouble is when i keep coming in during the mornings it seems to keep making this root filesystem read only. There is no pattern for this and neither is it clear in the messages log why this keeps happening.

View 5 Replies View Related

General :: Setup A Read Only FTP User?

Oct 19, 2009

Hello, I'm trying to set up a read only FTP user; basically, they have the ability to browse a particular images folder and download, but not write (or delete accidentally). I've got it set up so the FTP user logs in directly to the folder, so I'm good with that; but they still have write permissions. We have an application built in PHP that copies image uploads to this folder; it also resizes them in the same folder. So in addition to the main FTP user (me) who needs write access to this folder, whatever the Apache/PHP user is (not sure?) also needs write access. Is there a simple way to affect read/write permissions on a user level?

View 4 Replies View Related

General :: Recommend For A New User To Read?

Feb 20, 2011

This is my first post and there probably will be many more. I've used linux before for short periods but never really tried to learn it. I've decided that I want to study linux and learn as much as I can about it. I dont hate windows or OSX but I really like problem solving and using the command line. Which I used to love with DOS.

I'm going for a complete career change so I want to get certified in Linux by taking the LPI test so I can show employers that I have some computer certification(In Japan it really helps). Now, I'm studying commands and trying to do simple tasks(just playing now) but want to get into it more.

Question: What books do you recommend for a begginner with just dos and windows problem solving experience to start learning linux? Also, what programing language should I pick up a bit for linux?

View 7 Replies View Related

Programming :: Cannot Prompt User In While-read

May 15, 2011

I'm facing a problem in a - at least I though it would be - simple BASH script. I use 'awk' to find matching lines in a file, and then use while-read to modify each line matching the expr casted in awk. It looks like this:

Code:

function foo() {
awk '$NF~/^./{print $NF}' FILE.TXT|while read line; do
bla bla bla ...

[code]....

However, each time the execution hits the 'read choice' line, it doesn't prompt - as well as pause the excution - the user for a choice: it just passes it. This problem just happens inside the while loop.

View 4 Replies View Related

CentOS 5 :: User Database Cannot Be Read?

Mar 21, 2009

This situation after a mains power failure took server down.Log oonto server with root, go to Admin > users and get this message:" The user database cannot be read. This problem is most likely caused by mismatch between /etx/password and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."

View 2 Replies View Related

General :: Make The Root Device Read/write?

Mar 4, 2011

I need to change a filename but when I boot up I get the message root device is read-only. Is there a way of changing this so that I can change the filename. I have a Mac Pro running Leopard OSX. The graphics card an NVIDIA 7500GT or driver has failed. It was suggested elsewhere that I change the relevant kext files to filename.kext.old, which I did, now when I try to boot start in OSX I get a message in various languages telling me to restart. I have tried booting in safe mode and from original Installation CD. In Safe Mode I get the same multi language splash screen, from CD I still have the graphic card problem, screen freezes and artifacts appear. So I boot up straight into CLI by holding down CMD-S hoping to be able to change filenames back but it says device read-only.

View 2 Replies View Related

General :: Read User Guide In Apt-doc On Ubuntu?

Jun 16, 2011

I just installed apt-doc package. My question is how do I read the User Guide in this package ? In general how do I use the items from a package once I install it ?

View 2 Replies View Related

General :: User Creation (with Only Read Only Access)

Feb 3, 2011

I need to create a user with least permission on the production server. He should only be able to read or execute the files that to be specific. For example: I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).

How would i proceed about this.

View 1 Replies View Related

Server :: Cannot Assign Read Access To User

Feb 18, 2011

ls -al /guests

I want to be able to assign the group "readers" read access to guests/c1 but it says access denied. but it shows r-x acsess. i want to be able to control who has read access and not just give it to everybody.

View 2 Replies View Related

Server :: Openldap 2.3.43 Directory Read Only User?

Mar 8, 2011

I have no ACLs in place yet but want to use a user called ldap-auth-user to bind to the ldap servers directory from the client servers. However I keep on getting ldap_bind: Invalid credentials (49). Error. I know the UserPassword is correct because I can log into a server using that id and password through the LDAP directory. I am guessing it has something to do with the way I created the account.

This Works:

ldapsearch -D 'cn=Manager,dc=test,dc=com' -x 'uid=testuser' -W

This Doesn't:

ldapsearch -D 'cn=ldap-auth-user,dc=test,dc=com' -x 'uid=testuser' -W

Here is the ldap-auth-users entry in the directory

[root@ldap-build-01 ~]# ldapsearch -D 'cn=Manager,dc=test,dc=com' -x 'uid=ldap-auth-user' -W
Enter LDAP Password:
# extended LDIF

[code]....

View 6 Replies View Related

Programming :: Read Information About User Activity?

Jan 2, 2010

I wonder if there is any chance to read the last time when the actually logged user have changed the mouse cursor and stroke the key.

View 3 Replies View Related







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