Skip to Content.
Sympa Menu

baslinux - Re: [BL] BL3 as 'user' D

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Karolis Lyvens <karolisl AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] BL3 as 'user' D
  • Date: Sat, 20 Jan 2007 22:15:34 +0200

On Sat, Jan 20, 2007 at 06:33:17PM +0000, sindi keesan wrote:
> > It would work, but it will run these programs with essentially root
> > privileges meaning that it wouldn't be very sensible in multi-user setup
> > (in security sense). I don't think that BL was designed for security
> > (it runs as root as default) so it wouldn't be a big issue.
>
> Should I instead chmod +x, or u+x? (I don't think that worked).

To set set-user-id permission?

----
chmod +s
----

For dialling (as i figured out in last five minutes so it may be
inaccurate, but still worth trying):

----
cd /usr/sbin
chmod 4755 ppp-on ppp-off pppd
chmod 7755 /usr/bin/eznet
chown -R user's_name:user's_group /var/eznet
----

> I need the following to be 'user'-usable:

And they aren't currently "user-usable"? Ie, only "root-usable"?

> lpr already works for 'user' but not 'root'

Hmm. Try the following for lpr (more tinkering with permissions):

----
chown user's_name:user's group `which lpr`
chmod 4755 `which lpr`
----

> The user would be instructed to type user and then Enter instead of
> pressing Enter. In rc.d?

Standard intro-screen is located at /etc/issue (and called at the end of
/etc/rc)


Karolis




Archive powered by MHonArc 2.6.24.

Top of Page