General :: Allowed To Remove Root File?
Jun 16, 2010
Situation as follows: i do su to root, then i create admin file with
cat > adminfile
then i exit from root issuing exit command
i can see following adminfile options
-rw-r--r-- 1 root root 10 2010-06-16 16:25 adminfile
however, after executing rm adminfile it really gets removed
-rw-r--r-- 1 root root 10 2010-06-16 16:25 adminfile
[Code]...
As i see it - others have only read permision for that file so they shouldnot be able to remove it.. :/
View 2 Replies
ADVERTISEMENT
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
May 12, 2011
I want to set security regarding with the root user. The root user must not be allowed to login directly to the service console, how will I do this?
View 4 Replies
View Related
Feb 25, 2010
I have a problem where I have certain foo.tgz files that are to big to gunzip in a directory, the box that it is on has limited space in /var/tmp for all intents and purposes. I did the standard gunzip -l to see how big the file was.
How can I look in the .tgz to see what files are there and pull out only the ones that I need. tar -t foo.tgz doesn't seem to work or am I doing something wrong?
Once I do find the file how do I only extract the one file from the .tgz, remember I can't uncompress the entire foo.tgz
View 14 Replies
View Related
Feb 20, 2010
Something has caused me to be locked out of root; the KDE login screen now says "root logins are not allowed." It's not as though I don't know the password--I set it up. I might have deleted something I'm not supposed to, because before this, root had also become invisible at the KDE login screen.
View 14 Replies
View Related
Jul 14, 2011
I m new to setup the CVS in linux , i have tried lots but every time whenever i try to commit the change in module or file this error has been generated : cvs [commit aborted]: 'root' is not allowed to commit files.
View 1 Replies
View Related
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
Mar 24, 2011
I tried to log in into squeeze as root, hoping to improve the system's fonts, but it is showing root login is not allowed!
View 14 Replies
View Related
Oct 18, 2010
whent to switch to root in KDE, and at the login attempt I got the above message.Any clue on to why?. I can logon to root from the shell, but not KDE.Will be poking around a bot more tonight and keeping an eye on here.
View 7 Replies
View Related
Dec 12, 2010
I have a server with 2 hard drives in raid for RHEL and 16 harddrives in raid 10 for storage. I was not allowed to have the root password just in case because "we don't give root password". A few days ago it crashed asking for root password for maintenance and had to restore the system to factory settings losing all user settings and updates (wich I paid for every year).
I'm not a linux guru but i can mount the system with a live cd, edit /etc/shadow and delete the root password but what I don't know is the consequence of deleting the root password. Can something go wrong after that? Can it have boot problems or something else? Can they set traps to prevent this?
Server is not connected to internet and it will never be.
View 2 Replies
View Related
May 28, 2010
While reading some papers on securing apache with selinux, I have tried to bind httpd to port 3000 expecting to be blocked by the selinux, since port tcp 3000 isn't on the http_port_t list. However I was able to start the service...
I'm preety sure selinux is enforcing. Also, if I bind httpd to tcp 81 selinux denies the start of the service, as expected!Did I miss something? Why is httpd allowed to start binded to a port that's not explicitly allowed?
View 12 Replies
View Related
Jan 14, 2011
1. Switch off your computer
2. You must press the F8 button the entire time
3. It becomes a link: correction
4. Then reset the computer to link
View 3 Replies
View Related
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
Feb 21, 2010
ubuntu@ubuntu:/usr/lib/locale$ sudo rm -R nl_NL.utf8 rm: cannot remove directory `nl_NL.utf8': Input/output error I'm having problems deleting a seemingly corrupted directory to allow for a reconfiguration of this locale, but the OS doesn't let me do it. Why?
View 2 Replies
View Related
Mar 30, 2010
i tried to run lame install. on debian lenny amd64.
sudo sh /home/levi/Desktop/lame-3.98.4/install.sh
it returned errors, and i gave up on that. but it has placed a bunch of files and directories in my home folder(not in Desktop)which are owned by root. how may i delete them?
folders are
ACM
debian
Dll
doc
[Code].....
mv: cannot move ..... to ... No such file or directory. which i at least FEEL is certainly not the case.
View 3 Replies
View Related
Jan 12, 2011
I tried Suse five or six years ago and ran into an issue that was not comfortable to work with so I went back to windows. The problem was open spaces between words was not permitted with my music files. I have transferred all of my CDs and LPs to MP3 and have a tremendous number of them and the Suse of five years ago required I convert a title like Foggy Mountain Special.mp3 into something resembling Foggy_Mountain_Special.mp3
I don't care to convert literally a hundred thousand titles to fit the latter format. Does the current version of Suse allow the use of spaces between the words or is the 'no open space' convention still required?
View 9 Replies
View Related
Sep 13, 2010
Got this message when trying to login as root on a machine running 11.2. Isee it has also appeared on another machine running 11.2. So far, 11.3 isfree of this malady. I sincerely hope this is a bug and not a feature.--Graham Davis, Bracknell, Berks. E-mail: "newsman", not "newsboy"."It pays to keep an open mind, but not so open your brains fall out." - Carl
Sagan
View 9 Replies
View Related
Feb 21, 2010
i contacted my datacenter and they say it is a browser error
but i contact some1 els and he says it isnt a browser error so he asked me to check the log files
this is what i found in my log files
[Sun Feb 21 16:36:01 2010] [error] [client xxx.xxx.xxx.xxx] Symbolic link not allowed: /home/server/public_html/files/8/9x7s9tjosopkzb/rzr-prot - BoosterKing - .iso as you see , it says not allowed
but for files smaller then 4GB is it fine (i tryed it out to 1 GB files and they are fine )
the script i use is a download script and it creates symbolic links to hide the real location of the file and to limit the download to 1 ip only (its a download script :P)
View 11 Replies
View Related
Jul 30, 2010
When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?
View 1 Replies
View Related
Nov 3, 2010
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies
View Related
Oct 4, 2010
Its my first post in here so please be patient I am trying to use regex in perl script to detect allowed words from the file and then print output to the screen.
As an example : I have text file with orders and returns :
Item2-SKU-2-11.08.2010-online
Item3-SKU-3-11.09.2010-return
Item4-SKU-4-11.09.2010-store
My question: is it possible to make sure that i am ony outputing to the screen orders based on few conditions like Item,order form e.g. online.And is it possible to have multiple matches (Item2 only diplay if ordered online etc)
View 1 Replies
View Related
Mar 10, 2010
I have a file sample.xml . If I do "vi sample.xml" I can see the following
bash$ cat sample.xml
<content/>
bash$
but I don't want the last character so that it becomes following
bash$ cat sample.xml
<content/>bash$
View 12 Replies
View Related
May 25, 2011
Dir - test - ls -ld shows ls -ld testdrwxr-xr-x 2 joe stduser 4096 May 25 16:25 testinside test dir :-rw-r--r-- 1 admin stduser 0 May 25 16:25 a.txtHow to remove a.txt with out using sudo ..I just tried sudo -u admin rm test/a.txtrm: cannot remove `test/a.txt': Permission denied
View 3 Replies
View Related
Jun 14, 2011
I installed the wrong file and now I would like to remove it. It was one of those .tar.gz files you have to install with ./configure, make, make install.I suspect files were installed all over the place.Is there a utility for removing a .tar.gz file ?
View 2 Replies
View Related
Mar 16, 2010
I can't remove a file where I am owner of :
Code:
[jonas@webserver html]$ ls -l | grep file
-rw-rw-r-- 1 jonas jonas 3323 2010-03-15 20:33 file.php
[jonas@webserver html]$ rm file.php
rm: cannot remove 'file.php': Permission denied
The directory that holds this file is html :
Code:
[jonas@webserver mysite]$ ls -l
drwxr-xr-x 2 root root 4096 2010-03-15 18:32 cgi-bin
drwxr-xr-x 9 apache webusers 4096 2010-03-15 20:34 html
View 4 Replies
View Related
Oct 26, 2010
I have a file like this:
I would like to remove a section between [first] and [second]:
Is almost what I want. I would like the section header to say in place.
Desired output:
View 3 Replies
View Related
Feb 8, 2010
I have the following share setup on my Ubuntu machine
# From /etc/fstab
//192.168.1.13/media /home/USER/SHARE/media cifs username=USERNAME,password=PASSWORD,_netdev,uid=USER,gid=users 0 0
[code]....
View 1 Replies
View Related
Dec 22, 2010
What is your favorite font that is available for Linux (anything but M$ fonts)? They can be monospaced or non-monospaced, unlike the font thread in General that only accepts monospaced ones. However, they *must* be Linux fonts; no M$ or Apple fonts allowed.
View 2 Replies
View Related
Jan 13, 2010
I have a RHEL FTP server, which i'm told is setup to only allow certain IPs to connect to the FTP site. I have two questions though.1) what file would show what IPs are currently allowed?2) what command do I do to add another IP to it?
View 6 Replies
View Related
May 8, 2010
I am trying to remove all the files in a directory hierarchy which a certain string inside the file (not the file name, it is the file content).
I can list out all the file name which has a string in the file using 'grep -r -l mystringlooking for'.
But how can I remove all the files returned by the grep ? I am trying this on ubuntu.
View 1 Replies
View Related