public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Gaffney <agaffney@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] xorg starting wrong user permissions.
Date: Thu, 07 Sep 2006 10:33:24 -0500	[thread overview]
Message-ID: <45003BC4.2070702@gentoo.org> (raw)
In-Reply-To: <81bfc67a0609070823p63934afeq4a9c083b18f99215@mail.gmail.com>

Caleb Cushing wrote:
> here is mys script.
> 
> chown -R bgkiosk:users /home/bgkiosk/
> chown -R bgkiosk:users /home/bgkiosk/.*

'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines

> echo "root:*" | chpasswd

This is setting the root password to "*", which is probably not what you 
intended to do. Also, you'll want to use single quotes in the echo when passing 
stuff to chpasswd to avoid the shell interpolating stuff in the string. In the 
above command, the root password is probably actually being set to a list of all 
the files in whatever directory you're in :P Use the -e option to chpasswd to 
have it put the password into /etc/shadow as-is. You could also use 'passwd -l 
root' to lock the account.

-- 
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project

-- 
gentoo-catalyst@gentoo.org mailing list



  reply	other threads:[~2006-09-07 15:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 22:34 [gentoo-catalyst] xorg starting wrong user permissions Caleb Cushing
2006-08-23 22:56 ` Andrew Gaffney
2006-08-24  0:18   ` Caleb Cushing
2006-08-30 20:22     ` Caleb Cushing
2006-08-31  2:09       ` Chris Gianelloni
2006-08-31  5:48         ` Caleb Cushing
2006-08-31 21:48           ` Chris Gianelloni
2006-09-01 18:49             ` Caleb Cushing
2006-09-07 15:23               ` Caleb Cushing
2006-09-07 15:33                 ` Andrew Gaffney [this message]
2006-09-07 15:40                   ` Caleb Cushing
2006-09-11 16:55                     ` Caleb Cushing
2006-09-11  0:45                   ` [gentoo-catalyst] Error installing cvs packages Pedro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45003BC4.2070702@gentoo.org \
    --to=agaffney@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox