Gentoo Archives: gentoo-catalyst

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] xorg starting wrong user permissions.
Date: Thu, 07 Sep 2006 15:34:28
Message-Id: 45003BC4.2070702@gentoo.org
In Reply to: Re: [gentoo-catalyst] xorg starting wrong user permissions. by Caleb Cushing
1 Caleb Cushing wrote:
2 > here is mys script.
3 >
4 > chown -R bgkiosk:users /home/bgkiosk/
5 > chown -R bgkiosk:users /home/bgkiosk/.*
6
7 'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines
8
9 > echo "root:*" | chpasswd
10
11 This is setting the root password to "*", which is probably not what you
12 intended to do. Also, you'll want to use single quotes in the echo when passing
13 stuff to chpasswd to avoid the shell interpolating stuff in the string. In the
14 above command, the root password is probably actually being set to a list of all
15 the files in whatever directory you're in :P Use the -e option to chpasswd to
16 have it put the password into /etc/shadow as-is. You could also use 'passwd -l
17 root' to lock the account.
18
19 --
20 Andrew Gaffney http://dev.gentoo.org/~agaffney/
21 Gentoo Linux Developer Installer Project
22
23 --
24 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] xorg starting wrong user permissions. Caleb Cushing <xenoterracide@×××××.com>
[gentoo-catalyst] Error installing cvs packages Pedro <modelo@××××××××××.es>