Gentoo Archives: gentoo-catalyst

From: Caleb Cushing <xenoterracide@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] xorg starting wrong user permissions.
Date: Thu, 07 Sep 2006 15:41:38
Message-Id: 81bfc67a0609070840h2488bc07kadb039dfcfd5f4fa@mail.gmail.com
In Reply to: Re: [gentoo-catalyst] xorg starting wrong user permissions. by Andrew Gaffney
1 I'd like to note that that really isn't the password I'm setting... I
2 changed that so it wouldn't be displayed here.
3
4 yeah I figgure the one line should handle both but it doesn't work...
5 I still have permission errors. should I maybe use the fsscript to
6 make the user instead of letting catalyst do it.
7
8
9 On 9/7/06, Andrew Gaffney <agaffney@g.o> wrote:
10 > Caleb Cushing wrote:
11 > > here is mys script.
12 > >
13 > > chown -R bgkiosk:users /home/bgkiosk/
14 > > chown -R bgkiosk:users /home/bgkiosk/.*
15 >
16 > 'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines
17 >
18 > > echo "root:*" | chpasswd
19 >
20 > This is setting the root password to "*", which is probably not what you
21 > intended to do. Also, you'll want to use single quotes in the echo when passing
22 > stuff to chpasswd to avoid the shell interpolating stuff in the string. In the
23 > above command, the root password is probably actually being set to a list of all
24 > the files in whatever directory you're in :P Use the -e option to chpasswd to
25 > have it put the password into /etc/shadow as-is. You could also use 'passwd -l
26 > root' to lock the account.
27 >
28 > --
29 > Andrew Gaffney http://dev.gentoo.org/~agaffney/
30 > Gentoo Linux Developer Installer Project
31 >
32 > --
33 > gentoo-catalyst@g.o mailing list
34 >
35 >
36 --
37 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] xorg starting wrong user permissions. Caleb Cushing <xenoterracide@×××××.com>