You are not logged in.

#1 2012-10-29 16:50:34

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

any idea of how create a guest acount with sertain privileges?

I need create a "guest account" but not an guest acount...I mean a so-close-to-a-guest account"

the problem is that I need that the acount cannoth change the setting in my XFCE4, neiter add or remove applets or the bars, cappable of save and edit archives and move them to usb, able to mount external usb and umount with no-passwd but unable to mount internaly, the real problem is that at same time cappable of update the pacman database but unable to intall any package, only update the db

any idea how achive it??

PD: I forget, with no passw...Is a guest account after all


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#2 2012-10-29 16:53:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: any idea of how create a guest acount with sertain privileges?

I am not sure, but this thread may be of help.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-10-29 17:17:37

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: any idea of how create a guest acount with sertain privileges?

not entirelly of help, but give me an idea

probably if I change the permission to write to the spesific files containing the configs, in theory this prevent any change or update to the panels and others, but firs of all is...
any know how have a blacnk passwd for a specific user???


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#4 2012-10-29 19:12:03

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: any idea of how create a guest acount with sertain privileges?

Jristz wrote:

any know how have a blacnk passwd for a specific user???

A Google search brings up several examples.  I am not sure how relevant to your use case they will be though, you will need to check for yourself.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2012-10-30 18:22:08

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: any idea of how create a guest acount with sertain privileges?

loafer wrote:
Jristz wrote:

any know how have a blacnk passwd for a specific user???

A Google search brings up several examples.  I am not sure how relevant to your use case they will be though, you will need to check for yourself.

exept that many of these are from end-2011 and related to ubuntu, and in these cases they guys suggest using they built in accounts-creator/account-services in ubuntu/gnome (and I use LXDM/lightdm+xfce4), other not have a relation and other talk about configs in kde 3.5 ._. how none want a guest account, or talk about windows or OSX (10.5+)

PD: and and not forget that "google change result in function o your search history"
PD2: I found any talk about PAM but only mention it...


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#6 2012-10-30 19:01:01

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: any idea of how create a guest acount with sertain privileges?

I have many questions.

Jristz wrote:

the problem is that I need that the acount cannoth change the setting in my XFCE4, neiter add or remove applets or the bars

The only user that can change your XFCE settings is you. If you create a new user then they will have their own XFCE settings. Is that what you want?

cappable of save and edit archives and move them to usb, able to mount external usb and umount with no-passwd but unable to mount internaly

What kind of archives? Any user can create text files.

the real problem is that at same time cappable of update the pacman database but unable to intall any package, only update the db

If you don't trust the user to install or remove packages then why do you trust them to do an update?

with no passw

It appears to be "passwd -d the_username":

man passwd wrote:

-d This is a quick way to disable a password for an account. It will set the named account passwordless. Available to root only.

Offline

#7 2012-10-31 15:42:33

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: any idea of how create a guest acount with sertain privileges?

drcouzelis wrote:

I have many questions.

Jristz wrote:

the problem is that I need that the acount cannoth change the setting in my XFCE4, neiter add or remove applets or the bars

The only user that can change your XFCE settings is you. If you create a new user then they will have their own XFCE settings. Is that what you want?

More exactly, no accept change the look (applets position xfce4-panel possition) for the guest-user (because I need mae more "normal" for the guests, one panel, meny renamed to Start, you know, "normal", and prevent that another user change the configs)

cappable of save and edit archives and move them to usb, able to mount external usb and umount with no-passwd but unable to mount internaly

What kind of archives? Any user can create text files.

text archives (write, calc, impress,draw..but in UNIX all is a text archive Xp) and save compressed archives (Intended that the user save the archives and them move to the usb, and umount them, the umount restriction is to prevent umount my 12 partitions)

the real problem is that at same time cappable of update the pacman database but unable to intall any package, only update the db

If you don't trust the user to install or remove packages then why do you trust them to do an update?

Because I use USBmobile and the provider thend to redirect to they webpage past 2 or 3 hour (or minutes in the wost scenario, allready happen) and make ssl errors, download the pacman database, force the redirection correctly and reallow the normal internet to continue, intead of 100 failed (yes seriouly I the first time I lost one day in it and finaly figure that about pacman)  try because ssl, a simple pacman -Sy download,redirecto-3 times and download the database in ten secopns fat.

with no passw

It appears to be "passwd -d the_username":

man passwd wrote:

-d This is a quick way to disable a password for an account. It will set the named account passwordless. Available to root only.

I read about the PAM not allow this for logins else if nullok is added (again not mention where is supposed to write the nullok)




Ok: systemd-logind make 2 tricks that I cannot make in consolekit
Allow blanc passwd and prevent show other mountpoint else the allreaddi attached to the user session (aka usbs) and the pacman
the remain issues are permission to change appearance and permision to write only to usb and a specific folder and the pacman trick

Last edited by Jristz (2012-11-01 05:31:10)


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

Board footer

Powered by FluxBB