! ! Debian ! !
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
leejosepho@xxxx:~$ /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
leejosepho@xxxx:~$ su
Password:
su: Authentication failure
leejosepho@xxxx:~$ su
Password:
xxxx:/home/leejosepho#
The "xxxx" is my own edit here, but what is going on there?
I have some services I thought looked unnecessary disabled. Have I already disengaged myself?!
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
I got this:
=====
leejosepho@xxxx:~$ sudo nautilus
sudo: unable to resolve host xxxx
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for leejosepho:
leejosepho is not in the sudoers file. This incident will be reported.
=====
Did that get reported to you, or to Fuzzy, eh?!
That took me to a folder, so that seems to work.
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
Both can be found in synaptic ...
... can you test it since you are running pure debian? It works just like sudo but its for anything that should open a gui. Thanks!
I found those in Synaptic and installed them, but I also got some kind of "netatalk" error during that installation. Maybe that is why, or maybe not, but I got "Command not found" when I tried "nautilus-open-terminal" AND "nautilus-gksu" after "su".
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
I got this:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for leejosepho:
leejosepho is not in the sudoers file. This incident will be reported.
=====
That is the usual error message it gives if a user tries to use sudo and isn't in the sudoers file. It assumes that it's a big system with a dedicated System Administrator who only allows certain persons sudo access... Which isn't a totally accurate assumption on a single-user machine.
_________________
"A dead thing can go with the stream, but only a living thing can go against it." --G. K. Chesterton
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
Ah, that makes sense. I have a "single user" option in my overall (GRUB) system-startup menu, and maybe it would be better for me to use that after giving myself whatever permissions I might need there. Debian is now my default OS, but it will take me a while to get set up here and add some HotMail folders, and I also want to try to add a custom launcher for my Bookmarks (Favorites) on my upper bar. Until now, I have been using just one Favorites folder for all Windows systems, and I still have that folder of shortcuts available on the task bars in those other systems.
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
Actually single user mode is a special debugging mode where you get logged in as root and the root filesystem gets mounted read-only. Which is great for troubleshooting, but not for normal everyday use. (Kinda-sorta like windows safe mode, if you know what that is.)
Sorry about the confusion, I should have phrased my answer more clearly. Running in multi-user mode is the normal way for unix systems to operate, even if they only have one actual user.
_________________
"A dead thing can go with the stream, but only a living thing can go against it." --G. K. Chesterton
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
#
# deb cdrom:[Debian GNU/Linux 5.0.5 _Lenny_ - Official amd64 CD Binary-1 20100626-18:35]/ lenny main
deb cdrom:[Debian GNU/Linux 5.0.5 _Lenny_ - Official amd64 CD Binary-1 20100626-18:35]/ lenny main
deb http://ftp.us.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
Looks correct. I would make some very slight changes:
# deb cdrom:[Debian GNU/Linux 5.0.5 _Lenny_ - Official amd64 CD Binary-1 20100626-18:35]/ lenny main
# deb cdrom:[Debian GNU/Linux 5.0.5 _Lenny_ - Official amd64 CD Binary-1 20100626-18:35]/ lenny main
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
That comments out the CD (so it won't ask you to insert your installation disk during package management) and adds the contrib and non-free repos (so you have more software available).
=====
leejosepho@xxxx:~$ sudo nautilus
sudo: unable to resolve host xxxx
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for leejosepho:
leejosepho is not in the sudoers file. This incident will be reported.
=====
Did that get reported to you, or to Fuzzy, eh?!
Yeah, that's the default behavior in Debian. They still stick to the old-school UNIX way of doing things, rather than the Ubuntu/OS X way of using sudo for permissions. I don't know why it says unable to resolve host, though.
OK, just be careful. You should only use root (or root file windows) when it denies permission to your regular account. Using root for everything can risk screwing stuff up pretty badly.
I am interested in what the response is to 'gksu nautilus' issued as a normal user.
_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
=======
gksu nautilus
(nautilus:3972): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
seahorse nautilus module initialized
Initializing nautilus-open-terminal extension
Initializing gnome-mount extension
leejosepho@xxxx:~$
========
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
I sure hope this does not turn out to be like Windows 7 continually telling me I do not have have permission to do stuff. I understand needing a bit of security and a safety net or two, but I absolutely cannot and will not tolerate arguing with a damned machine!
I have spent a couple of hours now trying to get my printer connected, and I am reasonably sure that is possible ... but I have absolutely no idea what to do with any of the menus showing up, and the installation help at the CUPS sight can only get me as far as I can go until my username and password are refused and "permission" is again denied! Somebody over on the Debian forum said I need to make myself part of some group, but I cannot find any information anywhere about how to do anything like that.
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
It may partly be my fault. As Ubuntu drifts away from Debian through the years certain applications may no longer be available or function correctly.
For example, ubuntu made efforts to migrate some of the critical stuff to a safer protocol. I dont know that Debian did that as well. I forget the name of it currently, but maybe Orwell remembers. We talked about it a few times.
_________________
davidred wrote...
I installed Ubuntu once and it completely destroyed my paying relationship with Microsoft.
I have spent a couple of hours now trying to get my printer connected, and I am reasonably sure that is possible ... but I have absolutely no idea what to do with any of the menus showing up, and the installation help at the CUPS sight can only get me as far as I can go until my username and password are refused and "permission" is again denied! Somebody over on the Debian forum said I need to make myself part of some group, but I cannot find any information anywhere about how to do anything like that.
'man visudo'
'man sudo'
Good luck. I never did have the patience to work through the /etc/sudoers documentation. I just authenticate as root when necessary in Debian. If you ever do get yourself added to the sudoers file, everything should behave properly as it does in Ubuntu or Mint.
_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
All is well here, I was just tired and grumpy last night and I need/want to get my printer working.
At the moment, I continue to occasionally receive some kind of netatalk error, and my efforts to either remove or re-install netatalk in order to be rid of that error seem to have failed because of it! So, what to do there?
HP does not offer any Linux software or drivers for my F2430 printer, but I did find some kind of file (hpc2430s.ppd.gz) for it at CUPS even though the installation routine available there does not list my specific model. That CUPS installer does allow me to browse for that file on my Desktop, however, but then I cannot get past the next part asking for my username and password. It was at that point someone said I needed to make myself a member of the "lp" group, and I have done so, but now I still cannot get past that prompt.
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
leejosepho
Veteran
Joined: 14 Sep 2009
Gender: Male
Posts: 9,011
Location: 200 miles south of Little Rock
In Synaptic, I just re-installed everything that came up after a search for "apple", and I again ended up with "E: netatalk: subprocess post-installation script returned error exit status 1".
... and I just got the same after trying to re-install netatalk all by itself.
_________________
I began looking for someone like me when I was five ...
My search ended at 59 ... right here on WrongPlanet.
==================================
