Re: Maintaining Users Passwords Through an Upgrade
by John M Cavallo
On Saturday, December 10, 2011 10:37:05 AM Genes MailLists wrote:
> On 12/10/2011 10:29 AM, johnc0102(a)verizon.net wrote:
> > I maintain a server with a number of users, and just recently upgraded
> > to
> >
> > Fedora 16 from Fedora 11. I did a clean install so all of the users now
> > have
> >
> > to reset their passwords. The question I have is: what is the preferred
> > method
> >
> > of managing user passwords so that their passwords will carry over to
> > the new
> >
> > installation? Should I set up a NIS server on the machine? Would that
> > maintain
> >
> > the passwords across the upgrades?
>
> You could - or you could use LDAP (preferred but more complicated) or
> the simplest is you could keep the user parts of
>
> /etc/password
> shadow
> group
> gshadow
>
> and edit them back into the fresh install files.
Sorry about the HTML in the original post. I was forced to use a different mail
client that was I was unfamiliar with. Hopefully this is plain text.
I did save the password and shadow file, but it looks like the seed for the
hash function changes through the upgrade. I admit that I didn't try using old
files, though.
12 years, 5 months
suid mystery
by Dean S. Messing
I have a little suid mystery that perhaps someone would
kindly help me solve. I just discovered that the files and
symlinks in
/usr/lib64/mozilla/plugins-wrapped
get their "Modify time" updated each time I start firefox
as me (not root). I just re-started firefox (at 17:19)
and here is 'ls -l' of one of the files in the above dir:
-rwxr-xr-x 1 root avdt 140440 Dec 9 17:19 nswrapper_64_64.libflashplayer.so*
Now, I'm in group "avdt" so it is clearly "me" that
updated (or first created) this file. Yet the above
directory has these perms and ownership:
drwxr-xr-x 2 root root
Since neither the directory, nor the files have
group write permission, it seems that firefox must be suid
root in order to modify these files (if I understand
correctly). But neither the shell script
"/usr/bin/firefox", nor the executable that (I think) it
calls "/usr/lib64/firefox/firefox" has the SUID bit (nor
the SGID bit) set in its perms.
So how can it update these files? I did not think that firefox could
touch any of my "system" stuff.
I'm running F15 and firefox-8.0-3.fc15.x86_64, if that
makes any difference.
Thanks for your help!
Dean
12 years, 5 months
Re: Remotely shutdown multiple PCs via script
by Alan Stern
On Fri, 9 Dec 2011, Frank Elsner wrote:
> > On Fri, 9 Dec 2011 14:16:00 -0500 (EST) Alan Stern wrote:
> > On Fri, 9 Dec 2011, Doug Kuvaas wrote:
> >
> > > Here is what I am trying to do:
> > >
> > > >From a central server running HP-UX, I would like to shutdown multiple
> > > Fedora PCs using a script. This in itself is not a problem. I have an
> > > account on the machines added to the sudoers file to allow them to shut
> > > down the systems, and connect to said systems using ssh. I can get the
> > > systems to shut down remotely using the command ssh -t user@host "sudo
> > > /sbin/shutdown -h now". If I run the script on the host computer it works
> > > like I would expect.
> > >
> > > The problem I am running into is the host computer is typically accessed
> > > through one of the Fedora PCs being used to shut it down. So when I run
> > > the script, it gets to the point where it is telling the current computer
> > > to shutdown, the script is terminated and no further systems shut down.
> >
> > > Anyone have any ideas?
> >
> > When invoking the script from one of the PCs, run it in the background
> > (maybe with nohup) so that it doesn't get killed when the PC shuts
> > down.
>
> Whou! Programs started with nohup keep running after shutdown! Get real.
Yes, of course programs started with nohup don't keep on running after
shutdown. That's not Doug's problem, however (although it may be a
little hard to tell because of a grammatical mistake in his original
post).
His problem is that programs running _on the server_ need to keep on
running after the _PC_ is shutdown. That's exactly what nohup will do.
Alan Stern
12 years, 5 months
Favorites Icon Size
by Smith, Herb
All,
Is it possible to change the icon size in the Favorites launch bar? I haven't found anything that indicates how to do that.
TIA
Herb
12 years, 5 months
Remotely shutdown multiple PCs via script
by Doug Kuvaas
Here is what I am trying to do:
>From a central server running HP-UX, I would like to shutdown multiple
Fedora PCs using a script. This in itself is not a problem. I have an
account on the machines added to the sudoers file to allow them to shut
down the systems, and connect to said systems using ssh. I can get the
systems to shut down remotely using the command ssh -t user@host "sudo
/sbin/shutdown -h now". If I run the script on the host computer it works
like I would expect.
The problem I am running into is the host computer is typically accessed
through one of the Fedora PCs being used to shut it down. So when I run
the script, it gets to the point where it is telling the current computer
to shutdown, the script is terminated and no further systems shut down.
I have tried changing the command to the following:
ssh -t user@host "sudo /sbin/shutdown -h +1" but the script wants to wait
for the shutdown command to complete, which takes a minute.
ssh -t user@host "nohup sudo /sbin/shutdown -h now&" but the command seems
to never even run (there is no nohup.out file generated)
ssh -t user@host "echo 'sudo /sbin/shutdown -h now' | at now + 1 minute"
but the command never seems to run
I have made another script on the target PCs that merely consists of a
sleep command followed by the shutdown command and tried the above with the
same result. I have also tried using screen but again it seems like it
doesn't work properly.
Anyone have any ideas?
Thanks
12 years, 5 months
Boot-time messages under Fedora 16
by Alan Stern
Under Fedora 14 and earlier, boot-time messages get stored in
/var/log/boot.log. Things like "Welcome to Fedora" and "Starting
udev:" would appear there.
After I upgraded to Fedora 16, this no longer works. Nothing gets
written to /var/log/boot.log. All the output from systemd simply gets
sent to the console, where it scrolls off the screen and is lost.
My /etc/rsyslog.conf file still contains the same old setting as
before:
# Save boot messages also to boot.log
local7.* /var/log/boot.log
But it doesn't do any good. In particular, systemd's output goes
directly to the console and not to the log.
Is this deliberate? Or is it a bug in systemd? Is there any way to
capture these messages?
Alan Stern
12 years, 5 months
Using Draftsight on a 64 bit system
by antonio montagnani
Planning to switch some systems to 64 bit.
Is anybody running on a 64 bit
system??
What are the tricks to follow??
Tnx
Antonio Montagnani
Fedora 16 Verne (Linux)
Alice webmail
12 years, 5 months
FC16 newbe questions
by Robert Moskowitz
So I skipped FC15. I never worked on Vista of WIn7, always using the
'classic' windows desktop in XP. So I have some REAL challenges
adjusting th GNOME in FC16....
Like where are my workspaces? I work with 4 of them for my different
set of jobs. Maybe with the added memory on this lenovo, I might go
with 6...
Where are the System Admin tools like Services and Printer? Oops just
found Services in 'other'.
I LIKE keyboard shortcuts like Alt-F1 and arrow keys to select what I
want to start without all this messy desktop icons nonsense.
Getting info on workspaces is probably my first concern, but where is
some decent info on how to navigate around now?
12 years, 5 months
Gnome Shell x Network Manager crash
by Fernando Lozano
Hi there,
Since yesterday my gnome desktop (F16) crashes as soon as Network Manager
gets a network connection, either wired or wireless.
I can't remember doing any update between working and non-working states.
But later yesterday I installed all upgrades and the problem remain. You
tell there's currently no updates available.
If I do not connect to network, gnome shell is fine. If I plug an external
monitor, which forces my gnome shell into the "emergency mode", I can use
network without problem. If I log into Xfce or on text mode, networking is
fine too.
The machine is an Atom N470 netbook from LG (model x200) with Intel N10
video (from lscpi), 2GB RAM and 320HD. It just worked with both F15 and F16
so far, no need to install any proprietary driver for anything.
What can I do to troubleshoot this? Anyone with similar problems?
[]s, Fernando Lozano
12 years, 5 months
Can RedHat get-into an OS to determine an OS's intentional faults via the Net..?
by Linda McLeod
"Mindless toilet-class kooks" are targeting my PC's via the Internet..
I got this message mess when I attempted an update...
_____________________
Error Type: <class 'yum.Errors.ConfigError'>
Error Value: File contains no section headers.
13:15:51 : network interface eth0 (tg3) is connected
13:15:51 : Connected to an network
13:15:51 : network interface eth0 (tg3) is connected
13:15:51 : Starting yum child process
13:15:57 : YUM: Yum Version : 3.2.28
13:15:57 : YUM: Loaded plugins: langpacks, presto
13:15:57 : YUM: Adding en_US to language list
13:15:57 : YUM: Traceback (most recent call last):
13:15:57 : YUM: File "/usr/share/yumex/yum_childtask.py", line 66, in
<module>
13:15:57 : YUM: my = YumServer(debuglevel, plugins, offline, repos,
yum_conf)
13:15:57 : YUM: File
"/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 190,
in __init__
13:15:57 : YUM: self.repos.setProgressBar(self.dnlCallback)
13:15:57 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 823, in
<lambda>
13:15:57 : YUM: repos = property(fget=lambda self: self._getRepos(),
13:15:57 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 548, in
_getRepos
13:15:57 : YUM: self.getReposFromConfig()
13:15:57 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 440, in
getReposFromConfig
13:15:57 : YUM: self.getReposFromConfigFile(repofn,
repo_age=thisrepo_age)
13:15:57 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 369, in
getReposFromConfigFile
13:15:57 : YUM: raise Errors.ConfigError, msg
13:15:57 : YUM: yum.Errors.ConfigError: File contains no section
headers.
13:15:57 : YUM: file: file://///etc/yum.repos.d/skype.repo, line: 2
13:15:57 : YUM: 'run\n'
_____________
What the AH's are doing to my PC's OS is what the diaperhead coke-soaked
black-h's are doing to other's PC's to pester them/us/me/you.. Seems it
be the police who are doing a lot of the cracking in this world.. It's
probably too much cocaino usage by the so called "authorities", who seem
to place themselves above the law, because they can.. What do I need to
do for RedHat upload a copy of this OS's bullied-faults on the hd, for
RedHat to determine the extent of the black-h's tampering, to build
safeguards and blocks, to make Fedora more secure..? Me thinks,
determining the crap that's happening to my PC's OS's should expose and
direct to RedHat Security Writers to the extent, qualitatively and
quantitatively, into the physics of such attacks...
Seems I must DBAN-autonuke this hd, and reinstall F-14.. unless someone
has a viable solution to alleviate this mess..
This is my ageing mum's secondary-computer.. She is 88.. I'm trying my
all to get her to come over to Linux, and to allow me to trash the
m'soft-sewage in her computers...
It's embarrassing that this government is so void of common decency, as
to get their sickly libido-rushes by attacking the life of an innocent
good honest dying old lady who is doing only good for the human race..
My only consolation in this mess is "what goes around, comes around"..
I'm sure they'll get their's Harder than I can even begin to imagine...
Can this OS mess be easily repaired, or must I format the hd..?
Is F-15 or F-16 more secure than F-14..?
What be the very most secure Linux distro on the planet..?
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
12 years, 5 months