Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Περιπέτειες για non-root accounts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Greek
View previous topic :: View next topic  
Author Message
The_Saint
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 108

PostPosted: Fri May 06, 2005 10:06 am    Post subject: Περιπέτειες για non-root accounts Reply with quote

Έτσι, από περιέργεια, την καθημερινή σας χρήση στο Gentoo την κάνετε από root ή από απλό λογαριασμό user;

Εγώ αποφάσισα για λόγους ασφαλείας να μην χρησιμοποιώ τον λογαριασμό root παρά μόνο αν είναι απολύτως απαραίτητο και αμέσως δυσκόλεψαν και οι πιο απλές λειτουργίες.

Για παράδειγμα, έφτιαξα ένα shortcut στο KDE για το floppy device. Όταν κάνω κλικ μου απαντάει "only root can mount". Έπαιξα με groups και δικαιώματα για ώρες αλλά δεν κατάφερα να διαβάσω το floppy. Το μόνο που κατάφερα είναι να κάνω su να το κάνω mount και να το διαβάζω ως root, αλλά δε μου αρέσει έτσι. Οι υπόλοιποι πώς το κάνετε;
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri May 06, 2005 12:21 pm    Post subject: Reply with quote

root mono gia na kanw compile to kernel, na proetimasw to bootloader i na kanw update to systima :)

Oso gia to floppy, cdrom kai lipa:

Sto /etc/fstab mporeis na valeis stis options: user, etsi den tha xriazete na eisai root.
Back to top
View user's profile Send private message
The_Saint
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 108

PostPosted: Fri May 06, 2005 2:42 pm    Post subject: Reply with quote

Ευχαριστώ. Θα το δοκιμάσω.
Πρέπει ο user να ανήκει στο floppy group;
Τι στην ευχή χρειάζεται το floppy group;
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri May 06, 2005 4:24 pm    Post subject: Reply with quote

The_Saint wrote:
Ευχαριστώ. Θα το δοκιμάσω.
Πρέπει ο user να ανήκει στο floppy group;
Τι στην ευχή χρειάζεται το floppy group;


Ama valeis user, kat'arxein oloi i users tha mporoune.
Back to top
View user's profile Send private message
The_Saint
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 108

PostPosted: Fri May 06, 2005 4:38 pm    Post subject: Reply with quote

Δούλεψε! Έκανα το ίδιο και για το CD-ROM και δούλεψε επίσης.
Ευχαριστώ πολύ.

Πάντως το ζήτημα των groups με παιδεύει ακόμα. Ξέρεις πού μπορώ να βρώ τί κάνουν τα groups cdrom, floppy, κλπ που ορίζει από μόνο του το Gentoo; Δεν έχω βρει documentation πουθενά για αυτά (και μερικά άλλα από την ίδια λίστα είναι πολύ περίεργα...)

Τελικά σε ποιά groups πρέπει να ανήκει ένας user για να δουλεύει άνετα στο σύστημα;
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri May 06, 2005 7:15 pm    Post subject: Reply with quote

users?
Back to top
View user's profile Send private message
parapente
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2003
Posts: 140
Location: Greece

PostPosted: Sun May 08, 2005 2:04 am    Post subject: Reply with quote

Ta groups pou exoun na kanoun me syskeues exoun oristei gia na mporeis na dineis ston xrhsh dikaiwma xrhshs ths syskeuhs. Px an den yposthrize to fstab thn leitourgia user tote 8a eprepe na eisai sto group floppy gia na thn kaneis mount. Epishs xreiazetai na eisai sto group floppy gia na mporeseis na formareis mia. Etsi einai kai ta ypoloipa apo ta group. Yparxoun bebaia kai kapoia groups apo programmata. Gi'auta ri3e mia matia sto documentation tou programmatos. Gia ola ta ypoloiap ri3e mia matia sto /dev.
Back to top
View user's profile Send private message
ksenos
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 164
Location: Athens, Greece

PostPosted: Sun May 08, 2005 10:09 am    Post subject: Reply with quote

Συνεπώς υπάρχει και κάποιο group που επιτρέπει την χρήση της κάρτας δικτύου? :P Τι εννόω... το ethereal για παράδειγμα πρέπει να το δουλεύω ως root για να κάνει capture.
_________________
Honor guide me...
Back to top
View user's profile Send private message
parapente
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2003
Posts: 140
Location: Greece

PostPosted: Sun May 08, 2005 7:33 pm    Post subject: Reply with quote

:D Dystyxws to ethereal den prokeitai na doulepsei para mono an to trexeis ws root. Kai auto giati prepei na mporei na balei thn karta diktyou se eidikh katastash gia na mporei na kanei sniff ta paketa. Kai mono ws root mporei na ginei kati tetoio apo oso 3erw.
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Thu May 12, 2005 7:57 pm    Post subject: Reply with quote

parapente wrote:
:D Dystyxws to ethereal den prokeitai na doulepsei para mono an to trexeis ws root. Kai auto giati prepei na mporei na balei thn karta diktyou se eidikh katastash gia na mporei na kanei sniff ta paketa. Kai mono ws root mporei na ginei kati tetoio apo oso 3erw.


Δοκίμασε το ettercap αν θέλεις ένα παρόμοιο πρόγραμμα που τρέχει με ncurses κι έχει πάρα πολλές δυνατότητες. Yπάρχει και flag - do not put ethernet in promisc mode :P
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Sun Jun 26, 2005 3:53 pm    Post subject: Reply with quote

ksenos wrote:
Συνεπώς υπάρχει και κάποιο group που επιτρέπει την χρήση της κάρτας δικτύου? :P Τι εννόω... το ethereal για παράδειγμα πρέπει να το δουλεύω ως root για να κάνει capture.


sudo ?
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
ksenos
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 164
Location: Athens, Greece

PostPosted: Mon Jun 27, 2005 5:12 pm    Post subject: Reply with quote

χωρίς sudo? :P
_________________
Honor guide me...
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Mon Jun 27, 2005 10:13 pm    Post subject: Reply with quote

Χωρίς sudo γίνεται με really ugly hacks και με κανένα ορθολογικό ασφαλές τρόπο. Το sudo το δημιουργίσανε για αυτόν τον λόγο.
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Greek All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum