Debian :: Edit File As Admin?
Apr 2, 2011
I logged on, opened the terminal an logged on as su no problem Could not open the document I wanted to edit. I am trying to switch from USB 0 to USB 1 so I can listen to my Bose Speakers used to be Windows tech. Many years ago.
How do I open the file edit the file save the file. can I log on as admin and use text editor.
View 4 Replies
ADVERTISEMENT
Mar 3, 2011
I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?
View 7 Replies
View Related
Feb 12, 2011
I'm a new Ubuntu user and a Python programmer, it's the first time that I use Python in Ubuntu so it's a bit confusing me. If I want to save a Module or something in a specified map, I get 'Errno 13', it says that I don't have permission to edit, do thing in that map. And this is also for importing files with Python. I logged in from Terminal with 'sudo -i' and closed Terminal, but the problem keeps repeating. How do I login as Admin or Root and stay as Admin or Root? I need right to edit/read files as well as root and normal user.
An example:
Python file:
test.py ->
test = open('/a.txt', 'w')
test.write('Test - Test - Test')
test.close
When I execute this, I get in the Python IDLE the 'Errno 13' problem and below the 'Errno 13' it says that I don't have permission. Who know how to stay logged in as root, even if the user has not logged in or isn't this possible, if it isn't then I just want to get files moving, editing/erasing etc.
View 9 Replies
View Related
May 12, 2010
[code]...
to do administrating job by clicking "Adding Printers and Classes" or whatever. However, unfortunately, what I get today is
Iceweasel can't find the file at /usr/share/doc/cups/online-docs/admin.
So, click "Overview of CUPS" insted, then scroll halfway down, click "Administration" under Where Do I Begin? BINGO, you can proceed. My penguin is Debian squeeze AMD64.
View 1 Replies
View Related
May 13, 2010
I need to edit my xorg.conf file. I can navigate to it in Terminal but do not know how to open it. If I navigate to it outside of terminal I can change it but cannot save the changes (not allowed) I can't seem to find a "how to" for this. (Debian 504 on a Toshiba laptop)
View 3 Replies
View Related
Jun 24, 2010
I am trying to edit the file shmmax in proc/sys/kernel/. I want to increase the value. I am using vim to edit it. But when I try to write and close the file I get the following error: "shmmax" E667: Fsync failed Press ENTER or type command to continue
View 3 Replies
View Related
Jun 24, 2010
I am trying to edit the file shmmax in proc/sys/kernel/. I want to increase the value. I am using vim to edit it. But when I try to write and close the file I get the following error:
Quote:
"shmmax" E667: Fsync failed
Press ENTER or type command to continue
I have read that this can be cause by a full disk. I checked with df and have plenty of space available.
View 3 Replies
View Related
Jun 8, 2011
I'm trying to add my single user 'moreaue' to the sudoers. this user seems to be have admin privilege but is not in the sudoers:
Code:
moreaue@bloom:~$ sudo ls
[sudo] password for moreaue:
moreaue is not in the sudoers file. This incident will be reported.
moreaue@bloom:~$ su
Password:
root@bloom:/home/moreaue# adduser moreaue admin
The user `moreaue' is already a member of `admin'.
root@bloom:/home/moreaue# exit
exit
moreaue@bloom:~$ sudo ls
[sudo] password for moreaue:
moreaue is not in the sudoers file. This incident will be reported.
moreaue@bloom:~$
As you can see I can connect as root, run the adduser command which says the user is already admin... but then the user is still not a sudoer. Of course I can edit the sudoers file manually, but I wonder what is going wrong?
View 7 Replies
View Related
Sep 1, 2011
I've been having a very strange problem, and not sure for how long... but basically, my system wont allow me to change file permissions, even in root mode! I run Ubuntu 10.10 with Gnome and LXDE, kernel 2.6.35-30-generic. It's particularly problematic if I want to run some binaries or programs that you need a shell script to start up (i.e. any new version of Firefox). The usual right-click then going into permissions doesn't work, it just resets whatever changes I make. The weirdest thing is that using the chmod command as root also has no results! The files keep the exact permissions they had before...
View 4 Replies
View Related
Sep 14, 2010
A regular (non admin) user can create a Truecrypt 7.0a file, but it can't be mounted. The admin password is refused. If you try the regular user password, the error is that you are not on the sudo list.
View 1 Replies
View Related
Aug 24, 2010
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies
View Related
Jan 4, 2011
i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.
View 2 Replies
View Related
May 1, 2010
I just installed ProFTPD. So I want to create a user namely ftpadmin. He belongs to the new usergroup ftpuser that I just created.
sudo groupadd ftpuser
sudo useradd -s /bin/false -g ftpuser -d /var/www ftpadmin
sudo passwd ftpadmin
.....
chmod -R g+w /var/www
and when I followed the tutorial
chown -R ftpadmin /var/www/*, chgrp -R users /var/www/*
it returned an error "invalid mode: ftpadmin " why?I want my users to login my server via FTP
View 1 Replies
View Related
May 18, 2015
I'm new to LDAP. I've installed LDAP Server and I stated:
Code: Select allaccess to * by * write
I can login with admin and anonymous, but when I try non-admin user ldap respond:
Code: Select all conn=1137 op=2 RESULT tag=97 err=49 text=
Is there any requirements for creating a non-admin login user, because the "user", that I've created is not ObjectClass: Posix-Account, but ObjectClass: person, organizationalPerson?
Also I've tried to add ObjectClass shadowAccount and SimpleSecurityObject, but without any success...
View 0 Replies
View Related
Jan 11, 2016
receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:
1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).
2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.
I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.
View 14 Replies
View Related
Feb 25, 2011
when I try to su, with the right password I know it is because I have reset it with a sudo, it says su: incorrect password. Looking at /var/log/messages I see su: Unable to open admin password file: Permission denied. This must mean that the file has incorrect permissions and or owner/group. I am wondering if anyone knew where the file was located and the correct permissions/owner/group.
View 3 Replies
View Related
Apr 4, 2016
I use two separate systems both running Debian 8. On one (my main) I can't do some commands including ping, shutdown and reboot without running them as root user, however on my other system I can ping and reboot as a non-privileged user. The permissions on both systems are the same for /bin/ping and /sbin/systemctl (reboot). I thought at first it was something to do with what groups my main was in, but that doesn't seem to be the gase.
I know I can fix it by setting setuid for both, but my question is why is it different on both machines? Is there a global setting controlling this in /etc or perhaps an icmp setting?
View 7 Replies
View Related
Feb 7, 2016
I made the mistake of using the command 'adduser' on an already existing user. I was incrementing a name and mis-typed. Now the account refuses to recognize the users password. The user can get in.
I tried resetting the password as administrator (passwd 'user'), but when the user tries, the new password isn't recognized.
I tried expiring the account password (passwd -e user). The user gets prompted for a new password, but the new password still doesn't get recognized.
View 14 Replies
View Related
Apr 5, 2011
I want to automate my tasks of administrator using shell scripts like changing owner of a file which usually only the super user which requires password can change i want to do this thing using shell script how to do?
View 4 Replies
View Related
Feb 1, 2016
I installed it from the packages list and the eye candy has been good.
However, in trying to fix an error showing up in syslog
Feb 1 17:37:38 host ntop[30764]: **ERROR** Buffer too short @ dataFormat.c:144 (increase to at least 56) [230982 years, 187 days 7:107374]
I started looking at the configuration files; well attempted. It asks for a login. It isn't any user or root, but apparently is admin, but IO don't ever remember setting it.
Various web search suggests it is done at compile(downloaded compiled) /installation, but I have no recollection of entering any.
There is a Redhat/Centos wrinkle ntop -set-admin-passwd=password; but that puts out a lot of lines, then hangs and has no effect.
Note, despite message(old version of ntop), it is up todate in packages.
View 2 Replies
View Related
Feb 27, 2010
I have Linux computers that are often on client networks inside firewalls . They have access to the internet but I can't access them directly. I don't want to have to get the client to mess with NATing , etc . I have written a system that uses XMPP to allow me to send commands to the computers and run simple console commands which often time is enough. These are things like run a report and ftp up to server, restart a process, give me a process list. It works OK, but some networks even block this (Googletalk is not universally loved for some reason)
I am wondering if there is a prebuilt system that allows me a computer inside one firewall (say a standard adsl modem created one) communicate in some way with a computer inside a network created by another adsl modem. I could see some sort of console like logmein or pc anywhere but as much as I have looked I can't find anything. I have considered writing a cheap and cheerful system in http or even a TCP system using asyncore in python but there must be something existent. I have a server on the web that could be used as an intermediary, relay type thing. Basically some sort of chat server for consoles is what I am thinking about. Is there some sort of SSH voodoo that I could bridge/tunnel/vpn through.
View 3 Replies
View Related
May 7, 2015
I'm using Debian Jessie Cinnamon right now. I've got 1 user account on my machine--fred--as well as root, of course. "fred" is an administrator, and many times that is enough for root priviledges, for example, I can install packages via apt or dpkg. However, I cannot access "Users and Groups", or install packages via GDebi, with my password. For that, I have to have the root password.
I know that it is possible to let the admin account handle everything and not even need root--for example, Mint and (I believe) Ubuntu do it this way. I don't know how, though.
Code: Select allgroups fred
fred : fred cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth
I did disable the root account by Code: Select allsudo passwd -l root to see if it would make any change. Nothing different happened except that I now can't use GDebi or access "Users and Groups" since the root account and therefore password is inactivated. Not a big deal to get it back, though.
View 10 Replies
View Related
Feb 19, 2010
The biggest problem for me is user management and passwords.
Till know my email server use passwords from system users /etc/passwd. I would like to have a server where user which doesnt have an access to console can change the password in webmail panel (RoundCube, SquirrelMail)
Do You have any suggestions ? Or maybe You know some complete systems with nice admin and user panel ?
View 1 Replies
View Related
Jun 16, 2011
What I am trying to do is edit the link target to force ip=xxxx.xxx.xxx string at end. I have a software program which access 4 different servers running the software but with different configs. In xp I can copy links and modify as above to correctly force the program to the various servers.
I have read the various how tos on hard vs sym links which I get. Playing around with hardlinks and sysmlinks (the examples I find) does not seem to be what I need. Feel like this is pretty basic stuff but I am a bit stumped.
View 1 Replies
View Related
Jul 1, 2011
I would like to install a more modern version of GNU utils (coreutils) on a debian linux system where I have no admin rights. Is there a way to do that?
The rationale is that I need a more modern version to the one installed in the system where I intend to run my analysis. I am trying to use "sort -R" or "shuf" to randomize lines in a big text file.
View 1 Replies
View Related
May 7, 2010
I am trying to edit a C++ source file, but gedit wont allow me to save changes to it. Gedit says:
Code:
A file with the same name already exists. Please use a different name.
Right. Of course the file exists, I am trying to edit an existing file.
About the same happens with kate... Kate opens the file in read-only mode.
However, if I edit the same file with nano, editing and saving works. So the problem shouldn't be with access rights. Also "ls" shows rw rights to the file.
What could be the problem? I can use nano, but I would need the syntax highlightind, and other features of a better editor.
And whether I use sudo or not has no effect. The same happens with or without sudo, and I am the owner of the file.
PS. luckily I am still dual booting with Hardy. I can always go back.
Oh and this is a new installation of ubuntu 10.04
View 2 Replies
View Related
Jul 8, 2010
What linux software is available that allows you to edit a PDF file?
View 8 Replies
View Related
Sep 4, 2010
I need to change one word in over a thousand pages of HTML. I think sed is the only way to do this, but I've never used sed before.
After reading the documentation, I see that it is pretty easy to alter files to standard output, in other words, the screen.
But I don't want to do just alter text to the screen, I want to alter the original file, else I am not doing any Stream EDiting as near as I can tell.
None of the documentation explains how to take a file, apply sed to alter that file. How do you do this?
Code:
[myuser@myhost dir]#sed s/changethis/tothis/ /mydir/myfile
How do I apply sed to actually make the changes to myfile?
View 3 Replies
View Related
Nov 3, 2009
I have installed Centos on my pc. Then I installed Emacs for text editing. when I brows on www folder and try to open a php file it opens but I don't have permission to edit the filehow can I open a file with Emacs with edit permission?
View 2 Replies
View Related
May 1, 2010
How to edit a ISO 9660 file? I have one which I created using livecd-creator. Now I want to edit some of the files in it and save the changes. I have searched the guides and solutions for something and perhaps I overlooked it but I did not find anything.
View 5 Replies
View Related